#include <XnModuleInterface.h>
Public Attributes | |
| void(* | GetDescription )(XnProductionNodeDescription *pDescription) |
| XnStatus(* | EnumerateProductionTrees )(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors) |
| XnStatus(* | Create )(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance) |
| void(* | Destroy )(XnModuleNodeHandle hInstance) |
| union { | |
| void(* ProductionNode )(struct XnModuleProductionNodeInterface *pInterface) | |
| void(* Device )(struct XnModuleDeviceInterface *pInterface) | |
| void(* Generator )(struct XnModuleGeneratorInterface *pInterface) | |
| void(* MapGenerator )(struct XnModuleMapGeneratorInterface *pInterface) | |
| void(* Depth )(struct XnModuleDepthGeneratorInterface *pInterface) | |
| void(* Image )(struct XnModuleImageGeneratorInterface *pInterface) | |
| void(* IR )(struct XnModuleIRGeneratorInterface *pInterface) | |
| void(* User )(struct XnModuleUserGeneratorInterface *pInterface) | |
| void(* Hands )(struct XnModuleHandsGeneratorInterface *pInterace) | |
| void(* Gesture )(struct XnModuleGestureGeneratorInterface *pInterface) | |
| void(* Scene )(struct XnModuleSceneAnalyzerInterface *pInterface) | |
| void(* Audio )(struct XnModuleAudioGeneratorInterface *pInterface) | |
| void(* Recorder )(struct XnModuleRecorderInterface *pInterface) | |
| void(* Player )(struct XnModulePlayerInterface *pInterface) | |
| void(* Codec )(struct XnModuleCodecInterface *pInterface) | |
| void(* General )(void *pInterface) | |
| } | GetInterface |
| void( * XnModuleExportedProductionNodeInterface::Audio)(struct XnModuleAudioGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Codec)(struct XnModuleCodecInterface *pInterface) |
| XnStatus( * XnModuleExportedProductionNodeInterface::Create)(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance) |
Creates an instance of this generator.
| pContext | [in] Current OpenNI context | |
| strInstanceName | [in] The name of this new instance. | |
| strCreationInfo | [in] Optional creation info (returned from enumeration). | |
| pNeededNodes | [in] A list of inputs for this generator. | |
| strConfigurationDir | [in] The module configuration dir, or NULL if it doesn't have one. | |
| phInstance | [out] A handle to the created instance. |
| void( * XnModuleExportedProductionNodeInterface::Depth)(struct XnModuleDepthGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Destroy)(XnModuleNodeHandle hInstance) |
Destroys an instance previously created using Create().
| hGenerator | [in] A handle to the instance to be destroyed. |
| void( * XnModuleExportedProductionNodeInterface::Device)(struct XnModuleDeviceInterface *pInterface) |
| XnStatus( * XnModuleExportedProductionNodeInterface::EnumerateProductionTrees)(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors) |
Find all tree possibilities for this production node.
| pContext | [in] Current OpenNI context | |
| pNodesList | [in] A list to be filled with production trees. | |
| pErrors | [in] Optional. An enumeration errors object to be passed to enumeration functions. |
| void( * XnModuleExportedProductionNodeInterface::General)(void *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Generator)(struct XnModuleGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Gesture)(struct XnModuleGestureGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::GetDescription)(XnProductionNodeDescription *pDescription) |
Gets a description of this generator.
| pDescription | [in/out] A struct to be filled with the description. |
| union { ... } XnModuleExportedProductionNodeInterface::GetInterface |
Fills a struct with the entire interface exported. The type of the struct passed to this function is determined according to the type this production node declares itself. For example, a depth generator will be passed a pointer to a XnModuleDepthGeneratorInterface struct.
| pInterface | [in/out] A pointer to a struct to be filled. |
| void( * XnModuleExportedProductionNodeInterface::Hands)(struct XnModuleHandsGeneratorInterface *pInterace) |
| void( * XnModuleExportedProductionNodeInterface::Image)(struct XnModuleImageGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::IR)(struct XnModuleIRGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::MapGenerator)(struct XnModuleMapGeneratorInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Player)(struct XnModulePlayerInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::ProductionNode)(struct XnModuleProductionNodeInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Recorder)(struct XnModuleRecorderInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::Scene)(struct XnModuleSceneAnalyzerInterface *pInterface) |
| void( * XnModuleExportedProductionNodeInterface::User)(struct XnModuleUserGeneratorInterface *pInterface) |
1.6.3