Public Member Functions | Private Attributes | List of all members
MyFreenectDevice Class Reference
Inheritance diagram for MyFreenectDevice:
Inheritance graph
[legend]

Public Member Functions

void DepthCallback (void *_depth, uint32_t timestamp)
 
void DepthCallback (void *_depth, uint32_t timestamp)
 
bool getDepth (std::vector< uint16_t > &buffer)
 
bool getDepth (std::vector< uint8_t > &buffer)
 
bool getRGB (std::vector< uint8_t > &buffer)
 
bool getRGB (std::vector< uint8_t > &buffer)
 
 MyFreenectDevice (freenect_context *_ctx, int _index)
 
 MyFreenectDevice (freenect_context *_ctx, int _index)
 
void VideoCallback (void *_rgb, uint32_t timestamp)
 
void VideoCallback (void *_rgb, uint32_t timestamp)
 
- Public Member Functions inherited from Freenect::FreenectDevice
 FreenectDevice (freenect_context *_ctx, int _index)
 
freenect_depth_format getDepthFormat ()
 
freenect_resolution getDepthResolution ()
 
const freenect_devicegetDevice ()
 
FreenectTiltState getState () const
 
freenect_video_format getVideoFormat ()
 
freenect_resolution getVideoResolution ()
 
void setDepthFormat (freenect_depth_format requested_format, freenect_resolution requested_resolution=FREENECT_RESOLUTION_MEDIUM)
 
int setFlag (freenect_flag flag, bool value)
 
void setLed (freenect_led_options _option)
 
void setTiltDegrees (double _angle)
 
void setVideoFormat (freenect_video_format requested_format, freenect_resolution requested_resolution=FREENECT_RESOLUTION_MEDIUM)
 
void startDepth ()
 
void startVideo ()
 
void stopDepth ()
 
void stopVideo ()
 
void updateState ()
 
virtual ~FreenectDevice ()
 

Private Attributes

std::vector< uint16_tm_buffer_depth
 
std::vector< uint8_tm_buffer_depth
 
std::vector< uint8_tm_buffer_video
 
Mutex m_depth_mutex
 
std::vector< uint16_tm_gamma
 
bool m_new_depth_frame
 
bool m_new_rgb_frame
 
Mutex m_rgb_mutex
 

Additional Inherited Members

- Protected Member Functions inherited from Freenect::FreenectDevice
int getDepthBufferSize ()
 
int getVideoBufferSize ()
 

Detailed Description

Definition at line 79 of file cpp_pc_view.cpp.

Constructor & Destructor Documentation

MyFreenectDevice::MyFreenectDevice ( freenect_context _ctx,
int  _index 
)
inline

Definition at line 82 of file cpp_pc_view.cpp.

MyFreenectDevice::MyFreenectDevice ( freenect_context _ctx,
int  _index 
)
inline

Definition at line 80 of file cppview.cpp.

Member Function Documentation

void MyFreenectDevice::DepthCallback ( void *  _depth,
uint32_t  timestamp 
)
inlinevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 98 of file cppview.cpp.

void MyFreenectDevice::DepthCallback ( void *  _depth,
uint32_t  timestamp 
)
inlinevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 101 of file cpp_pc_view.cpp.

bool MyFreenectDevice::getDepth ( std::vector< uint16_t > &  buffer)
inline

Definition at line 122 of file cpp_pc_view.cpp.

bool MyFreenectDevice::getDepth ( std::vector< uint8_t > &  buffer)
inline

Definition at line 153 of file cppview.cpp.

bool MyFreenectDevice::getRGB ( std::vector< uint8_t > &  buffer)
inline

Definition at line 109 of file cpp_pc_view.cpp.

bool MyFreenectDevice::getRGB ( std::vector< uint8_t > &  buffer)
inline

Definition at line 144 of file cppview.cpp.

void MyFreenectDevice::VideoCallback ( void *  _rgb,
uint32_t  timestamp 
)
inlinevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 91 of file cppview.cpp.

void MyFreenectDevice::VideoCallback ( void *  _rgb,
uint32_t  timestamp 
)
inlinevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 92 of file cpp_pc_view.cpp.

Member Data Documentation

std::vector<uint16_t> MyFreenectDevice::m_buffer_depth
private

Definition at line 139 of file cpp_pc_view.cpp.

std::vector<uint8_t> MyFreenectDevice::m_buffer_depth
private

Definition at line 163 of file cppview.cpp.

std::vector< uint8_t > MyFreenectDevice::m_buffer_video
private

Definition at line 138 of file cpp_pc_view.cpp.

Mutex MyFreenectDevice::m_depth_mutex
private

Definition at line 137 of file cpp_pc_view.cpp.

std::vector<uint16_t> MyFreenectDevice::m_gamma
private

Definition at line 165 of file cppview.cpp.

bool MyFreenectDevice::m_new_depth_frame
private

Definition at line 141 of file cpp_pc_view.cpp.

bool MyFreenectDevice::m_new_rgb_frame
private

Definition at line 140 of file cpp_pc_view.cpp.

Mutex MyFreenectDevice::m_rgb_mutex
private

Definition at line 136 of file cpp_pc_view.cpp.


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


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:43