#include <SubdividerT.hh>
Inheritance diagram for OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >:

Public Member Functions | |
| SubdividerT (void) | |
| Constructor. | |
| virtual | ~SubdividerT () |
| Descructor (calls detach()). | |
| virtual const char * | name (void) const=0 |
| Return name of subdivision algorithm. | |
Interface 1 | |
| bool | operator() (MeshType &_m, size_t _n) |
Subdivide the mesh _m _n times. | |
Interface 2 | |
| bool | attach (MeshType &_m) |
Attach mesh _m to self. | |
| bool | operator() (size_t _n) |
Subdivide the attached _n times. | |
| void | detach (void) |
| Detach an eventually attached mesh. | |
Protected Member Functions | |
Overload theses methods | |
| virtual bool | prepare (MeshType &_m)=0 |
| Prepare mesh, e.g. add properties. | |
| virtual bool | subdivide (MeshType &_m, size_t _n)=0 |
Subdivide mesh _m _n times. | |
| virtual bool | cleanup (MeshType &_m)=0 |
| Cleanup mesh after usage, e.g. remove added properties. | |
A derived class must overload the following functions:
| OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >::SubdividerT | ( | void | ) | [inline] |
| bool OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >::operator() | ( | MeshType & | _m, | |
| size_t | _n | |||
| ) | [inline] |
Subdivide the mesh _m _n times.
| bool OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >::attach | ( | MeshType & | _m | ) | [inline] |
| bool OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >::operator() | ( | size_t | _n | ) | [inline] |
| void OpenMesh::Subdivider::Uniform::SubdividerT< MeshType, RealType >::detach | ( | void | ) | [inline] |