qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccComparisonDlg Class Reference

Dialog for cloud/cloud or cloud/mesh comparison setting. More...

#include <ccComparisonDlg.h>

Inheritance diagram for ccComparisonDlg:
Inheritance graph
[legend]
Collaboration diagram for ccComparisonDlg:
Collaboration graph
[legend]

Public Types

enum  CC_COMPARISON_TYPE { CLOUDCLOUD_DIST = 0 , CLOUDMESH_DIST = 1 }
 Comparison type.
 

Public Member Functions

 ccComparisonDlg (ccHObject *compEntity, ccHObject *refEntity, CC_COMPARISON_TYPE cpType, QWidget *parent=nullptr, bool noDisplay=false)
 Default constructor.
 
 ~ccComparisonDlg ()
 Default destructor.
 
bool initDialog ()
 Should be called once after the dialog is created.
 
ccHObject * getComparedEntity () const
 Returns compared entity.
 
ccHObject * getReferenceEntity ()
 Returns compared entity.
 
bool computeDistances ()
 
void applyAndExit ()
 
void cancelAndExit ()
 

Protected Member Functions

void showHisto ()
 
void locaModelChanged (int)
 
void maxDistUpdated ()
 
bool isValid ()
 
bool prepareEntitiesForComparison ()
 
bool computeApproxDistances ()
 
int getBestOctreeLevel ()
 
int determineBestOctreeLevel (double)
 
void updateDisplay (bool showSF, bool hideRef)
 
void releaseOctrees ()
 

Protected Attributes

ccHObject * m_compEnt
 Compared entity.
 
ccPointCloud * m_compCloud
 Compared entity equivalent cloud.
 
ccOctree::Shared m_compOctree
 Compared entity's octree.
 
bool m_compOctreeIsPartial
 Whether the compared entity octree is partial or not.
 
bool m_compSFVisibility
 Initial compared entity visibility.
 
ccHObject * m_refEnt
 Reference entity.
 
ccGenericPointCloud * m_refCloud
 Reference entity equivalent cloud (if any)
 
ccGenericMesh * m_refMesh
 Reference entity equivalent mesh (if any)
 
ccOctree::Shared m_refOctree
 Reference entity's octree.
 
bool m_refOctreeIsPartial
 Whether the reference entity octree is partial or not.
 
bool m_refVisibility
 Initial reference entity visibility.
 
CC_COMPARISON_TYPE m_compType
 Comparison type.
 
QString m_sfName
 last computed scalar field name
 
QString m_oldSfName
 Initial SF name enabled on the compared entity.
 
bool m_noDisplay
 Whether a display is active (and should be refreshed) or not.
 
int m_bestOctreeLevel
 Best octree level (or 0 if none has been guessed already)
 

Detailed Description

Dialog for cloud/cloud or cloud/mesh comparison setting.


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