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

#include <CameraFreenect2.h>

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

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=Transform::getIdentity(), 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
 
bool initFromFile (const std::string &calibrationPath)
 
bool isInterIMUPublishing () const
 
void setImageRate (float imageRate)
 
void setInterIMUPublishing (bool enabled, IMUFilter *filter=0)
 
SensorData takeImage (SensorCaptureInfo *info=0)
 
virtual ~Camera ()
 
- Public Member Functions inherited from rtabmap::SensorCapture
float getFrameRate () const
 
const TransformgetLocalTransform () const
 
virtual bool getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06)
 
virtual bool odomProvided () const
 
void resetTimer ()
 
void setFrameRate (float frameRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeData (SensorCaptureInfo *info=0)
 
virtual ~SensorCapture ()
 

Static Public Member Functions

static bool available ()
 

Protected Member Functions

virtual SensorData captureImage (SensorCaptureInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
void postInterIMU (const IMU &imu, double stamp)
 
- Protected Member Functions inherited from rtabmap::SensorCapture
int getNextSeqID ()
 
 SensorCapture (float frameRate=0, const Transform &localTransform=Transform::getIdentity())
 

Detailed Description

Definition at line 46 of file CameraFreenect2.h.

Member Enumeration Documentation

◆ Type

Enumerator
kTypeColor2DepthSD 
kTypeDepth2ColorSD 
kTypeDepth2ColorHD 
kTypeDepth2ColorHD2 
kTypeIRDepth 
kTypeColorIR 

Definition at line 52 of file CameraFreenect2.h.

Constructor & Destructor Documentation

◆ CameraFreenect2()

rtabmap::CameraFreenect2::CameraFreenect2 ( int  deviceId = 0,
Type  type = kTypeDepth2ColorSD,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity(),
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.

◆ ~CameraFreenect2()

rtabmap::CameraFreenect2::~CameraFreenect2 ( )
virtual

Definition at line 103 of file CameraFreenect2.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraFreenect2::available ( )
static

Definition at line 45 of file CameraFreenect2.cpp.

◆ captureImage()

SensorData rtabmap::CameraFreenect2::captureImage ( SensorCaptureInfo info = 0)
protectedvirtual

Implements rtabmap::Camera.

Definition at line 337 of file CameraFreenect2.cpp.

◆ getSerial()

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

Implements rtabmap::SensorCapture.

Definition at line 326 of file CameraFreenect2.cpp.

◆ init()

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

Implements rtabmap::SensorCapture.

Definition at line 188 of file CameraFreenect2.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 321 of file CameraFreenect2.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27