OpenMesh
Sudivision Tools

Overview

The OpenMesh library provides a few tools for uniform and adaptive subdivision:

  1. Uniform subdivision
    1. OpenMesh::Subdivider::Uniform::LoopT
    2. OpenMesh::Subdivider::Uniform::Sqrt3T
    3. OpenMesh::Subdivider::Uniform::ModifiedButterflyT
    4. OpenMesh::Subdivider::Uniform::InterpolatingSqrt3LGT
    5. OpenMesh::Subdivider::Uniform::CompositeT
    6. OpenMesh::Subdivider::Uniform::CatmullClarkT
    7. OpenMesh::Subdivider::Uniform::MidpointT
  2. Adaptive subdivision
    1. OpenMesh::Subdivider::Adaptive::CompositeT
  3. Simple subdivision
    1. OpenMesh::Subdivider::Uniform::LongestEdgeT

Usage

The subdividers directly work on an OpenMesh. The following example shows how to use them:

// Initialize subdivider
// Execute 3 subdivision steps
catmull.attach(mesh_);
catmull( 3 );
catmull.detach();
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

Project OpenMesh, ©  Visual Computing Institute, RWTH Aachen. Documentation generated using doxygen .