Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TriStrip Class Reference

#include <tri_strip.H>

Inheritance diagram for TriStrip:

Inheritance graph
[legend]
Collaboration diagram for TriStrip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TriStrip (int s=0)
virtual ~TriStrip ()
CBvert_list & verts () const
CBface_list & faces () const
Bvert * vert (int i) const
Bface * face (int i) const
bool orientation () const
bool empty () const
int num () const
virtual void reset ()
void add (Bvert *v, Bface *f)
virtual void draw (StripCB *cb)

Static Public Member Functions

static void get_strips (Bface *, ARRAY< TriStrip * > &)

Protected Member Functions

Bface * backup_strip (Bface *, Bvert *&)
bool build (Bface *, Bface_list &)

Protected Attributes

bool _orientation
Bvert_list _verts
Bface_list _faces

Detailed Description

Definition at line 17 of file tri_strip.H.


Constructor & Destructor Documentation

TriStrip::TriStrip (  int  s = 0  )  [inline]
 

Definition at line 20 of file tri_strip.H.

virtual TriStrip::~TriStrip (   )  [inline, virtual]
 

Definition at line 21 of file tri_strip.H.


Member Function Documentation

void TriStrip::add (  Bvert *  v,
Bface *  f
)  [inline]
 

Reimplemented in Lstrip.

Definition at line 36 of file tri_strip.H.

References _faces, and _verts.

Referenced by Lstrip::add(), and build().

Bface * TriStrip::backup_strip (  Bface *  ,
Bvert *& 
)  [protected]
 

Definition at line 56 of file tri_strip.C.

References _orientation, Bedge::consistent_orientation(), Bface::edge_from_vert(), Bsimplex::flag(), is_cleared(), Bedge::is_crossable(), mark_face(), Bface::next_vert_ccw(), Bedge::other_face(), and Bface::other_vertex().

Referenced by build().

bool TriStrip::build (  Bface *  ,
Bface_list & 
)  [protected]
 

Definition at line 94 of file tri_strip.C.

References _orientation, add(), backup_strip(), claim_face(), err_msg(), Bsimplex::flag(), is_claimed(), is_cleared(), Bface::next_strip_face(), Bface::next_vert_ccw(), Bface::opposite_face(), Bface::orient_strip(), Bface::other_vertex(), Bface::patch(), reset(), and Bface::v1().

Referenced by get_strips().

void TriStrip::draw (  StripCB *  cb  )  [virtual]
 

Reimplemented in Lstrip.

Definition at line 204 of file tri_strip.C.

References _faces, _orientation, _verts, StripCB::begin_faces(), empty(), StripCB::end_faces(), err_msg(), StripCB::faceCB(), Bface_list::has_any_secondary(), ARRAY< T >::num(), Bface_list::num_secondary(), Bface_list::secondary_faces(), MeshGlobal::select(), and BMESH::show_secondary_faces().

Referenced by Lstrip::draw().

bool TriStrip::empty (   )  const [inline]
 

Definition at line 31 of file tri_strip.H.

References _verts, and ARRAY< T >::empty().

Referenced by draw().

Bface* TriStrip::face (  int  i  )  const [inline]
 

Definition at line 28 of file tri_strip.H.

References _faces.

CBface_list& TriStrip::faces (   )  const [inline]
 

Definition at line 25 of file tri_strip.H.

References _faces.

void TriStrip::get_strips (  Bface *  ,
ARRAY< TriStrip * > & 
)  [static]
 

Definition at line 175 of file tri_strip.C.

References build(), ARRAY< T >::clear(), ARRAY< T >::empty(), is_cleared(), Bsimplex::mesh(), BMESH::new_tri_strip(), and ARRAY< T >::pop().

Referenced by Patch::build_tri_strips().

int TriStrip::num (   )  const [inline]
 

Definition at line 32 of file tri_strip.H.

References _verts, and ARRAY< T >::num().

bool TriStrip::orientation (   )  const [inline]
 

Definition at line 30 of file tri_strip.H.

References _orientation.

virtual void TriStrip::reset (   )  [inline, virtual]
 

Reimplemented in Lstrip.

Definition at line 35 of file tri_strip.H.

References _faces, _orientation, _verts, and ARRAY< T >::clear().

Referenced by build(), and Lstrip::reset().

Bvert* TriStrip::vert (  int  i  )  const [inline]
 

Definition at line 27 of file tri_strip.H.

References _verts.

CBvert_list& TriStrip::verts (   )  const [inline]
 

Definition at line 24 of file tri_strip.H.

References _verts.

Referenced by IVTriStripIterator::begin_faces().


Member Data Documentation

Bface_list TriStrip::_faces [protected]
 

Definition at line 47 of file tri_strip.H.

Referenced by add(), Lstrip::add(), draw(), face(), faces(), and reset().

bool TriStrip::_orientation [protected]
 

Definition at line 45 of file tri_strip.H.

Referenced by backup_strip(), build(), draw(), Lstrip::generate_substrips(), orientation(), and reset().

Bvert_list TriStrip::_verts [protected]
 

Definition at line 46 of file tri_strip.H.

Referenced by add(), Lstrip::add(), Lstrip::build_substrip1(), Lstrip::build_substrip2(), Lstrip::cur_level(), draw(), empty(), num(), reset(), Lstrip::subvert(), vert(), and verts().


The documentation for this class was generated from the following files:
Generated on Mon Sep 18 11:47:38 2006 for jot by  doxygen 1.4.4