OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Public Member Functions | |
Player (XnNodeHandle hNode=NULL) | |
Player (const NodeWrapper &other) | |
XnStatus | SetRepeat (XnBool bRepeat) |
XnStatus | SetSource (XnRecordMedium sourceType, const XnChar *strSource) |
XnStatus | GetSource (XnRecordMedium &sourceType, XnChar *strSource, XnUInt32 nBufSize) const |
XnStatus | ReadNext () |
XnStatus | SeekToTimeStamp (XnInt64 nTimeOffset, XnPlayerSeekOrigin origin) |
XnStatus | SeekToFrame (const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin) |
XnStatus | TellTimestamp (XnUInt64 &nTimestamp) const |
XnStatus | TellFrame (const XnChar *strNodeName, XnUInt32 &nFrame) const |
XnStatus | GetNumFrames (const XnChar *strNodeName, XnUInt32 &nFrames) const |
const XnChar * | GetSupportedFormat () const |
XnStatus | EnumerateNodes (NodeInfoList &list) const |
XnBool | IsEOF () const |
XnStatus | RegisterToEndOfFileReached (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromEndOfFileReached (XnCallbackHandle hCallback) |
XnStatus | SetPlaybackSpeed (XnDouble dSpeed) |
XnDouble | GetPlaybackSpeed () const |
XnStatus | Create (Context &context, const XnChar *strFormatName) |
![]() | |
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 |
![]() | |
NodeWrapper (XnNodeHandle hNode) | |
NodeWrapper (const NodeWrapper &other) | |
NodeWrapper & | operator= (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) |
Represents a Player node
|
inline |
Ctor
hNode | [in] Player node handle |
|
inline |
Creates a player. For full details and usage, see xnCreatePlayer
|
inline |
Retrieves a list of the nodes played by a player. For full details and usage, see xnEnumeratePlayerNodes
|
inline |
Retrieves the number of frames of a specific node played by a player. For full details and usage, see xnGetPlayerNumFrames
|
inline |
Gets the playback speed. see xnSetPlaybackSpeed() for more details. For full details and usage, see xnGetPlaybackSpeed
|
inline |
Gets the player's source, i.e where the played events come from. For full details and usage, see xnGetPlayerSource
|
inline |
Gets the name of the format supported by a player. For full details and usage, see xnGetPlayerSupportedFormat
|
inline |
Checks whether the player is at the end-of-file marker. For full details and usage, see xnIsPlayerAtEOF
|
inline |
Reads the next data element from the player. For full details and usage, see xnPlayerReadNext
|
inline |
Registers a callback function to be called when end-of-file is reached. For full details and usage, see xnRegisterToEndOfFileReached
|
inline |
Seeks the player to a specific frame of a specific played node, so that playing will continue from that frame onwards. For full details and usage, see xnSeekPlayerToFrame
|
inline |
Seeks the player to a specific timestamp, so that playing will continue from that point onwards. For full details and usage, see xnSeekPlayerToTimeStamp
|
inline |
Sets the playback speed, as a ratio of the time passed in the recording. A value of 1.0 means the player will try to output frames in the rate they were recorded (according to their timestamps). A value bigger than 1.0 means fast-forward, and a value between 0.0 and 1.0 means slow-motion. The special value of XN_PLAYBACK_SPEED_FASTEST (0.0) means there will be no delay, and that frames will be returned as soon as asked for. For full details and usage, see xnSetPlaybackSpeed
|
inline |
Determines whether the player will automatically rewind to the beginning of the recording when reaching the end. For full details and usage, see xnSetPlayerRepeat
|
inline |
Sets the source for the player, i.e. where the played events will come from. For full details and usage, see xnSetPlayerSource
|
inline |
Reports the current frame number of a specific node played by a player. For full details and usage, see xnTellPlayerFrame
|
inline |
Reports the current timestamp of a player, i.e. the amount of time passed since the beginning of the recording. For full details and usage, see xnTellPlayerTimestamp
|
inline |
Unregisters a callback function which was registered using xnRegisterToEndOfFileReached(). For full details and usage, see xnUnregisterFromEndOfFileReached