OpenMesh.Tools.Subdivider.Uniform.SubdividerT



class SubdividerT (MeshType,RealType = float);
Abstract base class for uniform subdivision algorithms.

A derived class must overload the following functions: -# name() -# prepare() -# subdivide() -# cleanup()

this();
\name Constructors

Constructor to be used with interface 2

See Also:
attach(), operator()(size_t), detach()

this(MeshType _m);
Constructor to be used with interface 1 (calls attach())

See Also:
operator()( MeshType&, size_t )

string name ();
Return name of subdivision algorithm

bool opCall (MeshType _m, size_t _n);
Subdivide the mesh \c m \c n times.

See Also:
SubdividerT(MeshType&)

bool attach (MeshType _m);
Attach mesh \c m to self

See Also:
SubdividerT(), operator()(size_t), detach()

bool opCall (size_t _n);
Subdivide the attached \c n times.

See Also:
SubdividerT(), attach(), detach()

void detach ();
Detach an eventually attached mesh.

See Also:
SubdividerT(), attach(), operator()(size_t)

bool prepare (MeshType _m);
\name Overload theses methods

Prepare mesh, e.g. add properties

bool subdivide (MeshType _m, size_t _n);
Subdivide mesh \c m \c n times

bool cleanup (MeshType _m);
Cleanup mesh after usage, e.g. remove added properties

Page was generated with CanDyDOC on Fri Oct 12 16:12:17 2007