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=CameraModel::opticalRotation())
 
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
 
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 Attributes

bool _asus
 
cv::VideoCapture _capture
 
float _depthFocal
 

Detailed Description

Definition at line 38 of file CameraOpenNICV.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file CameraOpenNICV.cpp.

rtabmap::CameraOpenNICV::~CameraOpenNICV ( )
virtual

Definition at line 49 of file CameraOpenNICV.cpp.

Member Function Documentation

bool rtabmap::CameraOpenNICV::available ( )
static

Definition at line 36 of file CameraOpenNICV.cpp.

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.

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

Implements rtabmap::Camera.

Definition at line 53 of file CameraOpenNICV.h.

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

Implements rtabmap::Camera.

Definition at line 54 of file CameraOpenNICV.cpp.

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

Implements rtabmap::Camera.

Definition at line 103 of file CameraOpenNICV.cpp.

Member Data Documentation

bool rtabmap::CameraOpenNICV::_asus
private

Definition at line 59 of file CameraOpenNICV.h.

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

Definition at line 60 of file CameraOpenNICV.h.

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 Dec 14 2020 03:37:08