C# Class OpenNI.Context

Inheritance: ObjectWrapper
ファイルを表示 Open project: jspricke/debian-openni Class Usage Examples

Public Methods

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

Creates a managed Context object to wrap a native one.

GetProductionNodeByName ( string name ) : ProductionNode
GetProductionNodeInfoByName ( string name ) : NodeInfo
OpenFileRecordingEx ( string fileName ) : ProductionNode
Release ( ) : void
RunXmlScriptEx ( string xml ) : ScriptNode
RunXmlScriptFromFileEx ( string xmlFile ) : ProductionNode
StartGeneratingAll ( ) : void
StopGeneratingAll ( ) : void
WaitAndUpdateAll ( ) : void
WaitAnyUpdateAll ( ) : void
WaitNoneUpdateAll ( ) : void
WaitOneUpdateAll ( Generator node ) : void

Protected Methods

Method Description
FreeObject ( IntPtr ptr, bool disposing ) : void

Private Methods

Method Description
Context ( IntPtr pContext ) : System
Context ( IntPtr pContext, bool addRef ) : System
Context ( string xmlFile ) : System
CreateAnyProductionTreeImpl ( NodeType type, OpenNI.Query query ) : IntPtr
CreateProductionNodeObject ( IntPtr nodeHandle ) : OpenNI.ProductionNode
CreateProductionNodeObject ( IntPtr nodeHandle, NodeType type ) : OpenNI.ProductionNode
ErrorStateChangedCallback ( Int32 status, IntPtr cookie ) : void
Init ( ) : IntPtr
InitFromXml ( string xmlFile ) : IntPtr
InitFromXmlEx ( string xmlFile, IntPtr &hScriptNode ) : IntPtr
NodeCreationCallback ( IntPtr pContext, IntPtr hCreatedNode, IntPtr pCookie ) : void
NodeDestructionCallback ( IntPtr pContext, string strDestroyedNodeName, IntPtr pCookie ) : void
OnContextShuttingDown ( IntPtr pContext, IntPtr pCookie ) : void
OpenFileRecording ( string fileName ) : void
RemoveContext ( IntPtr pContext ) : void
RunXmlScript ( string xml ) : void
RunXmlScriptFromFile ( string xmlFile ) : void
Shutdown ( ) : void

Method Details

AddLicense() public method

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

Context() public method

public Context ( ) : System
return System

CreateAnyProductionTree() public method

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

CreateFromXmlFile() public static method

public static CreateFromXmlFile ( string xmlFile, OpenNI.ScriptNode &scriptNode ) : Context
xmlFile string
scriptNode OpenNI.ScriptNode
return Context

CreateProductionNodeFromNative() public static method

public static CreateProductionNodeFromNative ( IntPtr nodeHandle ) : OpenNI.ProductionNode
nodeHandle System.IntPtr
return OpenNI.ProductionNode

CreateProductionTree() public method

public CreateProductionTree ( NodeInfo nodeInfo ) : OpenNI.ProductionNode
nodeInfo NodeInfo
return OpenNI.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 ) : NodeInfoList
type NodeType
return NodeInfoList

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, bool disposing ) : void
ptr IntPtr
disposing bool
return void

FromNative() public static method

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

GetProductionNodeByName() public method

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

GetProductionNodeInfoByName() public method

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

OpenFileRecordingEx() public method

public OpenFileRecordingEx ( string fileName ) : ProductionNode
fileName string
return ProductionNode

Release() public method

public Release ( ) : void
return void

RunXmlScriptEx() public method

public RunXmlScriptEx ( string xml ) : ScriptNode
xml string
return ScriptNode

RunXmlScriptFromFileEx() public method

public RunXmlScriptFromFileEx ( string xmlFile ) : ProductionNode
xmlFile string
return ProductionNode

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