OpenNI 1.3.2
Public Member Functions
xn::DepthGenerator Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::DepthGenerator:
Inheritance graph

List of all members.

Public Member Functions

 DepthGenerator (XnNodeHandle hNode=NULL)
 DepthGenerator (const NodeWrapper &other)
void GetMetaData (DepthMetaData &metaData) const
const XnDepthPixelGetDepthMap () const
XnDepthPixel GetDeviceMaxDepth () const
XnStatus GetFieldOfView (XnFieldOfView &FOV) const
XnStatus RegisterToFieldOfViewChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
void UnregisterFromFieldOfViewChange (XnCallbackHandle hCallback)
XnStatus ConvertProjectiveToRealWorld (XnUInt32 nCount, const XnPoint3D aProjective[], XnPoint3D aRealWorld[]) const
XnStatus ConvertRealWorldToProjective (XnUInt32 nCount, const XnPoint3D aRealWorld[], XnPoint3D aProjective[]) const
const UserPositionCapability GetUserPositionCap () const
UserPositionCapability GetUserPositionCap ()
XnStatus Create (Context &context, Query *pQuery=NULL, EnumerationErrors *pErrors=NULL)
- Public Member Functions inherited from xn::MapGenerator
 MapGenerator (XnNodeHandle hNode=NULL)
 MapGenerator (const NodeWrapper &other)
XnUInt32 GetSupportedMapOutputModesCount () const
XnStatus GetSupportedMapOutputModes (XnMapOutputMode *aModes, XnUInt32 &nCount) const
XnStatus SetMapOutputMode (const XnMapOutputMode &OutputMode)
XnStatus GetMapOutputMode (XnMapOutputMode &OutputMode) const
XnUInt32 GetBytesPerPixel () const
XnStatus RegisterToMapOutputModeChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
void UnregisterFromMapOutputModeChange (XnCallbackHandle hCallback)
const CroppingCapability GetCroppingCap () const
CroppingCapability GetCroppingCap ()
GeneralIntCapability GetBrightnessCap ()
GeneralIntCapability GetContrastCap ()
GeneralIntCapability GetHueCap ()
GeneralIntCapability GetSaturationCap ()
GeneralIntCapability GetSharpnessCap ()
GeneralIntCapability GetGammaCap ()
GeneralIntCapability GetWhiteBalanceCap ()
GeneralIntCapability GetBacklightCompensationCap ()
GeneralIntCapability GetGainCap ()
GeneralIntCapability GetPanCap ()
GeneralIntCapability GetTiltCap ()
GeneralIntCapability GetRollCap ()
GeneralIntCapability GetZoomCap ()
GeneralIntCapability GetExposureCap ()
GeneralIntCapability GetIrisCap ()
GeneralIntCapability GetFocusCap ()
GeneralIntCapability GetLowLightCompensationCap ()
AntiFlickerCapability GetAntiFlickerCap ()
- Public Member Functions inherited from xn::Generator
 Generator (XnNodeHandle hNode=NULL)
 Generator (const NodeWrapper &other)
XnStatus StartGenerating ()
XnBool IsGenerating () const
XnStatus StopGenerating ()
XnStatus RegisterToGenerationRunningChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
void UnregisterFromGenerationRunningChange (XnCallbackHandle hCallback)
XnStatus RegisterToNewDataAvailable (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
void UnregisterFromNewDataAvailable (XnCallbackHandle hCallback)
XnBool IsNewDataAvailable (XnUInt64 *pnTimestamp=NULL) const
XnStatus WaitAndUpdateData ()
XnBool IsDataNew () const
const void * GetData ()
XnUInt32 GetDataSize () const
XnUInt64 GetTimestamp () const
XnUInt32 GetFrameID () const
const MirrorCapability GetMirrorCap () const
MirrorCapability GetMirrorCap ()
const
AlternativeViewPointCapability 
GetAlternativeViewPointCap () const
AlternativeViewPointCapability GetAlternativeViewPointCap ()
const FrameSyncCapability GetFrameSyncCap () const
FrameSyncCapability GetFrameSyncCap ()
- Public Member Functions inherited from xn::ProductionNode
 ProductionNode (XnNodeHandle hNode=NULL)
 ProductionNode (const NodeWrapper &other)
NodeInfo GetInfo () const
XnStatus AddNeededNode (ProductionNode &needed)
XnStatus RemoveNeededNode (ProductionNode &needed)
XnBool IsCapabilitySupported (const XnChar *strCapabilityName) const
XnStatus SetIntProperty (const XnChar *strName, XnUInt64 nValue)
XnStatus SetRealProperty (const XnChar *strName, XnDouble dValue)
XnStatus SetStringProperty (const XnChar *strName, const XnChar *strValue)
XnStatus SetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
XnStatus GetIntProperty (const XnChar *strName, XnUInt64 &nValue) const
XnStatus GetRealProperty (const XnChar *strName, XnDouble &dValue) const
XnStatus GetStringProperty (const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize) const
XnStatus GetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer) const
XnStatus LockForChanges (XnLockHandle *phLock)
void UnlockForChanges (XnLockHandle hLock)
XnStatus LockedNodeStartChanges (XnLockHandle hLock)
void LockedNodeEndChanges (XnLockHandle hLock)
const ErrorStateCapability GetErrorStateCap () const
ErrorStateCapability GetErrorStateCap ()
GeneralIntCapability GetGeneralIntCap (const XnChar *strCapability)
void GetContext (Context &context) const
- Public Member Functions inherited from xn::NodeWrapper
 NodeWrapper (XnNodeHandle hNode)
 NodeWrapper (const NodeWrapper &other)
