Developer Documentation
|
#include <OpenMesh/Tools/Utils/StripifierT.hh>
Public Types | |
typedef unsigned int | Index |
typedef std::vector< Index > | Strip |
typedef Strip::const_iterator | IndexIterator |
typedef std::vector< Strip > | Strips |
typedef Strips::const_iterator | StripsIterator |
Public Member Functions | |
StripifierT (Mesh &_mesh) | |
Default constructor. More... | |
~StripifierT () | |
Destructor. More... | |
size_t | stripify () |
Compute triangle strips, returns number of strips. More... | |
void | clear () |
delete all strips More... | |
size_t | n_strips () const |
returns number of strips More... | |
bool | is_valid () const |
are strips computed? More... | |
StripsIterator | begin () const |
Access strips. More... | |
StripsIterator | end () const |
Access strips. More... | |
Private Types | |
typedef std::vector< typename Mesh::FaceHandle > | FaceHandles |
Private Member Functions | |
void | build_strips () |
this method does the main work More... | |
void | build_strip (typename Mesh::HalfedgeHandle _start_hh, Strip &_strip, FaceHandles &_faces) |
build a strip from a given halfedge (in both directions) More... | |
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 79 of file StripifierT.hh.
|
private |
Definition at line 116 of file StripifierT.hh.
typedef unsigned int OpenMesh::StripifierT< Mesh >::Index |
Definition at line 83 of file StripifierT.hh.
typedef Strip::const_iterator OpenMesh::StripifierT< Mesh >::IndexIterator |
Definition at line 85 of file StripifierT.hh.
typedef std::vector<Index> OpenMesh::StripifierT< Mesh >::Strip |
Definition at line 84 of file StripifierT.hh.
typedef std::vector<Strip> OpenMesh::StripifierT< Mesh >::Strips |
Definition at line 86 of file StripifierT.hh.
typedef Strips::const_iterator OpenMesh::StripifierT< Mesh >::StripsIterator |
Definition at line 87 of file StripifierT.hh.
|
explicit |
Default constructor.
Definition at line 66 of file StripifierT_impl.hh.
OpenMesh::StripifierT< Mesh >::~StripifierT |
Destructor.
Definition at line 74 of file StripifierT_impl.hh.
|
inline |
Access strips.
Definition at line 109 of file StripifierT.hh.
|
private |
build a strip from a given halfedge (in both directions)
Definition at line 191 of file StripifierT_impl.hh.
|
private |
this method does the main work
Definition at line 107 of file StripifierT_impl.hh.
|
inline |
delete all strips
Definition at line 100 of file StripifierT.hh.
|
inline |
Access strips.
Definition at line 111 of file StripifierT.hh.
|
inline |
are strips computed?
Definition at line 106 of file StripifierT.hh.
|
inline |
returns number of strips
Definition at line 103 of file StripifierT.hh.
|
inlineprivate |
Definition at line 127 of file StripifierT.hh.
size_t OpenMesh::StripifierT< Mesh >::stripify |
Compute triangle strips, returns number of strips.
Definition at line 81 of file StripifierT_impl.hh.
|
inlineprivate |
Definition at line 130 of file StripifierT.hh.
|
private |
Definition at line 138 of file StripifierT.hh.
|
private |
Definition at line 140 of file StripifierT.hh.
|
private |
Definition at line 139 of file StripifierT.hh.
|
private |
Definition at line 140 of file StripifierT.hh.