Developer Documentation
|
#include <OpenMesh/Tools/Utils/StripifierT.hh>
Public Member Functions | |
StripifierT (Mesh &_mesh) | |
Default constructor. | |
~StripifierT () | |
Destructor. | |
size_t | stripify () |
Compute triangle strips, returns number of strips. | |
void | clear () |
delete all strips | |
size_t | n_strips () const |
returns number of strips | |
bool | is_valid () const |
are strips computed? | |
StripsIterator | begin () const |
Access strips. | |
StripsIterator | end () const |
Access strips. | |
Private Types | |
typedef std::vector< typename Mesh::FaceHandle > | FaceHandles |
Private Member Functions | |
void | build_strips () |
this method does the main work | |
void | build_strip (typename Mesh::HalfedgeHandle _start_hh, Strip &_strip, FaceHandles &_faces) |
build a strip from a given halfedge (in both directions) | |
FPropHandleT< bool >::reference | processed (typename Mesh::FaceHandle _fh) |
FPropHandleT< bool >::reference | used (typename Mesh::FaceHandle _fh) |
Private Attributes | |
Mesh & | mesh_ |
Strips | strips_ |
FPropHandleT< bool > | processed_ |
FPropHandleT< bool > | used_ |
This class decomposes a triangle mesh into several triangle strips.
Definition at line 84 of file StripifierT.hh.