C# Class xn.Player

Inheritance: ProductionNode
显示文件 Open project: roxlu/OpenNI

Public Methods

Method Description
EnumerateNodes ( ) : NodeInfoList
GetNumFrames ( ProductionNode node ) : UInt32
GetNumFrames ( string nodeName ) : UInt32
GetPlaybackSpeed ( ) : double
GetSource ( RecordMedium &medium ) : string
GetSupportedFormat ( ) : string
IsEOF ( ) : bool
Player ( Context context, string formatName ) : System
ReadNext ( ) : void
SeekToFrame ( ProductionNode node, Int32 frameOffset, PlayerSeekOrigin origin ) : void
SeekToFrame ( string nodeName, Int32 frameOffset, PlayerSeekOrigin origin ) : void
SeekToTimestamp ( System.Int64 timeOffset, PlayerSeekOrigin origin ) : void
SetPlaybackSpeed ( double dSpeed ) : void
SetRepeat ( bool repeat ) : void
SetSource ( RecordMedium medium, string source ) : void
TellFrame ( ProductionNode node ) : UInt32
TellFrame ( string nodeName ) : UInt32
TellTimestamp ( ) : System.UInt64

Private Methods

Method Description
Create ( Context context, string formatName ) : IntPtr
Player ( IntPtr nodeHandle, bool addRef ) : System

Method Details

EnumerateNodes() public method

public EnumerateNodes ( ) : NodeInfoList
return NodeInfoList

GetNumFrames() public method

public GetNumFrames ( ProductionNode node ) : UInt32
node ProductionNode
return System.UInt32

GetNumFrames() public method

public GetNumFrames ( string nodeName ) : UInt32
nodeName string
return System.UInt32

GetPlaybackSpeed() public method

public GetPlaybackSpeed ( ) : double
return double

GetSource() public method

public GetSource ( RecordMedium &medium ) : string
medium RecordMedium
return string

GetSupportedFormat() public method

public GetSupportedFormat ( ) : string
return string

IsEOF() public method

public IsEOF ( ) : bool
return bool

Player() public method

public Player ( Context context, string formatName ) : System
context Context
formatName string
return System

ReadNext() public method

public ReadNext ( ) : void
return void

SeekToFrame() public method

public SeekToFrame ( ProductionNode node, Int32 frameOffset, PlayerSeekOrigin origin ) : void
node ProductionNode
frameOffset System.Int32
origin PlayerSeekOrigin
return void

SeekToFrame() public method

public SeekToFrame ( string nodeName, Int32 frameOffset, PlayerSeekOrigin origin ) : void
nodeName string
frameOffset System.Int32
origin PlayerSeekOrigin
return void

SeekToTimestamp() public method

public SeekToTimestamp ( System.Int64 timeOffset, PlayerSeekOrigin origin ) : void
timeOffset System.Int64
origin PlayerSeekOrigin
return void

SetPlaybackSpeed() public method

public SetPlaybackSpeed ( double dSpeed ) : void
dSpeed double
return void

SetRepeat() public method

public SetRepeat ( bool repeat ) : void
repeat bool
return void

SetSource() public method

public SetSource ( RecordMedium medium, string source ) : void
medium RecordMedium
source string
return void

TellFrame() public method

public TellFrame ( ProductionNode node ) : UInt32
node ProductionNode
return System.UInt32

TellFrame() public method

public TellFrame ( string nodeName ) : UInt32
nodeName string
return System.UInt32

TellTimestamp() public method

public TellTimestamp ( ) : System.UInt64
return System.UInt64