NodeWrapperoperator= (const NodeWrapper &other)
 ~NodeWrapper ()
 operator XnNodeHandle () const
XnNodeHandle GetHandle () const
XnBool operator== (const NodeWrapper &other)
XnBool operator!= (const NodeWrapper &other)
XnBool IsValid () const
const XnChar * GetName () const
XnStatus AddRef ()
void Release ()
XnStatus Ref ()
void Unref ()
void SetHandle (XnNodeHandle hNode)
void TakeOwnership (XnNodeHandle hNode)

Detailed Description

Represents a depth generator.


Constructor & Destructor Documentation

xn::DepthGenerator::DepthGenerator ( XnNodeHandle  hNode = NULL)
inline

Ctor

Parameters:
hNode[in] Node handle
xn::DepthGenerator::DepthGenerator ( const NodeWrapper other)
inline

Member Function Documentation

XnStatus xn::DepthGenerator::ConvertProjectiveToRealWorld ( XnUInt32  nCount,
const XnPoint3D  aProjective[],
XnPoint3D  aRealWorld[] 
) const
inline

Converts a list of points from projective coordinates to real world coordinates. For full details and usage, see xnConvertProjectiveToRealWorld

XnStatus xn::DepthGenerator::ConvertRealWorldToProjective ( XnUInt32  nCount,
const XnPoint3D  aRealWorld[],
XnPoint3D  aProjective[] 
) const
inline

Converts a list of points from projective coordinates to real world coordinates. For full details and usage, see xnConvertRealWorldToProjective

XnStatus xn::DepthGenerator::Create ( Context context,
Query pQuery = NULL,
EnumerationErrors pErrors = NULL 
)
inline

Creates a depth generator. For full details and usage, see xnCreateDepthGenerator

const XnDepthPixel* xn::DepthGenerator::GetDepthMap ( ) const
inline

Gets the current depth-map. This map is updated after a call to xnWaitAndUpdateData(). For full details and usage, see xnGetDepthMap

XnDepthPixel xn::DepthGenerator::GetDeviceMaxDepth ( ) const
inline

Gets the maximum depth the device can produce. For full details and usage, see xnGetDeviceMaxDepth

XnStatus xn::DepthGenerator::GetFieldOfView ( XnFieldOfView FOV) const
inline

Gets the Field-Of-View of the depth generator, in radians. For full details and usage, see xnGetDepthFieldOfView

void xn::DepthGenerator::GetMetaData ( DepthMetaData metaData) const
inline

Gets the current depth-map meta data. For full details and usage, see xnGetDepthMetaData

const UserPositionCapability xn::DepthGenerator::GetUserPositionCap ( ) const
inline

Gets an UserPositionCapability object for accessing User Position functionality. It is the application responsibility to check first if XN_CAPABILITY_USER_POSITION is supported by calling IsCapabilitySupported().

UserPositionCapability xn::DepthGenerator::GetUserPositionCap ( )
inline

Gets an UserPositionCapability object for accessing User Position functionality. It is the application responsibility to check first if XN_CAPABILITY_USER_POSITION is supported by calling IsCapabilitySupported().

XnStatus xn::DepthGenerator::RegisterToFieldOfViewChange ( StateChangedHandler  handler,
void *  pCookie,
XnCallbackHandle hCallback 
)
inline

Registers a callback function to field of view changes. For full details and usage, see xnRegisterToDepthFieldOfViewChange

void xn::DepthGenerator::UnregisterFromFieldOfViewChange ( XnCallbackHandle  hCallback)
inline

Unregisters a callback function which was registered using xnRegisterToDepthFieldOfViewChange. For full details and usage, see xnUnregisterFromDepthFieldOfViewChange


The documentation for this class was generated from the following file: