C# Class xn.Context

Inheritance: ObjectWrapper
ファイルを表示 Open project: roxlu/OpenNI Class Usage Examples

Public Methods

Method Description
AddLicense ( License license ) : void
Context ( ) : System
Context ( string xmlFile ) : System
CreateAnyProductionTree ( NodeType type, Query query ) : ProductionNode
CreateProductionNodeFromNative ( IntPtr hNodeHandle ) : ProductionNode
CreateProductionTree ( NodeInfo nodeInfo ) : ProductionNode
EnumerateExistingNodes ( ) : NodeInfoList
EnumerateExistingNodes ( NodeType type ) : NodeInfoList
EnumerateLicenses ( ) : License[]
EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
FindExistingNode ( NodeType type ) : ProductionNode
FromNative ( IntPtr pContext ) : Context

Creates a managed Context object to wrap a native one.

GetGlobalErrorState ( ) : string

Gets the global error state.

GetGlobalMirror ( ) : bool
GetProductionNodeByName ( string name ) : ProductionNode
GetProductionNodeInfoByName ( string name ) : NodeInfo
OpenFileRecording ( string fileName ) : void
RunXmlScript ( string xml ) : void
RunXmlScriptFromFile ( string xmlFile ) : void
SetGlobalMirror ( bool mirror ) : void
Shutdown ( ) : void
StartGeneratingAll ( ) : void
StopGeneratingAll ( ) : void
WaitAndUpdateAll ( ) : void
WaitAnyUpdateAll ( ) : void
WaitNoneUpdateAll ( ) : void
WaitOneUpdateAll ( Generator node ) : void

Protected Methods

Method Description
FreeObject ( IntPtr ptr ) : void

Private Methods

Method Description
Context ( IntPtr pContext ) : System
CreateAnyProductionTreeImpl ( NodeType type, Query query ) : IntPtr
CreateProductionNodeObject ( IntPtr nodeHandle ) : ProductionNode
CreateProductionNodeObject ( IntPtr nodeHandle, NodeType type ) : ProductionNode
ErrorStateChangedCallback ( UInt32 status, IntPtr cookie ) : void
Init ( ) : IntPtr
InitFromXml ( string xmlFile ) : IntPtr

Method Details

AddLicense() public method

public AddLicense ( License license ) : void
license License
return void

Context() public method

public Context ( ) : System
return System

Context() public method

public Context ( string xmlFile ) : System
xmlFile string
return System

CreateAnyProductionTree() public method

public CreateAnyProductionTree ( NodeType type, Query query ) : ProductionNode
type NodeType
query Query
return ProductionNode

CreateProductionNodeFromNative() public static method

public static CreateProductionNodeFromNative ( IntPtr hNodeHandle ) : ProductionNode
hNodeHandle System.IntPtr
return ProductionNode

CreateProductionTree() public method

public CreateProductionTree ( NodeInfo nodeInfo ) : ProductionNode
nodeInfo NodeInfo
return ProductionNode

EnumerateExistingNodes() public method

public EnumerateExistingNodes ( ) : NodeInfoList
return NodeInfoList

EnumerateExistingNodes() public method

public EnumerateExistingNodes ( NodeType type ) : NodeInfoList
type NodeType
return NodeInfoList

EnumerateLicenses() public method

public EnumerateLicenses ( ) : License[]
return License[]

EnumerateProductionTrees() public method

public EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
type NodeType
query Query
return NodeInfoList

FindExistingNode() public method

public FindExistingNode ( NodeType type ) : ProductionNode
type NodeType
return ProductionNode

FreeObject() protected method

protected FreeObject ( IntPtr ptr ) : void
ptr System.IntPtr
return void

FromNative() public static method

Creates a managed Context object to wrap a native one.
public static FromNative ( IntPtr pContext ) : Context
pContext System.IntPtr A pointer to the native object
return Context

GetGlobalErrorState() public method

Gets the global error state.
public GetGlobalErrorState ( ) : string
return string

GetGlobalMirror() public method

public GetGlobalMirror ( ) : bool
return bool

GetProductionNodeByName() public method

public GetProductionNodeByName ( string name ) : ProductionNode
name string
return ProductionNode

GetProductionNodeInfoByName() public method

public GetProductionNodeInfoByName ( string name ) : NodeInfo
name string
return NodeInfo

OpenFileRecording() public method

public OpenFileRecording ( string fileName ) : void
fileName string
return void

RunXmlScript() public method

public RunXmlScript ( string xml ) : void
xml string
return void

RunXmlScriptFromFile() public method

public RunXmlScriptFromFile ( string xmlFile ) : void
xmlFile string
return void

SetGlobalMirror() public method

public SetGlobalMirror ( bool mirror ) : void
mirror bool
return void

Shutdown() public method

public Shutdown ( ) : void
return void

StartGeneratingAll() public method

public StartGeneratingAll ( ) : void
return void

StopGeneratingAll() public method

public StopGeneratingAll ( ) : void
return void

WaitAndUpdateAll() public method

public WaitAndUpdateAll ( ) : void
return void

WaitAnyUpdateAll() public method

public WaitAnyUpdateAll ( ) : void
return void

WaitNoneUpdateAll() public method

public WaitNoneUpdateAll ( ) : void
return void

WaitOneUpdateAll() public method

public WaitOneUpdateAll ( Generator node ) : void
node Generator
return void