 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
10 #include <ui_normalComputationDlg.h>
30 QWidget* parent =
nullptr);
virtual ccOctree::Shared computeOctree(cloudViewer::GenericProgressCallback *progressCb=nullptr, bool autoAddChild=true)
Computes the cloud octree.
Definition: ecvGenericPointCloud.cpp:124
@ TRI
Definition: CVConst.h:124
bool useSensorsForOrientation() const
Returns whether scan grids should be used for normals computation.
Definition: ecvNormalComputationDlg.cpp:144
@ UNDEFINED
Undefined (no orientation is required)
Definition: ecvNormalVectors.h:89
CV_LOCAL_MODEL_TYPES
Definition: CVConst.h:121
double getMinGridAngle_deg() const
Returns the min angle for grid triangles.
Definition: ecvNormalComputationDlg.cpp:128
CV_LOCAL_MODEL_TYPES getLocalModel() const
Returns the local model chosen for normal computation.
Definition: ecvNormalComputationDlg.cpp:79
void setPreferredOrientation(ccNormalVectors::Orientation orientation)
Sets the preferred orientation.
Definition: ecvNormalComputationDlg.cpp:114
bool useMSTOrientation() const
Definition: ecvNormalComputationDlg.cpp:152
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
bool orientNormals() const
Returns whether normals should be oriented or not.
Definition: ecvNormalComputationDlg.cpp:136
static PointCoordinateType GuessBestRadius(ccGenericPointCloud *cloud, cloudViewer::DgmOctree *cloudOctree=nullptr, cloudViewer::GenericProgressCallback *progressCb=nullptr)
Definition: ecvNormalVectors.cpp:236
void localModelChanged(int index)
On local model change.
Definition: ecvNormalComputationDlg.cpp:93
ccPointCloud * m_cloud
Selected cloud.
Definition: ecvNormalComputationDlg.h:94
virtual ccOctree::Shared getOctree() const
Returns the associated octree (if any)
Definition: ecvGenericPointCloud.cpp:97
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
Dialog for normal computation.
Definition: ecvNormalComputationDlg.h:18
#define slots
Definition: PythonPlugin.cpp:25
ccNormalVectors::Orientation getPreferredOrientation() const
Returns the preferred orientation (if any)
Definition: ecvNormalComputationDlg.cpp:164
PointCoordinateType getRadius() const
Returns local neighbourhood radius.
Definition: ecvNormalComputationDlg.cpp:110
bool usePreferredOrientation() const
Returns whether a preferred orientation should be used.
Definition: ecvNormalComputationDlg.cpp:148
@ QUADRIC
Definition: CVConst.h:125
Definition: sfEditDlg.h:16
@ PREVIOUS
Re-use previous normal (if any)
Definition: ecvNormalVectors.h:82
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
bool useScanGridsForOrientation() const
Returns whether scan grids should be used for normals orientation.
Definition: ecvNormalComputationDlg.cpp:140
void setCloud(ccPointCloud *cloud)
Sets the currently selected cloud (required for 'auto' feature)
Definition: ecvNormalComputationDlg.cpp:104
bool useScanGridsForComputation() const
Returns whether scan grids should be used for computation.
Definition: ecvNormalComputationDlg.cpp:124
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
Orientation
'Default' orientations
Definition: ecvNormalVectors.h:70
void setRadius(PointCoordinateType radius)
Sets default value for local neighbourhood radius.
Definition: ecvNormalComputationDlg.cpp:100
ccNormalComputationDlg(bool withScanGrid, bool withSensor, QWidget *parent=nullptr)
Default constructor.
Definition: ecvNormalComputationDlg.cpp:21
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
void autoEstimateRadius()
Automatically estimate the local surface radius.
Definition: ecvNormalComputationDlg.cpp:175
void setMinGridAngle_deg(double value)
Sets the min angle for grid triangles.
Definition: ecvNormalComputationDlg.cpp:132
int getMSTNeighborCount() const
Returns the number of neighbors for Minimum Spanning Tree (MST)
Definition: ecvNormalComputationDlg.cpp:160
@ LS
Definition: CVConst.h:123
void setMSTNeighborCount(int n)
Sets the number of neighbors for Minimum Spanning Tree (MST)
Definition: ecvNormalComputationDlg.cpp:156
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
void setLocalModel(CV_LOCAL_MODEL_TYPES model)
Sets the local model chosen for normal computation.
Definition: ecvNormalComputationDlg.cpp:60