14 #include <ui_comparisonDlg.h>
39 QWidget* parent =
nullptr,
40 bool noDisplay =
false);
Dialog for cloud/cloud or cloud/mesh comparison setting.
ccGenericPointCloud * m_refCloud
Reference entity equivalent cloud (if any)
void locaModelChanged(int)
QString m_sfName
last computed scalar field name
ccOctree::Shared m_refOctree
Reference entity's octree.
int determineBestOctreeLevel(double)
bool m_noDisplay
Whether a display is active (and should be refreshed) or not.
ccGenericMesh * m_refMesh
Reference entity equivalent mesh (if any)
CC_COMPARISON_TYPE
Comparison type.
ccHObject * m_refEnt
Reference entity.
bool m_refVisibility
Initial reference entity visibility.
ccOctree::Shared m_compOctree
Compared entity's octree.
ccComparisonDlg(ccHObject *compEntity, ccHObject *refEntity, CC_COMPARISON_TYPE cpType, QWidget *parent=nullptr, bool noDisplay=false)
Default constructor.
void updateDisplay(bool showSF, bool hideRef)
CC_COMPARISON_TYPE m_compType
Comparison type.
bool prepareEntitiesForComparison()
ccHObject * getComparedEntity() const
Returns compared entity.
bool m_refOctreeIsPartial
Whether the reference entity octree is partial or not.
ccPointCloud * m_compCloud
Compared entity equivalent cloud.
bool m_compSFVisibility
Initial compared entity visibility.
bool m_compOctreeIsPartial
Whether the compared entity octree is partial or not.
bool initDialog()
Should be called once after the dialog is created.
int m_bestOctreeLevel
Best octree level (or 0 if none has been guessed already)
~ccComparisonDlg()
Default destructor.
bool computeApproxDistances()
ccHObject * m_compEnt
Compared entity.
QString m_oldSfName
Initial SF name enabled on the compared entity.
ccHObject * getReferenceEntity()
Returns compared entity.
A 3D cloud interface with associated features (color, normals, octree, etc.)
Hierarchical CLOUDVIEWER Object.
QSharedPointer< ccOctree > Shared
Shared pointer.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)