10 #include <ui_normalComputationDlg.h>
30 QWidget* parent =
nullptr);
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Dialog for normal computation.
bool useScanGridsForComputation() const
Returns whether scan grids should be used for computation.
ccNormalComputationDlg(bool withScanGrid, bool withSensor, QWidget *parent=nullptr)
Default constructor.
bool usePreferredOrientation() const
Returns whether a preferred orientation should be used.
int getMSTNeighborCount() const
Returns the number of neighbors for Minimum Spanning Tree (MST)
bool orientNormals() const
Returns whether normals should be oriented or not.
void setMSTNeighborCount(int n)
Sets the number of neighbors for Minimum Spanning Tree (MST)
ccNormalVectors::Orientation getPreferredOrientation() const
Returns the preferred orientation (if any)
double getMinGridAngle_deg() const
Returns the min angle for grid triangles.
bool useScanGridsForOrientation() const
Returns whether scan grids should be used for normals orientation.
void setMinGridAngle_deg(double value)
Sets the min angle for grid triangles.
CV_LOCAL_MODEL_TYPES getLocalModel() const
Returns the local model chosen for normal computation.
void setCloud(ccPointCloud *cloud)
Sets the currently selected cloud (required for 'auto' feature)
bool useSensorsForOrientation() const
Returns whether scan grids should be used for normals computation.
void setRadius(PointCoordinateType radius)
Sets default value for local neighbourhood radius.
void autoEstimateRadius()
Automatically estimate the local surface radius.
void setPreferredOrientation(ccNormalVectors::Orientation orientation)
Sets the preferred orientation.
bool useMSTOrientation() const
ccPointCloud * m_cloud
Selected cloud.
void localModelChanged(int index)
On local model change.
void setLocalModel(CV_LOCAL_MODEL_TYPES model)
Sets the local model chosen for normal computation.
PointCoordinateType getRadius() const
Returns local neighbourhood radius.
Orientation
'Default' orientations
A 3D cloud and its associated features (color, normals, scalar fields, etc.)