#include <ExportCloudsDialog.h>
Public Slots | |
void | restoreDefaults () |
Signals | |
void | configChanged () |
Public Member Functions | |
void | exportClouds (const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, int > &mapIds, const QMap< int, Signature > &cachedSignatures, const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > &cachedClouds, const std::map< int, LaserScan > &cachedScans, const QString &workingDirectory, const ParametersMap ¶meters) |
ExportCloudsDialog (QWidget *parent=0) | |
void | forceAssembling (bool enabled) |
int | getBlendingDecimation () const |
bool | getExportedClouds (const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, int > &mapIds, const QMap< int, Signature > &cachedSignatures, const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > &cachedClouds, const std::map< int, LaserScan > &cachedScans, const QString &workingDirectory, const ParametersMap ¶meters, std::map< int, pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr > &clouds, std::map< int, pcl::PolygonMesh::Ptr > &meshes, std::map< int, pcl::TextureMesh::Ptr > &textureMeshes, std::vector< std::map< int, pcl::PointXY > > &textureVertexToPixels) |
double | getGainBeta () const |
int | getMaxTextures () const |
int | getTextureBrightnessConstrastRatioHigh () const |
int | getTextureBrightnessConstrastRatioLow () const |
int | getTextureSize () const |
bool | isBlending () const |
bool | isExposeFusion () const |
bool | isGainCompensation () const |
bool | isGainRGB () const |
void | loadSettings (QSettings &settings, const QString &group="") |
void | saveSettings (QSettings &settings, const QString &group="") const |
void | setDBDriver (const DBDriver *dbDriver) |
void | setOkButton () |
void | setProgressDialogToMax () |
void | setSaveButton () |
void | viewClouds (const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, int > &mapIds, const QMap< int, Signature > &cachedSignatures, const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > &cachedClouds, const std::map< int, LaserScan > &cachedScans, const QString &workingDirectory, const ParametersMap ¶meters) |
virtual | ~ExportCloudsDialog () |
Static Public Member Functions | |
static bool | removeDirRecursively (const QString &dirName) |
Private Slots | |
void | cancel () |
void | loadSettings () |
void | saveSettings () |
void | selectDistortionModel () |
void | updateMLSGrpVisibility () |
void | updateReconstructionFlavor () |
Private Member Functions | |
std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr, pcl::IndicesPtr > > | getClouds (const std::map< int, Transform > &poses, const QMap< int, Signature > &cachedSignatures, const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > &cachedClouds, const std::map< int, LaserScan > &cachedScans, const ParametersMap ¶meters, bool &has2dScans) const |
void | saveClouds (const QString &workingDirectory, const std::map< int, Transform > &poses, const std::map< int, pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr > &clouds, bool binaryMode=true) |
void | saveMeshes (const QString &workingDirectory, const std::map< int, Transform > &poses, const std::map< int, pcl::PolygonMesh::Ptr > &meshes, bool binaryMode=true) |
void | saveTextureMeshes (const QString &workingDirectory, const std::map< int, Transform > &poses, std::map< int, pcl::TextureMesh::Ptr > &textureMeshes, const QMap< int, Signature > &cachedSignatures, const std::vector< std::map< int, pcl::PointXY > > &textureVertexToPixels) |
Private Attributes | |
bool | _canceled |
GainCompensator * | _compensator |
const DBDriver * | _dbDriver |
ProgressDialog * | _progressDialog |
Ui_ExportCloudsDialog * | _ui |
QString | _workingDirectory |
Definition at line 54 of file ExportCloudsDialog.h.
rtabmap::ExportCloudsDialog::ExportCloudsDialog | ( | QWidget * | parent = 0 | ) |
Definition at line 81 of file ExportCloudsDialog.cpp.
|
virtual |
Definition at line 253 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 268 of file ExportCloudsDialog.cpp.
|
signal |
void rtabmap::ExportCloudsDialog::exportClouds | ( | const std::map< int, Transform > & | poses, |
const std::multimap< int, Link > & | links, | ||
const std::map< int, int > & | mapIds, | ||
const QMap< int, Signature > & | cachedSignatures, | ||
const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > & | cachedClouds, | ||
const std::map< int, LaserScan > & | cachedScans, | ||
const QString & | workingDirectory, | ||
const ParametersMap & | parameters | ||
) |
Definition at line 867 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::forceAssembling | ( | bool | enabled | ) |
Definition at line 274 of file ExportCloudsDialog.cpp.
int rtabmap::ExportCloudsDialog::getBlendingDecimation | ( | ) | const |
Definition at line 1241 of file ExportCloudsDialog.cpp.
|
private |
Definition at line 2890 of file ExportCloudsDialog.cpp.
bool rtabmap::ExportCloudsDialog::getExportedClouds | ( | const std::map< int, Transform > & | poses, |
const std::multimap< int, Link > & | links, | ||
const std::map< int, int > & | mapIds, | ||
const QMap< int, Signature > & | cachedSignatures, | ||
const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > & | cachedClouds, | ||
const std::map< int, LaserScan > & | cachedScans, | ||
const QString & | workingDirectory, | ||
const ParametersMap & | parameters, | ||
std::map< int, pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr > & | clouds, | ||
std::map< int, pcl::PolygonMesh::Ptr > & | meshes, | ||
std::map< int, pcl::TextureMesh::Ptr > & | textureMeshes, | ||
std::vector< std::map< int, pcl::PointXY > > & | textureVertexToPixels | ||
) |
Definition at line 1289 of file ExportCloudsDialog.cpp.
double rtabmap::ExportCloudsDialog::getGainBeta | ( | ) | const |
Definition at line 1229 of file ExportCloudsDialog.cpp.
int rtabmap::ExportCloudsDialog::getMaxTextures | ( | ) | const |
Definition at line 1221 of file ExportCloudsDialog.cpp.
int rtabmap::ExportCloudsDialog::getTextureBrightnessConstrastRatioHigh | ( | ) | const |
Definition at line 1257 of file ExportCloudsDialog.cpp.
int rtabmap::ExportCloudsDialog::getTextureBrightnessConstrastRatioLow | ( | ) | const |
Definition at line 1253 of file ExportCloudsDialog.cpp.
int rtabmap::ExportCloudsDialog::getTextureSize | ( | ) | const |
Definition at line 1212 of file ExportCloudsDialog.cpp.
bool rtabmap::ExportCloudsDialog::isBlending | ( | ) | const |
Definition at line 1237 of file ExportCloudsDialog.cpp.
bool rtabmap::ExportCloudsDialog::isExposeFusion | ( | ) | const |
Definition at line 1261 of file ExportCloudsDialog.cpp.
bool rtabmap::ExportCloudsDialog::isGainCompensation | ( | ) | const |
Definition at line 1225 of file ExportCloudsDialog.cpp.
bool rtabmap::ExportCloudsDialog::isGainRGB | ( | ) | const |
Definition at line 1233 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::loadSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) |
Definition at line 423 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 690 of file ExportCloudsDialog.cpp.
|
static |
Definition at line 1266 of file ExportCloudsDialog.cpp.
|
slot |
Definition at line 563 of file ExportCloudsDialog.cpp.
|
private |
Definition at line 3285 of file ExportCloudsDialog.cpp.
|
private |
Definition at line 3402 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::saveSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) | const |
Definition at line 292 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 704 of file ExportCloudsDialog.cpp.
|
private |
Definition at line 3560 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 827 of file ExportCloudsDialog.cpp.
|
inline |
Definition at line 66 of file ExportCloudsDialog.h.
void rtabmap::ExportCloudsDialog::setOkButton | ( | ) |
Definition at line 854 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::setProgressDialogToMax | ( | ) |
Definition at line 287 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::setSaveButton | ( | ) |
Definition at line 841 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 259 of file ExportCloudsDialog.cpp.
|
privateslot |
Definition at line 718 of file ExportCloudsDialog.cpp.
void rtabmap::ExportCloudsDialog::viewClouds | ( | const std::map< int, Transform > & | poses, |
const std::multimap< int, Link > & | links, | ||
const std::map< int, int > & | mapIds, | ||
const QMap< int, Signature > & | cachedSignatures, | ||
const std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGB >::Ptr, pcl::IndicesPtr > > & | cachedClouds, | ||
const std::map< int, LaserScan > & | cachedScans, | ||
const QString & | workingDirectory, | ||
const ParametersMap & | parameters | ||
) |
Definition at line 929 of file ExportCloudsDialog.cpp.
|
private |
Definition at line 149 of file ExportCloudsDialog.h.
|
private |
Definition at line 150 of file ExportCloudsDialog.h.
|
private |
Definition at line 151 of file ExportCloudsDialog.h.
|
private |
Definition at line 147 of file ExportCloudsDialog.h.
|
private |
Definition at line 146 of file ExportCloudsDialog.h.
|
private |
Definition at line 148 of file ExportCloudsDialog.h.