Public Types | Public Member Functions | Protected Member Functions

OpenMesh::Subdivider::Uniform::ModifiedButterflyT< MeshType, RealType > Class Template Reference

Modified Butterfly subdivision algorithm. More...

#include </data1/home1/moebius/projects/release/OpenMesh-2.0/src/OpenMesh/Tools/Subdivider/Uniform/ModifiedButterFlyT.hh>

Inheritance diagram for OpenMesh::Subdivider::Uniform::ModifiedButterflyT< MeshType, RealType >:
Inheritance graph
[legend]
Collaboration diagram for OpenMesh::Subdivider::Uniform::ModifiedButterflyT< MeshType, RealType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef RealType real_t
typedef MeshType mesh_t
typedef SubdividerT< mesh_t,
real_t > 
parent_t
typedef std::vector
< std::vector< real_t > > 
weights_t
typedef std::vector< real_t > weight_t

Public Member Functions

 ModifiedButterflyT (mesh_t &_m)
const char * name () const
 Return name of subdivision algorithm.
void init_weights (size_t _max_valence=20)
 Pre-compute weights.

Protected Member Functions

bool prepare (mesh_t &_m)
bool cleanup (mesh_t &_m)
bool subdivide (mesh_t &_m, size_t _n)

Detailed Description

template<typename MeshType, typename RealType = float>
class OpenMesh::Subdivider::Uniform::ModifiedButterflyT< MeshType, RealType >

Modified Butterfly subdivision algorithm.

Implementation of the modified butterfly scheme of Denis Zorin, Peter Schröder and Wim Sweldens, ``Interpolating subdivision for meshes with arbitrary topology,'' in Proceedings of SIGGRAPH 1996, ACM SIGGRAPH, 1996, pp. 189-192.

Clement Courbet - clement.courbet@ecp.fr


The documentation for this class was generated from the following file:

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .