Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MyOpenNIExample Class Reference

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_
 

Detailed Description

Definition at line 54 of file openni_example.cpp.

Member Typedef Documentation

Constructor & Destructor Documentation

MyOpenNIExample::MyOpenNIExample ( const vector< unsigned > &  device_indices)

Definition at line 91 of file openni_example.cpp.

MyOpenNIExample::~MyOpenNIExample ( )

Definition at line 149 of file openni_example.cpp.

Member Function Documentation

void MyOpenNIExample::depthCallback ( boost::shared_ptr< DepthImage depth,
void *  cookie 
)
private

Definition at line 271 of file openni_example.cpp.

void MyOpenNIExample::imageCallback ( boost::shared_ptr< Image image,
void *  cookie 
)
private

Definition at line 218 of file openni_example.cpp.

int MyOpenNIExample::run ( )

Definition at line 290 of file openni_example.cpp.

void MyOpenNIExample::writeImages ( ) const
private

Definition at line 171 of file openni_example.cpp.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Mon Jun 10 2019 14:15:53