#include <XnCppWrapper.h>
List of all members.
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) |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Retrieves the number of frames of a specific node played by a player.
For full details and usage, see
xnGetPlayerNumFrames
Gets the player's source, i.e where the played events come from.
For full details and usage, see
xnGetPlayerSource
Checks whether the player is at the end-of-file marker.
For full details and usage, see
xnIsPlayerAtEOF
Reads the next data element from the player.
For full details and usage, see
xnPlayerReadNext
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
Seeks the player to a specific timestamp, so that playing will continue from that point onwards.
For full details and usage, see
xnSeekPlayerToTimeStamp
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
Determines whether the player will automatically rewind to the beginning of the recording when reaching the end.
For full details and usage, see
xnSetPlayerRepeat
Sets the source for the player, i.e. where the played events will come from.
For full details and usage, see
xnSetPlayerSource
Reports the current frame number of a specific node played by a player.
For full details and usage, see
xnTellPlayerFrame
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
The documentation for this class was generated from the following file: