#include <mesherTempl.h>
Public Types | |
typedef PrimType | Prim |
typedef TYPENAME PrimType::Vertex | Vertex |
typedef TYPENAME PrimType::DAttrib | MAttrib |
typedef MesherEdge< PrimType > | Edge |
typedef MesherStrip< PrimType > | Strip |
typedef MesherFanMaker< PrimType > | FanMaker |
Public Member Functions | |
MesherTempl (BuilderBucket *bucket) | |
int | add_prim (const Prim &prim, MesherStripOrigin origin=MO_user) |
void | mesh () |
Prim | getPrim () |
void | finalize () |
void | show (ostream &out) |
Protected Types | |
typedef plist< Strip > | Strips |
typedef pset< Edge, less< Edge > > | Edges |
typedef pset< Edge *, less< Edge * > > | EdgePtrs |
typedef pmap< Vertex, EdgePtrs, less< Vertex > > | Verts |
typedef pvector< BuilderC > | Colors |
typedef pmap< int, int, less< int > > | ColorSheetMap |
Protected Member Functions | |
int | count_vert_edges (const EdgePtrs &edges) const |
plist< Strip > & | choose_strip_list (const Strip &strip) |
void | build_sheets () |
void | find_fans () |
void | make_quads () |
Attempts to join up all the single tris to its neighbor and reconstruct a pattern of quads, suitable for making into quadsheets or at least quadstrips. | |
void | meshList (Strips &strips) |
Protected Attributes | |
Strips | _tris |
Strips | _quads |
Strips | _strips |
Strips | _dead |
Strips | _done |
Verts | _verts |
Edges | _edges |
int | _stripIndex |
BuilderBucket * | _bucket |
TYPENAME Strips::iterator | _next_strip |
Colors | _colors |
ColorSheetMap | _color_sheets |
Friends | |
class | MesherStrip< PrimType > |
class | MesherFanMaker< PrimType > |
|
Definition at line 66 of file mesherTempl.h. |
|
Definition at line 68 of file mesherTempl.h. |
|
Definition at line 45 of file mesherTempl.h. |
|
Definition at line 62 of file mesherTempl.h. |
|
Definition at line 61 of file mesherTempl.h. |
|
Definition at line 47 of file mesherTempl.h. |
|
Definition at line 44 of file mesherTempl.h. |
|
Definition at line 42 of file mesherTempl.h. |
|
Definition at line 46 of file mesherTempl.h. |
|
Definition at line 60 of file mesherTempl.h. |
|
Definition at line 43 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::find_fans(), and MesherTempl< PrimType >::show(). |
|
Definition at line 63 of file mesherTempl.h. |
|
Definition at line 31 of file mesherTempl.I. References MesherTempl< PrimType >::_done, and MesherTempl< PrimType >::_next_strip. |
|
Definition at line 39 of file mesherTempl.I. |
|
Definition at line 429 of file mesherTempl.I. References MesherTempl< PrimType >::_bucket, MesherTempl< PrimType >::_quads, MesherTempl< PrimType >::choose_strip_list(), list, MS_alive, NULL, and TYPENAME. |
|
Definition at line 398 of file mesherTempl.I. References MesherTempl< PrimType >::_dead, MesherTempl< PrimType >::_done, MesherTempl< PrimType >::_quads, MesherTempl< PrimType >::_strips, MesherTempl< PrimType >::_tris, BPT_quad, BPT_tri, MS_alive, and MS_dead. Referenced by MesherTempl< PrimType >::build_sheets(). |
|
Definition at line 387 of file mesherTempl.I. |
|
Definition at line 328 of file mesherTempl.I. References MesherTempl< PrimType >::_colors. |
|
Definition at line 506 of file mesherTempl.I. References MesherTempl< PrimType >::_verts, BPT_tri, TYPENAME, and MesherTempl< PrimType >::Vertex. |
|
Definition at line 152 of file mesherTempl.I. |
|
Attempts to join up all the single tris to its neighbor and reconstruct a pattern of quads, suitable for making into quadsheets or at least quadstrips.
Definition at line 604 of file mesherTempl.I. References MesherTempl< PrimType >::_tris, BPT_tri, MS_alive, MS_paired, and TYPENAME. |
|
Definition at line 108 of file mesherTempl.I. |
|
Definition at line 680 of file mesherTempl.I. |
|
Definition at line 346 of file mesherTempl.I. References MesherTempl< PrimType >::_verts, TYPENAME, and MesherTempl< PrimType >::Vertex. |
|
Definition at line 89 of file mesherTempl.h. |
|
Definition at line 88 of file mesherTempl.h. |
|
Definition at line 83 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::build_sheets(). |
|
Definition at line 86 of file mesherTempl.h. |
|
Definition at line 85 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::finalize(). |
|
Definition at line 79 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::choose_strip_list(). |
|
Definition at line 79 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::choose_strip_list(), and MesherTempl< PrimType >::MesherTempl(). |
|
Definition at line 81 of file mesherTempl.h. |
|
Definition at line 84 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::MesherTempl(). |
|
Definition at line 78 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::build_sheets(), and MesherTempl< PrimType >::choose_strip_list(). |
|
Definition at line 82 of file mesherTempl.h. |
|
Definition at line 78 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::choose_strip_list(). |
|
Definition at line 78 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::choose_strip_list(), and MesherTempl< PrimType >::make_quads(). |
|
Definition at line 80 of file mesherTempl.h. Referenced by MesherTempl< PrimType >::find_fans(), and MesherTempl< PrimType >::show(). |