#include <CameraRGB.h>
|
| CameraImages () |
|
| CameraImages (const std::string &path, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
|
const CameraModel & | cameraModel () const |
|
std::vector< std::string > | filenames () const |
|
int | getBayerMode () const |
|
double | getMaxPoseTimeDiff () const |
|
std::string | getPath () const |
|
virtual std::string | getSerial () const |
|
unsigned int | imagesCount () const |
|
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
|
virtual bool | isCalibrated () 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) |
|
virtual void | setStartIndex (int index) |
|
void | setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true) |
|
virtual | ~CameraImages () |
|
float | getImageRate () const |
|
const Transform & | getLocalTransform () const |
|
void | resetTimer () |
|
void | setImageRate (float imageRate) |
|
void | setLocalTransform (const Transform &localTransform) |
|
SensorData | takeImage (CameraInfo *info=0) |
|
virtual | ~Camera () |
|
Definition at line 48 of file CameraRGB.h.
rtabmap::CameraImages::CameraImages |
( |
| ) |
|
rtabmap::CameraImages::~CameraImages |
( |
| ) |
|
|
virtual |
const CameraModel& rtabmap::CameraImages::cameraModel |
( |
| ) |
const |
|
inline |
std::vector< std::string > rtabmap::CameraImages::filenames |
( |
| ) |
const |
int rtabmap::CameraImages::getBayerMode |
( |
| ) |
const |
|
inline |
double rtabmap::CameraImages::getMaxPoseTimeDiff |
( |
| ) |
const |
|
inline |
std::string rtabmap::CameraImages::getPath |
( |
| ) |
const |
|
inline |
std::string rtabmap::CameraImages::getSerial |
( |
| ) |
const |
|
virtual |
unsigned int rtabmap::CameraImages::imagesCount |
( |
| ) |
const |
bool rtabmap::CameraImages::init |
( |
const std::string & |
calibrationFolder = "." , |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
virtual |
bool rtabmap::CameraImages::isCalibrated |
( |
| ) |
const |
|
virtual |
bool rtabmap::CameraImages::isImagesRectified |
( |
| ) |
const |
|
inline |
virtual bool rtabmap::CameraImages::odomProvided |
( |
| ) |
const |
|
inlinevirtual |
bool rtabmap::CameraImages::readPoses |
( |
std::list< Transform > & |
outputPoses, |
|
|
std::list< double > & |
stamps, |
|
|
const std::string & |
filePath, |
|
|
int |
format, |
|
|
double |
maxTimeDiff |
|
) |
| const |
|
protected |
void rtabmap::CameraImages::setBayerMode |
( |
int |
mode | ) |
|
|
inline |
void rtabmap::CameraImages::setDepth |
( |
bool |
isDepth, |
|
|
float |
depthScaleFactor = 1.0f |
|
) |
| |
|
inline |
void rtabmap::CameraImages::setDepthFromScan |
( |
bool |
enabled, |
|
|
int |
fillHoles = 1 , |
|
|
bool |
fillHolesFromBorder = false |
|
) |
| |
|
inline |
void rtabmap::CameraImages::setDirRefreshed |
( |
bool |
enabled | ) |
|
|
inline |
void rtabmap::CameraImages::setGroundTruthPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
void rtabmap::CameraImages::setImagesRectified |
( |
bool |
enabled | ) |
|
|
inline |
void rtabmap::CameraImages::setMaxPoseTimeDiff |
( |
double |
diff | ) |
|
|
inline |
void rtabmap::CameraImages::setOdometryPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
void rtabmap::CameraImages::setPath |
( |
const std::string & |
dir | ) |
|
|
inline |
void rtabmap::CameraImages::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 |
|
) |
| |
|
inline |
virtual void rtabmap::CameraImages::setStartIndex |
( |
int |
index | ) |
|
|
inlinevirtual |
void rtabmap::CameraImages::setTimestamps |
( |
bool |
fileNamesAreStamps, |
|
|
const std::string & |
filePath = "" , |
|
|
bool |
syncImageRateWithStamps = true |
|
) |
| |
|
inline |
int rtabmap::CameraImages::_bayerMode |
|
private |
double rtabmap::CameraImages::_captureDelay |
|
private |
UTimer rtabmap::CameraImages::_captureTimer |
|
private |
int rtabmap::CameraImages::_count |
|
private |
int rtabmap::CameraImages::_countScan |
|
private |
bool rtabmap::CameraImages::_depthFromScan |
|
private |
int rtabmap::CameraImages::_depthFromScanFillHoles |
|
private |
bool rtabmap::CameraImages::_depthFromScanFillHolesFromBorder |
|
private |
float rtabmap::CameraImages::_depthScaleFactor |
|
private |
bool rtabmap::CameraImages::_filenamesAreTimestamps |
|
private |
int rtabmap::CameraImages::_groundTruthFormat |
|
private |
std::string rtabmap::CameraImages::_groundTruthPath |
|
private |
bool rtabmap::CameraImages::_isDepth |
|
private |
std::string rtabmap::CameraImages::_lastFileName |
|
private |
std::string rtabmap::CameraImages::_lastScanFileName |
|
private |
double rtabmap::CameraImages::_maxPoseTimeDiff |
|
private |
int rtabmap::CameraImages::_odometryFormat |
|
private |
std::string rtabmap::CameraImages::_odometryPath |
|
private |
std::string rtabmap::CameraImages::_path |
|
private |
bool rtabmap::CameraImages::_rectifyImages |
|
private |
bool rtabmap::CameraImages::_refreshDir |
|
private |
int rtabmap::CameraImages::_scanDownsampleStep |
|
private |
bool rtabmap::CameraImages::_scanForceGroundNormalsUp |
|
private |
Transform rtabmap::CameraImages::_scanLocalTransform |
|
private |
int rtabmap::CameraImages::_scanMaxPts |
|
private |
int rtabmap::CameraImages::_scanNormalsK |
|
private |
float rtabmap::CameraImages::_scanNormalsRadius |
|
private |
std::string rtabmap::CameraImages::_scanPath |
|
private |
float rtabmap::CameraImages::_scanVoxelSize |
|
private |
std::list<double> rtabmap::CameraImages::_stamps |
|
private |
int rtabmap::CameraImages::_startAt |
|
private |
bool rtabmap::CameraImages::_syncImageRateWithStamps |
|
private |
std::string rtabmap::CameraImages::_timestampsPath |
|
private |
std::list<Transform> rtabmap::CameraImages::groundTruth_ |
|
private |
std::list<Transform> rtabmap::CameraImages::odometry_ |
|
private |
The documentation for this class was generated from the following files: