 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
24 #include <unordered_set>
38 Q_PLUGIN_METADATA(IID
"ecvcorp.cloudviewer.plugin.qFacets" FILE
43 qFacets(QObject* parent =
nullptr);
49 virtual void onNewSelection(
51 virtual QList<QAction*> getActions()
override;
80 unsigned minPointsPerComponent,
QAction * m_doFuseKdTreeCells
Associated action.
Definition: qFacets.h:97
void fuseKdTreeCells()
Fuses the cells of a kd-tree to produces planar facets.
Definition: qFacets.cpp:200
std::unordered_set< ccFacet * > FacetSet
Set of facets (pointers)
Definition: qFacets.h:86
void showStereogram()
Displays the selected entity stereogram.
Definition: qFacets.cpp:942
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
QAction * m_doExportFacets
Associated action.
Definition: qFacets.h:101
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
#define slots
Definition: PythonPlugin.cpp:25
void extractFacetsWithFM()
Uses Fast Marching to detect planar facets.
Definition: qFacets.cpp:196
QAction * m_doClassifyFacetsByAngle
Associated action.
Definition: qFacets.h:105
ccHObject * createFacets(ccPointCloud *cloud, cloudViewer::ReferenceCloudContainer &components, unsigned minPointsPerComponent, double maxEdgeLength, bool randomColors, bool &error)
Creates facets from components.
Definition: qFacets.cpp:435
Facet detection plugin (BRGM)
Definition: qFacets.h:35
QAction * m_doExportFacetsInfo
Associated action.
Definition: qFacets.h:103
QAction * m_fastMarchingExtraction
Associated action.
Definition: qFacets.h:99
Algorithm
Cell fusion algorithm.
Definition: cellsFusionDlg.h:17
void getFacetsInCurrentSelection(FacetSet &facets) const
Returns all the facets in the current selection.
Definition: qFacets.cpp:557
void exportFacets()
Exports facets (as shapefiles)
Definition: qFacets.cpp:682
void exportFacetsInfo()
Exports statistics on a set of facets.
Definition: qFacets.cpp:1034
Standard ECV plugin interface.
Definition: ecvPluginInterface.h:33
QAction * m_doShowStereogram
Associated action.
Definition: qFacets.h:107
std::vector< ReferenceCloud * > ReferenceCloudContainer
A standard container to store several subsets of points.
Definition: AutoSegmentationTools.h:28
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
void classifyFacetsByAngle()
Classifies facets by orientation.
Definition: qFacets.cpp:976
Standard ECV plugin interface.
Definition: ecvStdPluginInterface.h:31
Facet.
Definition: ecvFacet.h:25
void extractFacets(CellsFusionDlg::Algorithm algo)
Uses the given algorithm to detect planar facets.
Definition: qFacets.cpp:202
Colored polyline.
Definition: ecvPolyline.h:23