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=Transform::getIdentity())
 
 CameraK4A (const std::string &fileName, 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
 
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
 
virtual bool getPose (double stamp, Transform &pose, cv::Mat &covariance)
 
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=Transform::getIdentity())
 
int getNextSeqID ()
 

Private Member Functions

void close ()
 

Detailed Description

Definition at line 45 of file CameraK4A.h.

Constructor & Destructor Documentation

◆ CameraK4A() [1/2]

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

Definition at line 51 of file CameraK4A.cpp.

◆ CameraK4A() [2/2]

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

Definition at line 74 of file CameraK4A.cpp.

◆ ~CameraK4A()

rtabmap::CameraK4A::~CameraK4A ( )
virtual

Definition at line 97 of file CameraK4A.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraK4A::available ( )
static

Definition at line 42 of file CameraK4A.cpp.

◆ captureImage()

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 411 of file CameraK4A.cpp.

◆ close()

void rtabmap::CameraK4A::close ( )
private

Definition at line 102 of file CameraK4A.cpp.

◆ getSerial()

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

Implements rtabmap::Camera.

Definition at line 398 of file CameraK4A.cpp.

◆ init()

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

Implements rtabmap::Camera.

Definition at line 147 of file CameraK4A.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 393 of file CameraK4A.cpp.

◆ setIRDepthFormat()

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

Definition at line 140 of file CameraK4A.cpp.

◆ setPreferences()

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

Definition at line 130 of file CameraK4A.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00