Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
rtabmap::CameraK4A Class Reference

#include <CameraK4A.h>

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

Public Member Functions

 CameraK4A (int deviceId=0, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation())
 
 CameraK4A (const std::string &fileName, 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
 
void setIRDepthFormat (bool enabled)
 
void setPreferences (int rgb_resolution, int framerate, int depth_resolution)
 
virtual ~CameraK4A ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () 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 ()
 

Private Member Functions

void close ()
 

Detailed Description

Definition at line 45 of file CameraK4A.h.

Constructor & Destructor Documentation

rtabmap::CameraK4A::CameraK4A ( int  deviceId = 0,
float  imageRate = 0.0f,
const Transform localTransform = CameraModel::opticalRotation() 
)

Definition at line 51 of file CameraK4A.cpp.

rtabmap::CameraK4A::CameraK4A ( const std::string &  fileName,
float  imageRate = 0.0f,
const Transform localTransform = CameraModel::opticalRotation() 
)

Definition at line 73 of file CameraK4A.cpp.

rtabmap::CameraK4A::~CameraK4A ( )
virtual

Definition at line 95 of file CameraK4A.cpp.

Member Function Documentation

bool rtabmap::CameraK4A::available ( )
static

Definition at line 42 of file CameraK4A.cpp.

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

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

Implements rtabmap::Camera.

Definition at line 407 of file CameraK4A.cpp.

void rtabmap::CameraK4A::close ( )
private

Definition at line 100 of file CameraK4A.cpp.

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

Implements rtabmap::Camera.

Definition at line 394 of file CameraK4A.cpp.

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

Implements rtabmap::Camera.

Definition at line 143 of file CameraK4A.cpp.

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

Implements rtabmap::Camera.

Definition at line 389 of file CameraK4A.cpp.

void rtabmap::CameraK4A::setIRDepthFormat ( bool  enabled)

Definition at line 136 of file CameraK4A.cpp.

void rtabmap::CameraK4A::setPreferences ( int  rgb_resolution,
int  framerate,
int  depth_resolution 
)

Definition at line 126 of file CameraK4A.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08