Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MesherI Class Reference

#include <mesher.h>

Inheritance diagram for MesherI:

MesherTempl< BuilderPrimI > List of all members.

Public Types

typedef BuilderPrimI Prim
typedef TYPENAME BuilderPrimI::Vertex Vertex
typedef TYPENAME BuilderPrimI::DAttrib MAttrib
typedef MesherEdge< BuilderPrimIEdge
typedef MesherStrip< BuilderPrimIStrip
typedef MesherFanMaker< BuilderPrimIFanMaker

Public Member Functions

 MesherI (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< StripStrips
typedef pset< Edge, less<
Edge > > 
Edges
typedef pset< Edge *, less<
Edge * > > 
EdgePtrs
typedef pmap< Vertex, EdgePtrs,
less< Vertex > > 
Verts
typedef pvector< BuilderCColors
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 ()
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 >

Member Typedef Documentation

typedef pvector<BuilderC> MesherTempl< BuilderPrimI >::Colors [protected, inherited]
 

Definition at line 66 of file mesherTempl.h.

typedef pmap<int, int, less<int> > MesherTempl< BuilderPrimI >::ColorSheetMap [protected, inherited]
 

Definition at line 68 of file mesherTempl.h.

typedef MesherEdge<BuilderPrimI> MesherTempl< BuilderPrimI >::Edge [inherited]
 

Definition at line 45 of file mesherTempl.h.

typedef pset<Edge *, less<Edge *> > MesherTempl< BuilderPrimI >::EdgePtrs [protected, inherited]
 

Definition at line 62 of file mesherTempl.h.

typedef pset<Edge, less<Edge> > MesherTempl< BuilderPrimI >::Edges [protected, inherited]
 

Definition at line 61 of file mesherTempl.h.

typedef MesherFanMaker<BuilderPrimI> MesherTempl< BuilderPrimI >::FanMaker [inherited]
 

Definition at line 47 of file mesherTempl.h.

typedef TYPENAME BuilderPrimI::DAttrib MesherTempl< BuilderPrimI >::MAttrib [inherited]
 

Definition at line 44 of file mesherTempl.h.

typedef BuilderPrimI MesherTempl< BuilderPrimI >::Prim [inherited]
 

Definition at line 42 of file mesherTempl.h.

typedef MesherStrip<BuilderPrimI> MesherTempl< BuilderPrimI >::Strip [inherited]
 

Definition at line 46 of file mesherTempl.h.

typedef plist<Strip> MesherTempl< BuilderPrimI >::Strips [protected, inherited]
 

Definition at line 60 of file mesherTempl.h.

typedef TYPENAME BuilderPrimI::Vertex MesherTempl< BuilderPrimI >::Vertex [inherited]
 

Definition at line 43 of file mesherTempl.h.

typedef pmap<Vertex, EdgePtrs, less<Vertex> > MesherTempl< BuilderPrimI >::Verts [protected, inherited]
 

Definition at line 63 of file mesherTempl.h.


Constructor & Destructor Documentation

MesherI::MesherI BuilderBucket bucket  )  [inline]
 

Definition at line 54 of file mesher.h.


Member Function Documentation

int MesherTempl< BuilderPrimI >::add_prim const Prim prim,
MesherStripOrigin  origin = MO_user
[inherited]
 

void MesherTempl< BuilderPrimI >::build_sheets  )  [protected, inherited]
 

plist<Strip>& MesherTempl< BuilderPrimI >::choose_strip_list const Strip strip  )  [protected, inherited]
 

int MesherTempl< BuilderPrimI >::count_vert_edges const EdgePtrs edges  )  const [protected, inherited]
 

void MesherTempl< BuilderPrimI >::finalize void   )  [inherited]
 

void MesherTempl< BuilderPrimI >::find_fans  )  [protected, inherited]
 

Prim MesherTempl< BuilderPrimI >::getPrim  )  [inherited]
 

void MesherTempl< BuilderPrimI >::make_quads  )  [protected, inherited]
 

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 MesherTempl< BuilderPrimI >::mesh  )  [inherited]
 

void MesherTempl< BuilderPrimI >::meshList Strips strips  )  [protected, inherited]
 

void MesherTempl< BuilderPrimI >::show ostream &  out  )  [inherited]
 


Friends And Related Function Documentation

friend class MesherFanMaker< BuilderPrimI > [friend, inherited]
 

Definition at line 89 of file mesherTempl.h.

friend class MesherStrip< BuilderPrimI > [friend, inherited]
 

Definition at line 88 of file mesherTempl.h.


Member Data Documentation

BuilderBucket* MesherTempl< BuilderPrimI >::_bucket [protected, inherited]
 

Definition at line 83 of file mesherTempl.h.

ColorSheetMap MesherTempl< BuilderPrimI >::_color_sheets [protected, inherited]
 

Definition at line 86 of file mesherTempl.h.

Colors MesherTempl< BuilderPrimI >::_colors [protected, inherited]
 

Definition at line 85 of file mesherTempl.h.

Strips MesherTempl< BuilderPrimI >::_dead [protected, inherited]
 

Definition at line 79 of file mesherTempl.h.

Strips MesherTempl< BuilderPrimI >::_done [protected, inherited]
 

Definition at line 79 of file mesherTempl.h.

Edges MesherTempl< BuilderPrimI >::_edges [protected, inherited]
 

Definition at line 81 of file mesherTempl.h.

TYPENAME Strips::iterator MesherTempl< BuilderPrimI >::_next_strip [protected, inherited]
 

Definition at line 84 of file mesherTempl.h.

Strips MesherTempl< BuilderPrimI >::_quads [protected, inherited]
 

Definition at line 78 of file mesherTempl.h.

int MesherTempl< BuilderPrimI >::_stripIndex [protected, inherited]
 

Definition at line 82 of file mesherTempl.h.

Strips MesherTempl< BuilderPrimI >::_strips [protected, inherited]
 

Definition at line 78 of file mesherTempl.h.

Strips MesherTempl< BuilderPrimI >::_tris [protected, inherited]
 

Definition at line 78 of file mesherTempl.h.

Verts MesherTempl< BuilderPrimI >::_verts [protected, inherited]
 

Definition at line 80 of file mesherTempl.h.


The documentation for this class was generated from the following file:
Generated on Fri May 2 00:52:10 2003 for Panda by doxygen1.3