|
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. | |
| ~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 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.