 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
20 class GenericIndexedCloud;
26 static constexpr
int USE_ALL_POINTS = 0;
37 static bool Available();
49 bool passOwnership =
false);
57 virtual bool buildMesh(
const std::vector<CCVector2>& points2D,
58 std::size_t pointCountToUse,
59 std::string& outputErrorStr);
67 virtual bool buildMesh(
const std::vector<CCVector2>& points2D,
68 const std::vector<int>& segments2D,
69 std::string& outputErrorStr);
77 virtual bool removeOuterTriangles(
const std::vector<CCVector2>& vertices2D,
78 const std::vector<CCVector2>& polygon2D,
79 bool removeOutside =
true);
82 virtual unsigned size()
const override {
return m_numberOfTriangles; }
83 void forEach(genericTriangleAction action)
override;
85 void placeIteratorAtBeginning()
override;
89 VerticesIndexes* getTriangleVertIndexes(
unsigned triangleIndex)
override;
90 virtual void getTriangleVertices(
unsigned triangleIndex,
94 virtual void getTriangleVertices(
unsigned triangleIndex,
97 double C[3])
const override;
112 return m_associatedCloud;
118 const std::vector<CCVector2>& contourPoints);
A generic 3D point cloud with index-based point access.
Definition: GenericIndexedCloud.h:18
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
Triangle described by the indexes of its 3 vertices.
Definition: GenericIndexedMesh.h:16
VerticesIndexes m_dumpTriangleIndexes
Dump triangle index structure to transmit temporary data.
Definition: Delaunay2dMesh.h:148
A simple triangle class.
Definition: SimpleTriangle.h:52
int * getTriangleVertIndexesArray()
Returns triangles indexes array (pointer to)
Definition: Delaunay2dMesh.h:102
bool m_cloudIsOwnedByMesh
Definition: Delaunay2dMesh.h:142
unsigned m_numberOfTriangles
The number of triangles.
Definition: Delaunay2dMesh.h:138
int * m_triIndexes
Triangle vertex indexes.
Definition: Delaunay2dMesh.h:129
GenericIndexedCloud * getAssociatedCloud()
Returns associated cloud.
Definition: Delaunay2dMesh.h:111
int * m_globalIteratorEnd
End position of global iterator.
Definition: Delaunay2dMesh.h:135
A generic mesh with index-based vertex access.
Definition: GenericIndexedMesh.h:37
A generic 3D point cloud with index-based and presistent access to points.
Definition: GenericIndexedCloudPersist.h:18
A class to compute and handle a Delaunay 2D mesh on a subset of points.
Definition: Delaunay2dMesh.h:24
virtual unsigned size() const override
Returns the number of triangles.
Definition: Delaunay2dMesh.h:82
GenericIndexedCloud * m_associatedCloud
Associated point cloud.
Definition: Delaunay2dMesh.h:126
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
SimpleTriangle m_dumpTriangle
Dump triangle structure to transmit temporary data.
Definition: Delaunay2dMesh.h:145
int * m_globalIterator
Iterator on the list of triangle vertex indexes.
Definition: Delaunay2dMesh.h:132
A generic triangle interface.
Definition: GenericTriangle.h:18
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15