C# Class xn.Context

Inheritance: ObjectWrapper
Afficher le fichier Open project: roxlu/OpenNI Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
FreeObject ( IntPtr ptr ) : void

Private Methods

Méthode 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 méthode

public AddLicense ( License license ) : void
license License
Résultat void

Context() public méthode

public Context ( ) : System
Résultat System

Context() public méthode

public Context ( string xmlFile ) : System
xmlFile string
Résultat System

CreateAnyProductionTree() public méthode

public CreateAnyProductionTree ( NodeType type, Query query ) : ProductionNode
type NodeType
query Query
Résultat ProductionNode

CreateProductionNodeFromNative() public static méthode

public static CreateProductionNodeFromNative ( IntPtr hNodeHandle ) : ProductionNode
hNodeHandle System.IntPtr
Résultat ProductionNode

CreateProductionTree() public méthode

public CreateProductionTree ( NodeInfo nodeInfo ) : ProductionNode
nodeInfo NodeInfo
Résultat ProductionNode

EnumerateExistingNodes() public méthode

public EnumerateExistingNodes ( ) : NodeInfoList
Résultat NodeInfoList

EnumerateExistingNodes() public méthode

public EnumerateExistingNodes ( NodeType type ) : NodeInfoList
type NodeType
Résultat NodeInfoList

EnumerateLicenses() public méthode

public EnumerateLicenses ( ) : License[]
Résultat License[]

EnumerateProductionTrees() public méthode

public EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
type NodeType
query Query
Résultat NodeInfoList

FindExistingNode() public méthode

public FindExistingNode ( NodeType type ) : ProductionNode
type NodeType
Résultat ProductionNode

FreeObject() protected méthode

protected FreeObject ( IntPtr ptr ) : void
ptr System.IntPtr
Résultat void

FromNative() public static méthode

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
Résultat Context

GetGlobalErrorState() public méthode

Gets the global error state.
public GetGlobalErrorState ( ) : string
Résultat string

GetGlobalMirror() public méthode

public GetGlobalMirror ( ) : bool
Résultat bool

GetProductionNodeByName() public méthode

public GetProductionNodeByName ( string name ) : ProductionNode
name string
Résultat ProductionNode

GetProductionNodeInfoByName() public méthode

public GetProductionNodeInfoByName ( string name ) : NodeInfo
name string
Résultat NodeInfo

OpenFileRecording() public méthode

public OpenFileRecording ( string fileName ) : void
fileName string
Résultat void

RunXmlScript() public méthode

public RunXmlScript ( string xml ) : void
xml string
Résultat void

RunXmlScriptFromFile() public méthode

public RunXmlScriptFromFile ( string xmlFile ) : void
xmlFile string
Résultat void

SetGlobalMirror() public méthode

public SetGlobalMirror ( bool mirror ) : void
mirror bool
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

StartGeneratingAll() public méthode

public StartGeneratingAll ( ) : void
Résultat void

StopGeneratingAll() public méthode

public StopGeneratingAll ( ) : void
Résultat void

WaitAndUpdateAll() public méthode

public WaitAndUpdateAll ( ) : void
Résultat void

WaitAnyUpdateAll() public méthode

public WaitAnyUpdateAll ( ) : void
Résultat void

WaitNoneUpdateAll() public méthode

public WaitNoneUpdateAll ( ) : void
Résultat void

WaitOneUpdateAll() public méthode

public WaitOneUpdateAll ( Generator node ) : void
node Generator
Résultat void