Public Member Functions | Protected Member Functions | Protected Attributes
astra_wrapper::AstraDevice Class Reference

#include <astra_device.h>

List of all members.

Public Member Functions

 AstraDevice (const std::string &device_URI)
bool getAutoExposure () const
bool getAutoWhiteBalance () const
float getBaseline () const
OBCameraParams getCameraParams () const
float getColorFocalLength (int output_y_resolution) const
const AstraVideoMode getColorVideoMode ()
float getDepthFocalLength (int output_y_resolution) const
const AstraVideoMode getDepthVideoMode ()
char * getDeviceType ()
int getDeviceTypeNo ()
int getIRExposure () const
float getIRFocalLength (int output_y_resolution) const
int getIRGain () const
const AstraVideoMode getIRVideoMode ()
const std::string getName () const
char * getSerialNumber ()
const std::string getStringID () const
const std::vector
< AstraVideoMode > & 
getSupportedColorVideoModes () const
const std::vector
< AstraVideoMode > & 
getSupportedDepthVideoModes () const
const std::vector
< AstraVideoMode > & 
getSupportedIRVideoModes () const
const std::string getUri () const
uint16_t getUsbProductId () const
uint16_t getUsbVendorId () const
const std::string getVendor () const
bool hasColorSensor () const
bool hasDepthSensor () const
bool hasIRSensor () const
bool isColorStreamStarted ()
bool isColorVideoModeSupported (const AstraVideoMode &video_mode) const
bool isDepthStreamStarted ()
bool isDepthVideoModeSupported (const AstraVideoMode &video_mode) const
bool isImageRegistrationModeSupported () const
bool isIRStreamStarted ()
bool isIRVideoModeSupported (const AstraVideoMode &video_mode) const
bool isValid () const
void setAutoExposure (bool enable)
void setAutoWhiteBalance (bool enable)
void setCameraParams (OBCameraParams param)
void setColorFrameCallback (FrameCallbackFunction callback)
void setColorVideoMode (const AstraVideoMode &video_mode)
void setDepthColorSync (bool enabled)
void setDepthFrameCallback (FrameCallbackFunction callback)
void setDepthVideoMode (const AstraVideoMode &video_mode)
void setImageRegistrationMode (bool enabled)
void setIRExposure (int exposure)
void setIRFlood (bool enable)
void setIRFrameCallback (FrameCallbackFunction callback)
void setIRGain (int gain)
void setIRVideoMode (const AstraVideoMode &video_mode)
void setLaser (bool enable)
void setUseDeviceTimer (bool enable)
void startColorStream ()
void startDepthStream ()
void startIRStream ()
void stopAllStreams ()
void stopColorStream ()
void stopDepthStream ()
void stopIRStream ()
virtual ~AstraDevice ()

Protected Member Functions

boost::shared_ptr
< openni::VideoStream
getColorVideoStream () const
boost::shared_ptr
< openni::VideoStream
getDepthVideoStream () const
boost::shared_ptr
< openni::VideoStream
getIRVideoStream () const
void shutdown ()

Protected Attributes

boost::shared_ptr
< AstraFrameListener
color_frame_listener
std::vector< AstraVideoModecolor_video_modes_
bool color_video_started_
boost::shared_ptr
< openni::VideoStream
color_video_stream_
boost::shared_ptr
< AstraFrameListener
depth_frame_listener
std::vector< AstraVideoModedepth_video_modes_
bool depth_video_started_
boost::shared_ptr
< openni::VideoStream
depth_video_stream_
boost::shared_ptr
< openni::DeviceInfo
device_info_
char device_type [32]
int device_type_no
bool image_registration_activated_
boost::shared_ptr
< AstraFrameListener
ir_frame_listener
std::vector< AstraVideoModeir_video_modes_
bool ir_video_started_
boost::shared_ptr
< openni::VideoStream
ir_video_stream_
OBCameraParams m_CamParams
boost::shared_ptr< openni::Deviceopenni_device_
char serial_number [12]
bool use_device_time_

Detailed Description

Definition at line 67 of file astra_device.h.


Constructor & Destructor Documentation

astra_wrapper::AstraDevice::AstraDevice ( const std::string &  device_URI)

Definition at line 55 of file astra_device.cpp.

Definition at line 117 of file astra_device.cpp.


Member Function Documentation

Definition at line 669 of file astra_device.cpp.

Definition at line 684 of file astra_device.cpp.

Definition at line 282 of file astra_device.cpp.

Definition at line 167 of file astra_device.cpp.

float astra_wrapper::AstraDevice::getColorFocalLength ( int  output_y_resolution) const

Definition at line 256 of file astra_device.cpp.

Definition at line 561 of file astra_device.cpp.

boost::shared_ptr< openni::VideoStream > astra_wrapper::AstraDevice::getColorVideoStream ( ) const [protected]

