Developer Documentation
Polygonal Mesh (DATA_POLY_MESH)
type_poly_thumb.png

Datatype Information

OpenFlipper includes a datatype for polygonal Meshes. The datastructure used to represent the Mesh is OpenMesh. OpenMesh is a generic and efficient data structure for representing and manipulating polygonal meshes. You can directly use it inside of OpenFlipper.
The basic object type for handling polygonal meshes is the PolyMeshObject. This object manages rendering and data storage of a polygonal OpenMesh.
To get the actual mesh you can call the PolyMeshObject::mesh() function which returns a pointer to the OpenMesh structure, which can be directly manipulated with the functions described in the OpenMesh Documentation.
Note: If you know that you only work on triangular meshes, use the Triangular Mesh datatype.