Uniform Loop subdivision algorithm. More...
#include </data1/home1/moebius/projects/release/OpenMesh-2.0/src/OpenMesh/Tools/Subdivider/Uniform/LoopT.hh>
Classes | |
struct | compute_weight |
Helper functor to compute weights for Loop-subdivision. | |
Public Types | |
typedef RealType | real_t |
typedef MeshType | mesh_t |
typedef SubdividerT< mesh_t, real_t > | parent_t |
typedef std::pair< real_t, real_t > | weight_t |
typedef std::vector< std::pair < real_t, real_t > > | weights_t |
Public Member Functions | |
LoopT (mesh_t &_m) | |
const char * | name () const |
Return name of subdivision algorithm. | |
void | init_weights (size_t _max_valence=50) |
Pre-compute weights. | |
Protected Member Functions | |
bool | prepare (mesh_t &_m) |
bool | cleanup (mesh_t &_m) |
bool | subdivide (mesh_t &_m, size_t _n) |
Uniform Loop subdivision algorithm.
Implementation as described in
C. T. Loop, "Smooth Subdivision Surfaces Based on Triangles", M.S. Thesis, Department of Mathematics, University of Utah, August 1987.