![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog for importation of Snavely's Bundler files. More...
#include <BundlerImportDlg.h>
Public Types | |
| enum | OrthoRectMethod { OPTIMIZED, DIRECT_UNDISTORTED, DIRECT } |
| Image ortho-rectification methods. More... | |
Public Member Functions | |
| BundlerImportDlg (QWidget *parent=0) | |
| Default constructor. More... | |
| virtual | ~BundlerImportDlg () |
| Destructor. More... | |
| bool | importKeypoints () const |
| Returns whether keypoints should be imported. More... | |
| bool | useAlternativeKeypoints () const |
| Returns whether alternative keypoints should be used. More... | |
| bool | importImages () const |
| Returns whether images should be imported. More... | |
| bool | undistortImages () const |
| Returns whether images should be undistorted. More... | |
| bool | orthoRectifyImagesAsClouds () const |
| Returns whether images should be ortho-rectified as clouds. More... | |
| bool | orthoRectifyImagesAsImages () const |
| Returns whether images should be ortho-rectified as images. More... | |
| bool | generateColoredDTM () const |
| Returns whether colored pseudo-DTM should be generated. More... | |
| bool | keepImagesInMemory () const |
| Returns images should be kept in memory or not. More... | |
| OrthoRectMethod | getOrthorectificationMethod () const |
| Returns the ortho-rectification method (for images) More... | |
| void | setKeypointsCount (unsigned count) |
| Sets keypoints count on initialization. More... | |
| void | setCamerasCount (unsigned count) |
| Sets cameras count on initialization. More... | |
| void | setVer (unsigned majorVer, unsigned minorVer) |
| Sets file version on initialization. More... | |
| void | setImageListFilename (const QString &filename) |
| Sets default image list filename (full path) More... | |
| QString | getImageListFilename () const |
| Gets image list filename (full path) More... | |
| void | setAltKeypointsFilename (const QString &filename) |
| Sets default alternative keypoints filename (full path) More... | |
| QString | getAltKeypointsFilename () const |
| Gets alternative keypoints filename (full path) More... | |
| double | getScaleFactor () const |
| Returns scale factor. More... | |
| unsigned | getDTMVerticesCount () const |
| Returns desired number of vertices for DTM. More... | |
| bool | getOptionalTransfoMatrix (ccGLMatrix &mat) |
| Returns the optional transformation matrix (if defined) More... | |
Protected Slots | |
| void | browseImageListFilename () |
| void | browseAltKeypointsFilename () |
| void | acceptAndSaveSettings () |
Protected Member Functions | |
| void | initFromPersistentSettings () |
| Inits dialog state from persistent settings. More... | |
| void | saveToPersistentSettings () |
| Saves dialog state from persistent settings. More... | |
Dialog for importation of Snavely's Bundler files.
|
explicit |
Default constructor.
References acceptAndSaveSettings(), browseAltKeypointsFilename(), browseImageListFilename(), and initFromPersistentSettings().
|
virtual |
Destructor.
|
protectedslot |
References ccGLMatrixTpl< double >::FromString().
Referenced by BundlerImportDlg().
|
protectedslot |
Referenced by BundlerImportDlg().
|
protectedslot |
Referenced by BundlerImportDlg().
| bool BundlerImportDlg::generateColoredDTM | ( | ) | const |
Returns whether colored pseudo-DTM should be generated.
Referenced by initFromPersistentSettings(), and BundlerFilter::loadFileExtended().
| QString BundlerImportDlg::getAltKeypointsFilename | ( | ) | const |
Gets alternative keypoints filename (full path)
Referenced by BundlerFilter::loadFileExtended().
| unsigned BundlerImportDlg::getDTMVerticesCount | ( | ) | const |
Returns desired number of vertices for DTM.
Referenced by BundlerFilter::loadFileExtended().
| QString BundlerImportDlg::getImageListFilename | ( | ) | const |
Gets image list filename (full path)
Referenced by BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::getOptionalTransfoMatrix | ( | ccGLMatrix & | mat | ) |
Returns the optional transformation matrix (if defined)
References ccGLMatrixTpl< T >::data(), ccGLMatrixTpl< float >::FromString(), and ccGLMatrixTpl< T >::toZero().
Referenced by BundlerFilter::loadFileExtended().
| BundlerImportDlg::OrthoRectMethod BundlerImportDlg::getOrthorectificationMethod | ( | ) | const |
Returns the ortho-rectification method (for images)
References DIRECT, DIRECT_UNDISTORTED, and OPTIMIZED.
Referenced by BundlerFilter::loadFileExtended().
| double BundlerImportDlg::getScaleFactor | ( | ) | const |
Returns scale factor.
Referenced by BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::importImages | ( | ) | const |
Returns whether images should be imported.
Referenced by initFromPersistentSettings(), and BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::importKeypoints | ( | ) | const |
Returns whether keypoints should be imported.
Referenced by initFromPersistentSettings(), and BundlerFilter::loadFileExtended().
|
protected |
Inits dialog state from persistent settings.
References generateColoredDTM(), importImages(), importKeypoints(), keepImagesInMemory(), and undistortImages().
Referenced by BundlerImportDlg().
| bool BundlerImportDlg::keepImagesInMemory | ( | ) | const |
Returns images should be kept in memory or not.
Referenced by initFromPersistentSettings(), and BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::orthoRectifyImagesAsClouds | ( | ) | const |
Returns whether images should be ortho-rectified as clouds.
Referenced by BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::orthoRectifyImagesAsImages | ( | ) | const |
Returns whether images should be ortho-rectified as images.
Referenced by BundlerFilter::loadFileExtended().
|
protected |
Saves dialog state from persistent settings.
| void BundlerImportDlg::setAltKeypointsFilename | ( | const QString & | filename | ) |
Sets default alternative keypoints filename (full path)
References filename.
Referenced by BundlerFilter::loadFileExtended().
| void BundlerImportDlg::setCamerasCount | ( | unsigned | count | ) |
Sets cameras count on initialization.
References count.
Referenced by BundlerFilter::loadFileExtended().
| void BundlerImportDlg::setImageListFilename | ( | const QString & | filename | ) |
Sets default image list filename (full path)
References filename.
Referenced by BundlerFilter::loadFileExtended().
| void BundlerImportDlg::setKeypointsCount | ( | unsigned | count | ) |
Sets keypoints count on initialization.
References count.
Referenced by BundlerFilter::loadFileExtended().
| void BundlerImportDlg::setVer | ( | unsigned | majorVer, |
| unsigned | minorVer | ||
| ) |
Sets file version on initialization.
Referenced by BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::undistortImages | ( | ) | const |
Returns whether images should be undistorted.
Referenced by initFromPersistentSettings(), and BundlerFilter::loadFileExtended().
| bool BundlerImportDlg::useAlternativeKeypoints | ( | ) | const |
Returns whether alternative keypoints should be used.
Referenced by BundlerFilter::loadFileExtended().