Overview
The OpenMesh library provides a few tools for uniform and adaptive subdivision:
- Uniform subdivision
- OpenMesh::Subdivider::Uniform::LoopT
- OpenMesh::Subdivider::Uniform::Sqrt3T
- OpenMesh::Subdivider::Uniform::ModifiedButterflyT
- OpenMesh::Subdivider::Uniform::InterpolatingSqrt3LGT
- OpenMesh::Subdivider::Uniform::CompositeT
- OpenMesh::Subdivider::Uniform::CatmullClarkT
- OpenMesh::Subdivider::Uniform::MidpointT
- Adaptive subdivision
- OpenMesh::Subdivider::Adaptive::CompositeT
- Simple subdivision
- OpenMesh::Subdivider::Uniform::LongestEdgeT
Usage
The subdividers directly work on an OpenMesh. The following example shows how to use them:
catmull( 3 );
Based on code from Leon Kos, CAD lab, Mech.Eng., University of Ljubljana, Slovenia (http://www....
Definition: CatmullClarkT.hh:86
bool attach(MeshType &_m)
Attach mesh _m to self.
Definition: SubdividerT.hh:132
void detach(void)
Detach an eventually attached mesh.
Definition: SubdividerT.hh:155