Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rtabmap::ExportCloudsDialog Class Reference

#include <ExportCloudsDialog.h>

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

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 &parameters)
 
 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 &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)
 
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 &parameters)
 
virtual ~ExportCloudsDialog ()
 

Static Public Member Functions

static bool removeDirRecursively (const QString &dirName)
 

Private Slots

void cancel ()
 
void loadSettings ()
 
void saveSettings ()
 
void selectCamProjMask ()
 
void selectDistortionModel ()
 
void updateMLSGrpVisibility ()
 
void updateReconstructionFlavor ()
 

Private Member Functions

std::map< int, TransformfilterNodes (const std::map< int, Transform > &poses)
 
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 &parameters, bool &has2dScans, bool &scansHaveRGB) 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, const std::vector< std::map< int, pcl::PointXY > > &pointToPixels=std::vector< std::map< int, pcl::PointXY > >())
 
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
 
bool _scansHaveRGB
 
Ui_ExportCloudsDialog * _ui
 
QString _workingDirectory
 

Detailed Description

Definition at line 54 of file ExportCloudsDialog.h.

Constructor & Destructor Documentation

◆ ExportCloudsDialog()

rtabmap::ExportCloudsDialog::ExportCloudsDialog ( QWidget *  parent = 0)

Definition at line 85 of file ExportCloudsDialog.cpp.

◆ ~ExportCloudsDialog()

rtabmap::ExportCloudsDialog::~ExportCloudsDialog ( )
virtual

Definition at line 305 of file ExportCloudsDialog.cpp.

Member Function Documentation

◆ cancel

void rtabmap::ExportCloudsDialog::cancel ( )
privateslot

Definition at line 320 of file ExportCloudsDialog.cpp.

◆ configChanged

void rtabmap::ExportCloudsDialog::configChanged ( )
signal

◆ exportClouds()

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 1110 of file ExportCloudsDialog.cpp.

◆ filterNodes()

std::map< int, Transform > rtabmap::ExportCloudsDialog::filterNodes ( const std::map< int, Transform > &  poses)
private

Definition at line 1074 of file ExportCloudsDialog.cpp.

◆ forceAssembling()

void rtabmap::ExportCloudsDialog::forceAssembling ( bool  enabled)

Definition at line 326 of file ExportCloudsDialog.cpp.

◆ getBlendingDecimation()

int rtabmap::ExportCloudsDialog::getBlendingDecimation ( ) const

Definition at line 1543 of file ExportCloudsDialog.cpp.

◆ getClouds()

std::map< int, std::pair< pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr, pcl::IndicesPtr > > rtabmap::ExportCloudsDialog::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 parameters,
bool &  has2dScans,
bool &  scansHaveRGB 
) const
private

Definition at line 3538 of file ExportCloudsDialog.cpp.

◆ getExportedClouds()

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 1591 of file ExportCloudsDialog.cpp.

◆ getGainBeta()

double rtabmap::ExportCloudsDialog::getGainBeta ( ) const

Definition at line 1531 of file ExportCloudsDialog.cpp.

◆ getMaxTextures()

int rtabmap::ExportCloudsDialog::getMaxTextures ( ) const

Definition at line 1523 of file ExportCloudsDialog.cpp.

◆ getTextureBrightnessConstrastRatioHigh()

int rtabmap::ExportCloudsDialog::getTextureBrightnessConstrastRatioHigh ( ) const

Definition at line 1559 of file ExportCloudsDialog.cpp.

◆ getTextureBrightnessConstrastRatioLow()

int rtabmap::ExportCloudsDialog::getTextureBrightnessConstrastRatioLow ( ) const

Definition at line 1555 of file ExportCloudsDialog.cpp.

◆ getTextureSize()

int rtabmap::ExportCloudsDialog::getTextureSize ( ) const

Definition at line 1514 of file ExportCloudsDialog.cpp.

◆ isBlending()

bool rtabmap::ExportCloudsDialog::isBlending ( ) const

Definition at line 1539 of file ExportCloudsDialog.cpp.

◆ isExposeFusion()

bool rtabmap::ExportCloudsDialog::isExposeFusion ( ) const

Definition at line 1563 of file ExportCloudsDialog.cpp.

◆ isGainCompensation()

bool rtabmap::ExportCloudsDialog::isGainCompensation ( ) const

Definition at line 1527 of file ExportCloudsDialog.cpp.

◆ isGainRGB()

bool rtabmap::ExportCloudsDialog::isGainRGB ( ) const

Definition at line 1535 of file ExportCloudsDialog.cpp.

◆ loadSettings() [1/2]

void rtabmap::ExportCloudsDialog::loadSettings ( QSettings &  settings,
const QString &  group = "" 
)

