17 class GenericTriangle;
59 virtual unsigned size()
const = 0;
virtual unsigned size() const =0
Returns the number of triangles.
virtual void getBoundingBox(CCVector3 &bbMin, CCVector3 &bbMax)=0
Returns the mesh bounding-box.
virtual GenericTriangle * _getNextTriangle()=0
Returns the next triangle (relatively to the global iterator position)
std::function< void(GenericTriangle &)> genericTriangleAction
Generic function to apply to a triangle (used by foreach)
virtual ~GenericMesh()=default
Default destructor.
FilterScope
Indicates the scope of filter operations.
DeformAsRigidAsPossibleEnergy
virtual void placeIteratorAtBeginning()=0
Places the mesh iterator at the beginning.
virtual void forEach(genericTriangleAction action)=0
Fast iteration mechanism.
SimplificationContraction
Indicates the method that is used for mesh simplification if multiple vertices are combined to a sing...
virtual bool hasTriangles() const
A generic triangle interface.
Generic file read and write utility for python interface.