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

#include <CameraRGBD.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 std::string getSerial () const
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual bool isCalibrated () const
 
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::string > filenames () const
 
int getBayerMode () const
 
double getMaxPoseTimeDiff () const
 
std::string getPath () const
 
unsigned int imagesCount () const
 
bool isImagesRectified () const
 
virtual bool odomProvided () const
 
void setBayerMode (int mode)
 
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, int downsampleStep=1, float voxelSize=0.0f, int normalsK=0, float normalsRadius=0, const Transform &localTransform=Transform::getIdentity(), bool forceGroundNormalsUp=false)
 
void setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true)
 
virtual ~CameraImages ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () 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::CameraImages
bool readPoses (std::list< Transform > &outputPoses, std::list< double > &stamps, const std::string &filePath, int format, double maxTimeDiff) const
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
int getNextSeqID ()
 

Private Attributes

CameraImages cameraDepth_
 

Detailed Description

Definition at line 481 of file CameraRGBD.h.

Constructor & Destructor Documentation

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 4044 of file CameraRGBD.cpp.

rtabmap::CameraRGBDImages::~CameraRGBDImages ( )
virtual

Definition at line 4057 of file CameraRGBD.cpp.

Member Function Documentation

bool rtabmap::CameraRGBDImages::available ( )
static

Definition at line 4039 of file CameraRGBD.cpp.

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

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

Reimplemented from rtabmap::CameraImages.

Definition at line 4090 of file CameraRGBD.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 4085 of file CameraRGBD.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 4061 of file CameraRGBD.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 4080 of file CameraRGBD.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 500 of file CameraRGBD.h.

Member Data Documentation

CameraImages rtabmap::CameraRGBDImages::cameraDepth_
private

Definition at line 506 of file CameraRGBD.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42