Definition at line 743 of file astra_device.cpp.

float astra_wrapper::AstraDevice::getDepthFocalLength ( int  output_y_resolution) const

Definition at line 269 of file astra_device.cpp.

Definition at line 579 of file astra_device.cpp.

boost::shared_ptr< openni::VideoStream > astra_wrapper::AstraDevice::getDepthVideoStream ( ) const [protected]

Definition at line 759 of file astra_device.cpp.

Definition at line 177 of file astra_device.cpp.

Definition at line 182 of file astra_device.cpp.

Definition at line 195 of file astra_device.cpp.

float astra_wrapper::AstraDevice::getIRFocalLength ( int  output_y_resolution) const

Definition at line 243 of file astra_device.cpp.

Definition at line 187 of file astra_device.cpp.

Definition at line 543 of file astra_device.cpp.

boost::shared_ptr< openni::VideoStream > astra_wrapper::AstraDevice::getIRVideoStream ( ) const [protected]

Definition at line 727 of file astra_device.cpp.

const std::string astra_wrapper::AstraDevice::getName ( ) const

Definition at line 136 of file astra_device.cpp.

Definition at line 172 of file astra_device.cpp.

const std::string astra_wrapper::AstraDevice::getStringID ( ) const

Definition at line 151 of file astra_device.cpp.

Definition at line 479 of file astra_device.cpp.

Definition at line 495 of file astra_device.cpp.

Definition at line 463 of file astra_device.cpp.

const std::string astra_wrapper::AstraDevice::getUri ( ) const

Definition at line 126 of file astra_device.cpp.

Definition at line 146 of file astra_device.cpp.

Definition at line 141 of file astra_device.cpp.

const std::string astra_wrapper::AstraDevice::getVendor ( ) const

Definition at line 131 of file astra_device.cpp.

Definition at line 347 of file astra_device.cpp.

Definition at line 352 of file astra_device.cpp.

Definition at line 342 of file astra_device.cpp.

Definition at line 454 of file astra_device.cpp.

Definition at line 305 of file astra_device.cpp.

Definition at line 458 of file astra_device.cpp.

Definition at line 323 of file astra_device.cpp.

Definition at line 511 of file astra_device.cpp.

Definition at line 450 of file astra_device.cpp.

Definition at line 287 of file astra_device.cpp.

Definition at line 162 of file astra_device.cpp.

Definition at line 636 of file astra_device.cpp.

Definition at line 652 of file astra_device.cpp.

Definition at line 203 of file astra_device.cpp.

Definition at line 717 of file astra_device.cpp.

Definition at line 610 of file astra_device.cpp.

Definition at line 536 of file astra_device.cpp.

Definition at line 722 of file astra_device.cpp.

Definition at line 623 of file astra_device.cpp.

Definition at line 516 of file astra_device.cpp.

Definition at line 215 of file astra_device.cpp.

Definition at line 232 of file astra_device.cpp.

Definition at line 712 of file astra_device.cpp.

Definition at line 209 of file astra_device.cpp.

Definition at line 597 of file astra_device.cpp.

void astra_wrapper::AstraDevice::setLaser ( bool  enable)

Definition at line 221 of file astra_device.cpp.

Definition at line 700 of file astra_device.cpp.

Definition at line 437 of file astra_device.cpp.

Definition at line 371 of file astra_device.cpp.

Definition at line 383 of file astra_device.cpp.

Definition at line 357 of file astra_device.cpp.

Definition at line 396 of file astra_device.cpp.

Definition at line 414 of file astra_device.cpp.

Definition at line 425 of file astra_device.cpp.

Definition at line 403 of file astra_device.cpp.


Member Data Documentation

Definition at line 161 of file astra_device.h.

Definition at line 169 of file astra_device.h.

Definition at line 173 of file astra_device.h.

Definition at line 165 of file astra_device.h.

Definition at line 162 of file astra_device.h.

Definition at line 170 of file astra_device.h.

Definition at line 174 of file astra_device.h.

Definition at line 166 of file astra_device.h.

Definition at line 158 of file astra_device.h.

Definition at line 182 of file astra_device.h.

Definition at line 183 of file astra_device.h.

Definition at line 176 of file astra_device.h.

Definition at line 160 of file astra_device.h.

Definition at line 168 of file astra_device.h.

Definition at line 172 of file astra_device.h.

boost::shared_ptr<openni::VideoStream> astra_wrapper::AstraDevice::ir_video_stream_ [mutable, protected]

Definition at line 164 of file astra_device.h.

Definition at line 180 of file astra_device.h.

Definition at line 157 of file astra_device.h.

Definition at line 181 of file astra_device.h.

Definition at line 178 of file astra_device.h.


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


astra_camera
Author(s): Tim Liu
autogenerated on Wed Jul 10 2019 03:18:55