#include <CameraFreenect2.h>
Public Types | |
enum | Type { kTypeColor2DepthSD, kTypeDepth2ColorSD, kTypeDepth2ColorHD, kTypeDepth2ColorHD2, kTypeIRDepth, kTypeColorIR } |
Public Member Functions | |
CameraFreenect2 (int deviceId=0, Type type=kTypeDepth2ColorSD, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation(), float minDepth=0.3f, float maxDepth=12.0f, bool bilateralFiltering=true, bool edgeAwareFiltering=true, bool noiseFiltering=true, const std::string &pipelineName="") | |
virtual std::string | getSerial () const |
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
virtual bool | isCalibrated () const |
virtual | ~CameraFreenect2 () |
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 48 of file CameraFreenect2.h.
Enumerator | |
---|---|
kTypeColor2DepthSD | |
kTypeDepth2ColorSD | |
kTypeDepth2ColorHD | |
kTypeDepth2ColorHD2 | |
kTypeIRDepth | |
kTypeColorIR |
Definition at line 54 of file CameraFreenect2.h.
rtabmap::CameraFreenect2::CameraFreenect2 | ( | int | deviceId = 0 , |
Type | type = kTypeDepth2ColorSD , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = CameraModel::opticalRotation() , |
||
float | minDepth = 0.3f , |
||
float | maxDepth = 12.0f , |
||
bool | bilateralFiltering = true , |
||
bool | edgeAwareFiltering = true , |
||
bool | noiseFiltering = true , |
||
const std::string & | pipelineName = "" |
||
) |
Definition at line 54 of file CameraFreenect2.cpp.
|
virtual |
Definition at line 103 of file CameraFreenect2.cpp.
|
static |
Definition at line 45 of file CameraFreenect2.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 337 of file CameraFreenect2.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 326 of file CameraFreenect2.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 188 of file CameraFreenect2.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 321 of file CameraFreenect2.cpp.