C# Класс OpenNI.Context

Наследование: ObjectWrapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
FreeObject ( IntPtr ptr, bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

AddLicense() публичный Метод

public AddLicense ( License license ) : void
license License
Результат void

Context() публичный Метод

public Context ( ) : System
Результат System

CreateAnyProductionTree() публичный Метод

public CreateAnyProductionTree ( NodeType type, OpenNI.Query query ) : OpenNI.ProductionNode
type NodeType
query OpenNI.Query
Результат OpenNI.ProductionNode

CreateFromXmlFile() публичный статический Метод

public static CreateFromXmlFile ( string xmlFile, OpenNI.ScriptNode &scriptNode ) : Context
xmlFile string
scriptNode OpenNI.ScriptNode
Результат Context

CreateProductionNodeFromNative() публичный статический Метод

public static CreateProductionNodeFromNative ( IntPtr nodeHandle ) : OpenNI.ProductionNode
nodeHandle System.IntPtr
Результат OpenNI.ProductionNode

CreateProductionTree() публичный Метод

public CreateProductionTree ( NodeInfo nodeInfo ) : OpenNI.ProductionNode
nodeInfo NodeInfo
Результат OpenNI.ProductionNode

EnumerateExistingNodes() публичный Метод

public EnumerateExistingNodes ( ) : NodeInfoList
Результат NodeInfoList

EnumerateExistingNodes() публичный Метод

public EnumerateExistingNodes ( NodeType type ) : NodeInfoList
type NodeType
Результат NodeInfoList

EnumerateLicenses() публичный Метод

public EnumerateLicenses ( ) : License[]
Результат License[]

EnumerateProductionTrees() публичный Метод

public EnumerateProductionTrees ( NodeType type ) : NodeInfoList
type NodeType
Результат NodeInfoList

EnumerateProductionTrees() публичный Метод

public EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
type NodeType
query Query
Результат NodeInfoList

FindExistingNode() публичный Метод

public FindExistingNode ( NodeType type ) : ProductionNode
type NodeType
Результат ProductionNode

FreeObject() защищенный Метод

protected FreeObject ( IntPtr ptr, bool disposing ) : void
ptr IntPtr
disposing bool
Результат void

FromNative() публичный статический Метод

Creates a managed Context object to wrap a native one.
public static FromNative ( IntPtr pContext ) : Context
pContext IntPtr A pointer to the native object
Результат Context

GetProductionNodeByName() публичный Метод

public GetProductionNodeByName ( string name ) : ProductionNode
name string
Результат ProductionNode

GetProductionNodeInfoByName() публичный Метод

public GetProductionNodeInfoByName ( string name ) : NodeInfo
name string
Результат NodeInfo

OpenFileRecordingEx() публичный Метод

public OpenFileRecordingEx ( string fileName ) : ProductionNode
fileName string
Результат ProductionNode

Release() публичный Метод

public Release ( ) : void
Результат void

RunXmlScriptEx() публичный Метод

public RunXmlScriptEx ( string xml ) : ScriptNode
xml string
Результат ScriptNode

RunXmlScriptFromFileEx() публичный Метод

public RunXmlScriptFromFileEx ( string xmlFile ) : ProductionNode
xmlFile string
Результат ProductionNode

StartGeneratingAll() публичный Метод

public StartGeneratingAll ( ) : void
Результат void

StopGeneratingAll() публичный Метод

public StopGeneratingAll ( ) : void
Результат void

WaitAndUpdateAll() публичный Метод

public WaitAndUpdateAll ( ) : void
Результат void

WaitAnyUpdateAll() публичный Метод

public WaitAnyUpdateAll ( ) : void
Результат void

WaitNoneUpdateAll() публичный Метод

public WaitNoneUpdateAll ( ) : void
Результат void

WaitOneUpdateAll() публичный Метод

public WaitOneUpdateAll ( Generator node ) : void
node Generator
Результат void