![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <geometry_trampoline.h>


Public Member Functions | |
| cloudViewer::GenericTriangle * | _getTriangle (unsigned triangleIndex) override |
| Returns the ith triangle. More... | |
| cloudViewer::VerticesIndexes * | getTriangleVertIndexes (unsigned triangleIndex) override |
| Returns the indexes of the vertices of a given triangle. More... | |
| void | getTriangleVertices (unsigned triangleIndex, CCVector3 &A, CCVector3 &B, CCVector3 &C) const override |
| Returns the vertices of a given triangle. More... | |
| void | getTriangleVertices (unsigned triangleIndex, double A[3], double B[3], double C[3]) const override |
| cloudViewer::VerticesIndexes * | getNextTriangleVertIndexes () override |
| bool | interpolateNormals (unsigned triIndex, const CCVector3 &P, CCVector3 &N) override |
| Interpolates normal(s) inside a given triangle. More... | |
| bool | normalsAvailable () const override |
| Returns whether normals are available. More... | |
Public Member Functions inherited from PyGenericMesh< cloudViewer::GenericIndexedMesh > | |
| unsigned | size () const override |
| Returns the number of triangles. More... | |
| void | forEach (std::function< void(cloudViewer::GenericTriangle &)> action) override |
| void | getBoundingBox (CCVector3 &bbMin, CCVector3 &bbMax) override |
| Returns the mesh bounding-box. More... | |
| void | placeIteratorAtBeginning () override |
| Places the mesh iterator at the beginning. More... | |
| cloudViewer::GenericTriangle * | _getNextTriangle () override |
| Returns the next triangle (relatively to the global iterator position) More... | |
Public Member Functions inherited from cloudViewer::GenericIndexedMesh | |
| GenericIndexedMesh ()=default | |
| ~GenericIndexedMesh () override=default | |
| Default destructor. More... | |
Public Member Functions inherited from cloudViewer::GenericMesh | |
| GenericMesh ()=default | |
| virtual | ~GenericMesh ()=default |
| Default destructor. More... | |
| virtual bool | hasTriangles () const |
| virtual void | forEach (genericTriangleAction action)=0 |
| Fast iteration mechanism. More... | |
Additional Inherited Members | |
Public Types inherited from cloudViewer::GenericMesh | |
| enum class | SimplificationContraction { Average , Quadric } |
| Indicates the method that is used for mesh simplification if multiple vertices are combined to a single one. More... | |
| enum class | FilterScope { All , Color , Normal , Vertex } |
| Indicates the scope of filter operations. More... | |
| enum class | DeformAsRigidAsPossibleEnergy { Spokes , Smoothed } |
| using | genericTriangleAction = std::function< void(GenericTriangle &)> |
| Generic function to apply to a triangle (used by foreach) More... | |
Definition at line 106 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Returns the ith triangle.
Virtual method to request a triangle with a specific index. The returned object can be temporary.
| triangleIndex | of the requested triangle (between 0 and the mesh size-1) |
Implements cloudViewer::GenericIndexedMesh.
Definition at line 110 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Returns the indexes of the vertices of the next triangle (relatively to the global iterator position)
Implements cloudViewer::GenericIndexedMesh.
Definition at line 134 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Returns the vertices of a given triangle.
| [in] | triangleIndex | index of the triangle (between 0 and the size(mesh)-1) |
| [out] | A | first vertex |
| [out] | B | second vertex |
| [out] | C | third vertex |
Implements cloudViewer::GenericIndexedMesh.
Definition at line 120 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Implements cloudViewer::GenericIndexedMesh.
Definition at line 127 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Returns the indexes of the vertices of a given triangle.
| triangleIndex | index of the triangle (between 0 and size(mesh)-1) |
Implements cloudViewer::GenericIndexedMesh.
Definition at line 115 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Interpolates normal(s) inside a given triangle.
This method should be ideally overriden by the child class if normals are supported
| [in] | triIndex | triangle index |
| [in] | P | point where to interpolate (should be inside the triangle!) |
| [out] | N | interpolated normal |
Reimplemented from cloudViewer::GenericIndexedMesh.
Definition at line 139 of file geometry_trampoline.h.
|
inlineoverridevirtual |
Returns whether normals are available.
Reimplemented from cloudViewer::GenericIndexedMesh.
Definition at line 145 of file geometry_trampoline.h.