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

#include <CameraRGBDImages.h>

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

Public Member Functions

 CameraRGBDImages (const std::string &pathRGBImages, const std::string &pathDepthImages, float depthScaleFactor=1.0f, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual void setMaxFrames (int value)
 
virtual void setStartIndex (int index)
 
virtual ~CameraRGBDImages ()
 
- Public Member Functions inherited from rtabmap::CameraImages
 CameraImages ()
 
 CameraImages (const std::string &path, float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
const CameraModelcameraModel () const
 
std::vector< std::stringfilenames () const
 
int getBayerMode () const
 
double getMaxPoseTimeDiff () const
 
std::string getPath () const
 
virtual std::string getSerial () const
 
unsigned int imagesCount () const
 
virtual bool isCalibrated () const
 
bool isImagesRectified () const
 
virtual bool odomProvided () const
 
void setBayerMode (int mode)
 
void setConfigForEachFrame (bool value)
 
void setDepth (bool isDepth, float depthScaleFactor=1.0f)
 
void setDepthFromScan (bool enabled, int fillHoles=1, bool fillHolesFromBorder=false)
 
void setDirRefreshed (bool enabled)
 
void setGroundTruthPath (const std::string &filePath, int format=0)
 
void setImagesRectified (bool enabled)
 
void setMaxPoseTimeDiff (double diff)
 
void setOdometryPath (const std::string &filePath, int format=0)
 
void setPath (const std::string &dir)
 
void setScanPath (const std::string &dir, int maxScanPts=0, const Transform &localTransform=Transform::getIdentity())
 
void setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true)
 
virtual ~CameraImages ()
 
- 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)
 
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())
 

Private Attributes

CameraImages cameraDepth_
 

Detailed Description

Definition at line 35 of file CameraRGBDImages.h.

Constructor & Destructor Documentation

◆ CameraRGBDImages()

rtabmap::CameraRGBDImages::CameraRGBDImages ( const std::string pathRGBImages,
const std::string pathDepthImages,
float  depthScaleFactor = 1.0f,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 37 of file CameraRGBDImages.cpp.

◆ ~CameraRGBDImages()

rtabmap::CameraRGBDImages::~CameraRGBDImages ( )
virtual

Definition at line 50 of file CameraRGBDImages.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraRGBDImages::available ( )
static

Definition at line 32 of file CameraRGBDImages.cpp.

◆ captureImage()

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

Reimplemented from rtabmap::CameraImages.

Definition at line 73 of file CameraRGBDImages.cpp.

◆ init()

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

Reimplemented from rtabmap::CameraImages.

Definition at line 54 of file CameraRGBDImages.cpp.

◆ setMaxFrames()

virtual void rtabmap::CameraRGBDImages::setMaxFrames ( int  value)
inlinevirtual

Reimplemented from rtabmap::CameraImages.

Definition at line 53 of file CameraRGBDImages.h.

◆ setStartIndex()

virtual void rtabmap::CameraRGBDImages::setStartIndex ( int  index)
inlinevirtual

Reimplemented from rtabmap::CameraImages.

Definition at line 52 of file CameraRGBDImages.h.

Member Data Documentation

◆ cameraDepth_

CameraImages rtabmap::CameraRGBDImages::cameraDepth_
private

Definition at line 59 of file CameraRGBDImages.h.


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