Classes | |
struct | ImgContext |
Public Types | |
typedef MyOpenNIExample::ImgContext | ImageContext |
Public Member Functions | |
MyOpenNIExample (const vector< unsigned > &device_indices) | |
int | run () |
~MyOpenNIExample () | |
Private Member Functions | |
void | depthCallback (boost::shared_ptr< DepthImage > depth, void *cookie) |
void | imageCallback (boost::shared_ptr< Image > image, void *cookie) |
void | writeImages () const |
Private Attributes | |
map< string, ImageContext * > | depth_images_ |
double | depth_timestamp |
vector< boost::shared_ptr < OpenNIDevice > > | devices_ |
map< string, ImageContext * > | gray_images_ |
double | image_timestamp |
map< string, ImageContext * > | rgb_images_ |
bool | running_ |
unsigned | selected_device_ |
Definition at line 54 of file openni_example.cpp.
MyOpenNIExample::MyOpenNIExample | ( | const vector< unsigned > & | device_indices | ) |
Definition at line 91 of file openni_example.cpp.
MyOpenNIExample::~MyOpenNIExample | ( | ) |
Definition at line 151 of file openni_example.cpp.
void MyOpenNIExample::depthCallback | ( | boost::shared_ptr< DepthImage > | depth, | |
void * | cookie | |||
) | [private] |
Definition at line 253 of file openni_example.cpp.
void MyOpenNIExample::imageCallback | ( | boost::shared_ptr< Image > | image, | |
void * | cookie | |||
) | [private] |
Definition at line 220 of file openni_example.cpp.
int MyOpenNIExample::run | ( | ) |
Definition at line 272 of file openni_example.cpp.
void MyOpenNIExample::writeImages | ( | ) | const [private] |
Definition at line 173 of file openni_example.cpp.
map<string, ImageContext*> MyOpenNIExample::depth_images_ [private] |
Definition at line 82 of file openni_example.cpp.
double MyOpenNIExample::depth_timestamp [private] |
Definition at line 88 of file openni_example.cpp.
vector< boost::shared_ptr<OpenNIDevice> > MyOpenNIExample::devices_ [private] |
Definition at line 83 of file openni_example.cpp.
map<string, ImageContext*> MyOpenNIExample::gray_images_ [private] |
Definition at line 81 of file openni_example.cpp.
double MyOpenNIExample::image_timestamp [private] |
Definition at line 87 of file openni_example.cpp.
map<string, ImageContext*> MyOpenNIExample::rgb_images_ [private] |
Definition at line 80 of file openni_example.cpp.
bool MyOpenNIExample::running_ [private] |
Definition at line 84 of file openni_example.cpp.
unsigned MyOpenNIExample::selected_device_ [private] |
Definition at line 85 of file openni_example.cpp.