Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
rtabmap::CameraFreenect Class Reference

#include <CameraRGBD.h>

Inheritance diagram for rtabmap::CameraFreenect:
Inheritance graph
[legend]

Public Types

enum  Type { kTypeColorDepth, kTypeIRDepth }
 

Public Member Functions

 CameraFreenect (int deviceId=0, Type type=kTypeColorDepth, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
virtual std::string getSerial () const
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual bool isCalibrated () const
 
virtual ~CameraFreenect ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () const
 
virtual bool odomProvided () const
 
void resetTimer ()
 
void setImageRate (float imageRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeImage (CameraInfo *info=0)
 
virtual ~Camera ()
 

Static Public Member Functions

static bool available ()
 

Protected Member Functions

virtual SensorData captureImage (CameraInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
int getNextSeqID ()
 

Detailed Description

Definition at line 229 of file CameraRGBD.h.

Member Enumeration Documentation

Enumerator
kTypeColorDepth 
kTypeIRDepth 

Definition at line 234 of file CameraRGBD.h.

Constructor & Destructor Documentation

rtabmap::CameraFreenect::CameraFreenect ( int  deviceId = 0,
Type  type = kTypeColorDepth,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 1166 of file CameraRGBD.cpp.

rtabmap::CameraFreenect::~CameraFreenect ( )
virtual

Definition at line 1183 of file CameraRGBD.cpp.

Member Function Documentation

bool rtabmap::CameraFreenect::available ( )
static

Definition at line 1157 of file CameraRGBD.cpp.

SensorData rtabmap::CameraFreenect::captureImage ( CameraInfo info = 0)
protectedvirtual

returned rgb and depth images should be already rectified if calibration was loaded

Implements rtabmap::Camera.

Definition at line 1294 of file CameraRGBD.cpp.

std::string rtabmap::CameraFreenect::getSerial ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 1283 of file CameraRGBD.cpp.

bool rtabmap::CameraFreenect::init ( const std::string &  calibrationFolder = ".",
const std::string &  cameraName = "" 
)
virtual

Implements rtabmap::Camera.

Definition at line 1199 of file CameraRGBD.cpp.

bool rtabmap::CameraFreenect::isCalibrated ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 1278 of file CameraRGBD.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42