Definition at line 516 of file ExportCloudsDialog.cpp.

◆ loadSettings [2/2]

void rtabmap::ExportCloudsDialog::loadSettings ( )
privateslot

Definition at line 866 of file ExportCloudsDialog.cpp.

◆ removeDirRecursively()

bool rtabmap::ExportCloudsDialog::removeDirRecursively ( const QString &  dirName)
static

Definition at line 1568 of file ExportCloudsDialog.cpp.

◆ restoreDefaults

void rtabmap::ExportCloudsDialog::restoreDefaults ( )
slot

Definition at line 697 of file ExportCloudsDialog.cpp.

◆ saveClouds()

void rtabmap::ExportCloudsDialog::saveClouds ( const QString &  workingDirectory,
const std::map< int, Transform > &  poses,
const std::map< int, pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr > &  clouds,
bool  binaryMode = true,
const std::vector< std::map< int, pcl::PointXY > > &  pointToPixels = std::vector<std::map<int, pcl::PointXY> >() 
)
private

Definition at line 3964 of file ExportCloudsDialog.cpp.

◆ saveMeshes()

void rtabmap::ExportCloudsDialog::saveMeshes ( const QString &  workingDirectory,
const std::map< int, Transform > &  poses,
const std::map< int, pcl::PolygonMesh::Ptr > &  meshes,
bool  binaryMode = true 
)
private

Definition at line 4334 of file ExportCloudsDialog.cpp.

◆ saveSettings() [1/2]

void rtabmap::ExportCloudsDialog::saveSettings ( QSettings &  settings,
const QString &  group = "" 
) const

Definition at line 344 of file ExportCloudsDialog.cpp.

◆ saveSettings [2/2]

void rtabmap::ExportCloudsDialog::saveSettings ( )
privateslot

Definition at line 880 of file ExportCloudsDialog.cpp.

◆ saveTextureMeshes()

void rtabmap::ExportCloudsDialog::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

Definition at line 4492 of file ExportCloudsDialog.cpp.

◆ selectCamProjMask

void rtabmap::ExportCloudsDialog::selectCamProjMask ( )
privateslot

Definition at line 1034 of file ExportCloudsDialog.cpp.

◆ selectDistortionModel

void rtabmap::ExportCloudsDialog::selectDistortionModel ( )
privateslot

Definition at line 1020 of file ExportCloudsDialog.cpp.

◆ setDBDriver()

void rtabmap::ExportCloudsDialog::setDBDriver ( const DBDriver dbDriver)
inline

Definition at line 66 of file ExportCloudsDialog.h.

◆ setOkButton()

void rtabmap::ExportCloudsDialog::setOkButton ( )

Definition at line 1061 of file ExportCloudsDialog.cpp.

◆ setProgressDialogToMax()

void rtabmap::ExportCloudsDialog::setProgressDialogToMax ( )

Definition at line 339 of file ExportCloudsDialog.cpp.

◆ setSaveButton()

void rtabmap::ExportCloudsDialog::setSaveButton ( )

Definition at line 1048 of file ExportCloudsDialog.cpp.

◆ updateMLSGrpVisibility

void rtabmap::ExportCloudsDialog::updateMLSGrpVisibility ( )
privateslot

Definition at line 311 of file ExportCloudsDialog.cpp.

◆ updateReconstructionFlavor

void rtabmap::ExportCloudsDialog::updateReconstructionFlavor ( )
privateslot

Definition at line 894 of file ExportCloudsDialog.cpp.

◆ viewClouds()

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 1172 of file ExportCloudsDialog.cpp.

Member Data Documentation

◆ _canceled

bool rtabmap::ExportCloudsDialog::_canceled
private

Definition at line 152 of file ExportCloudsDialog.h.

◆ _compensator

GainCompensator* rtabmap::ExportCloudsDialog::_compensator
private

Definition at line 153 of file ExportCloudsDialog.h.

◆ _dbDriver

const DBDriver* rtabmap::ExportCloudsDialog::_dbDriver
private

Definition at line 154 of file ExportCloudsDialog.h.

◆ _progressDialog

ProgressDialog* rtabmap::ExportCloudsDialog::_progressDialog
private

Definition at line 150 of file ExportCloudsDialog.h.

◆ _scansHaveRGB

bool rtabmap::ExportCloudsDialog::_scansHaveRGB
private

Definition at line 155 of file ExportCloudsDialog.h.

◆ _ui

Ui_ExportCloudsDialog* rtabmap::ExportCloudsDialog::_ui
private

Definition at line 149 of file ExportCloudsDialog.h.

◆ _workingDirectory

QString rtabmap::ExportCloudsDialog::_workingDirectory
private

Definition at line 151 of file ExportCloudsDialog.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00