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

#include <CameraOpenNICV.h>

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

Public Member Functions

 CameraOpenNICV (bool asus=false, float imageRate=0, 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
 
virtual ~CameraOpenNICV ()
 
- 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 Attributes

bool _asus
 
cv::VideoCapture _capture
 
float _depthFocal
 

Detailed Description

Definition at line 38 of file CameraOpenNICV.h.

Constructor & Destructor Documentation

◆ CameraOpenNICV()

rtabmap::CameraOpenNICV::CameraOpenNICV ( bool  asus = false,
float  imageRate = 0,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 41 of file CameraOpenNICV.cpp.

◆ ~CameraOpenNICV()

rtabmap::CameraOpenNICV::~CameraOpenNICV ( )
virtual

Definition at line 49 of file CameraOpenNICV.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraOpenNICV::available ( )
static

Definition at line 36 of file CameraOpenNICV.cpp.

◆ captureImage()

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

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

Implements rtabmap::Camera.

Definition at line 108 of file CameraOpenNICV.cpp.

◆ getSerial()

virtual std::string rtabmap::CameraOpenNICV::getSerial ( ) const
inlinevirtual

Implements rtabmap::Camera.

Definition at line 53 of file CameraOpenNICV.h.

◆ init()

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

Implements rtabmap::Camera.

Definition at line 54 of file CameraOpenNICV.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 103 of file CameraOpenNICV.cpp.

Member Data Documentation

◆ _asus

bool rtabmap::CameraOpenNICV::_asus
private

Definition at line 59 of file CameraOpenNICV.h.

◆ _capture

cv::VideoCapture rtabmap::CameraOpenNICV::_capture
private

Definition at line 60 of file CameraOpenNICV.h.

◆ _depthFocal

float rtabmap::CameraOpenNICV::_depthFocal
private

Definition at line 61 of file CameraOpenNICV.h.


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