#include <CameraFreenect.h>
Public Types | |
enum | Type { kTypeColorDepth, kTypeIRDepth } |
Public Member Functions | |
CameraFreenect (int deviceId=0, Type type=kTypeColorDepth, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation()) | |
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 Transform & | getLocalTransform () const |
bool | initFromFile (const std::string &calibrationPath) |
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=CameraModel::opticalRotation()) | |
int | getNextSeqID () |
Definition at line 44 of file CameraFreenect.h.
Enumerator | |
---|---|
kTypeColorDepth | |
kTypeIRDepth |
Definition at line 49 of file CameraFreenect.h.
rtabmap::CameraFreenect::CameraFreenect | ( | int | deviceId = 0 , |
Type | type = kTypeColorDepth , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = CameraModel::opticalRotation() |
||
) |
Definition at line 293 of file CameraFreenect.cpp.
|
virtual |
Definition at line 310 of file CameraFreenect.cpp.
|
static |
Definition at line 284 of file CameraFreenect.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 421 of file CameraFreenect.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 410 of file CameraFreenect.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 326 of file CameraFreenect.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 405 of file CameraFreenect.cpp.