Public Member Functions | |
void | OnPointCreate (const XnVHandPointContext *cxt) |
void | OnPointDestroy (XnUInt32 nID) |
void | OnPointUpdate (const XnVHandPointContext *cxt) |
void | Update (XnVMessage *pMessage) |
XnVPointPublisher (xn::DepthGenerator depthGenerator) | |
virtual | ~XnVPointPublisher () |
Protected Attributes | |
xn::DepthGenerator | m_DepthGenerator |
std::map< XnUInt32, std::vector< XnPoint3D > > | m_Position |
Definition at line 70 of file openni_pointer.cpp.
XnVPointPublisher::XnVPointPublisher | ( | xn::DepthGenerator | depthGenerator | ) | [inline] |
Definition at line 73 of file openni_pointer.cpp.
virtual XnVPointPublisher::~XnVPointPublisher | ( | ) | [inline, virtual] |
Definition at line 77 of file openni_pointer.cpp.
void XnVPointPublisher::OnPointCreate | ( | const XnVHandPointContext * | cxt | ) | [inline] |
Handle creation of a new point
Definition at line 90 of file openni_pointer.cpp.
void XnVPointPublisher::OnPointDestroy | ( | XnUInt32 | nID | ) | [inline] |
Definition at line 98 of file openni_pointer.cpp.
void XnVPointPublisher::OnPointUpdate | ( | const XnVHandPointContext * | cxt | ) | [inline] |
Handle new position of an existing point
Definition at line 106 of file openni_pointer.cpp.
void XnVPointPublisher::Update | ( | XnVMessage * | pMessage | ) | [inline] |
Handle a new message. Calls other callbacks for each point, then draw the depth map (if needed) and the points
Definition at line 125 of file openni_pointer.cpp.
xn::DepthGenerator XnVPointPublisher::m_DepthGenerator [protected] |
Definition at line 175 of file openni_pointer.cpp.
std::map<XnUInt32, std::vector<XnPoint3D> > XnVPointPublisher::m_Position [protected] |
Definition at line 177 of file openni_pointer.cpp.