#include <XnCppWrapper.h>
Public Member Functions | |
Recorder (XnNodeHandle hNode=NULL) | |
XnStatus | SetDestination (XnRecordMedium destType, const XnChar *strDest) |
XnStatus | AddNodeToRecording (ProductionNode &Node, XnCodecID compression=XN_CODEC_NULL) |
XnStatus | RemoveNodeFromRecording (ProductionNode &Node) |
XnStatus | Record () |
XnStatus | Create (Context &context, const XnChar *strFormatName) |
Represents a Recorder node
xn::Recorder::Recorder | ( | XnNodeHandle | hNode = NULL |
) | [inline] |
Ctor
hNode | [in] A node handle |
XnStatus xn::Recorder::AddNodeToRecording | ( | ProductionNode & | Node, | |
XnCodecID | compression = XN_CODEC_NULL | |||
) | [inline] |
Adds a node to recording and start recording it. This function must be called on each node that is to be recorded with this recorder.
For full details and usage, see xnAddNodeToRecordingCreates a recorder.
For full details and usage, see xnCreateRecorderXnStatus xn::Recorder::Record | ( | ) | [inline] |
Records one frame of data from each node that was added to the recorder with xnAddNodeToRecording.
For full details and usage, see xnRecordXnStatus xn::Recorder::RemoveNodeFromRecording | ( | ProductionNode & | Node | ) | [inline] |
Removes node from recording and stop recording it. This function can be called on a node that was added to recording with xnAddNodeToRecording.
For full details and usage, see xnRemoveNodeFromRecordingXnStatus xn::Recorder::SetDestination | ( | XnRecordMedium | destType, | |
const XnChar * | strDest | |||
) | [inline] |
Tells the recorder where to record.
For full details and usage, see xnSetRecorderDestination