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

Dialog for normal computation. More...

#include <ccNormalComputationDlg.h>

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

Public Member Functions

 ccNormalComputationDlg (bool withScanGrid, bool withSensor, QWidget *parent=nullptr)
 Default constructor. More...
 
CCCoreLib::LOCAL_MODEL_TYPES getLocalModel () const
 Returns the local model chosen for normal computation.
 
void setLocalModel (CCCoreLib::LOCAL_MODEL_TYPES model)
 Sets the local model chosen for normal computation.
 
void setRadius (PointCoordinateType radius)
 Sets default value for local neighbourhood radius.
 
void setPreferredOrientation (ccNormalVectors::Orientation orientation)
 Sets the preferred orientation.
 
void setCloud (ccPointCloud *cloud)
 Sets the currently selected cloud (required for 'auto' feature)
 
bool useScanGridsForComputation () const
 Returns whether scan grids should be used for computation.
 
double getMinGridAngle_deg () const
 Returns the min angle for grid triangles.
 
void setMinGridAngle_deg (double value)
 Sets the min angle for grid triangles.
 
PointCoordinateType getRadius () const
 Returns local neighbourhood radius.
 
bool orientNormals () const
 Returns whether normals should be oriented or not.
 
bool useScanGridsForOrientation () const
 Returns whether scan grids should be used for normals orientation.
 
bool useSensorsForOrientation () const
 Returns whether scan grids should be used for normals computation.
 
bool usePreferredOrientation () const
 Returns whether a preferred orientation should be used.
 
ccNormalVectors::Orientation getPreferredOrientation () const
 Returns the preferred orientation (if any)
 
bool useMSTOrientation () const
 Returns whether a Minimum Spanning Tree (MST) should be used for normals orientation.
 
int getMSTNeighborCount () const
 Returns the number of neighbors for Minimum Spanning Tree (MST)
 
void setMSTNeighborCount (int n)
 Sets the number of neighbors for Minimum Spanning Tree (MST)
 

Protected Member Functions

void localModelChanged (int index)
 On local model change.
 
void autoEstimateRadius ()
 Automatically estimate the local surface radius.
 

Protected Attributes

ccPointCloud * m_cloud
 Selected cloud.
 

Detailed Description

Dialog for normal computation.

Constructor & Destructor Documentation

◆ ccNormalComputationDlg()

ccNormalComputationDlg::ccNormalComputationDlg ( bool  withScanGrid,
bool  withSensor,
QWidget *  parent = nullptr 
)
explicit

Default constructor.

Parameters
withScanGridwhether the selection contains some structured point clouds
withSensorwhether the selection contains some sensors associated to the point clouds
parentparent widget

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