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

Lstrip Class Reference

#include <lstrip.H>

Inheritance diagram for Lstrip:

Inheritance graph
[legend]
Collaboration diagram for Lstrip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Lstrip (int s=0)
virtual ~Lstrip ()
void delete_substrips ()
virtual void reset ()
void add (Bvert *v, Bface *f)
virtual void draw (StripCB *cb)
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

Static Public Member Functions

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

Protected Member Functions

Bvert * subvert (int j) const
Bvert * subvert (int j, int k) const
void build_substrip1 (Lstrip *substrip)
void build_substrip2 (Lstrip *substrip)
void add (Bvert *)
void generate_substrips ()
int cur_level () const
void draw (int level, StripCB *cb)
Bface * backup_strip (Bface *, Bvert *&)
bool build (Bface *, Bface_list &)

Protected Attributes

Lstrip * _right_substrip
Lstrip * _left_substrip
bool _orientation
Bvert_list _verts
Bface_list _faces

Detailed Description

Definition at line 20 of file lstrip.H.


Constructor & Destructor Documentation

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

Definition at line 23 of file lstrip.H.

Referenced by generate_substrips().

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

Definition at line 24 of file lstrip.H.

References delete_substrips().


Member Function Documentation

void Lstrip::add (  Bvert *   )  [protected]
 

Definition at line 42 of file lstrip.C.

References TriStrip::_faces, TriStrip::_verts, err_msg(), lookup_face(), and ARRAY< T >::num().

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

Reimplemented from TriStrip.

Definition at line 30 of file lstrip.H.

References TriStrip::add().

Referenced by build_substrip1(), and build_substrip2().

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

Definition at line 56 of file tri_strip.C.

References TriStrip::_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 TriStrip::build().

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

Definition at line 94 of file tri_strip.C.

References TriStrip::_orientation, TriStrip::add(), TriStrip::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(), TriStrip::reset(), and Bface::v1().

Referenced by TriStrip::get_strips().

void Lstrip::build_substrip1 (  Lstrip *  substrip  )  [protected]
 

Definition at line 76 of file lstrip.C.

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

Referenced by generate_substrips().

void Lstrip::build_substrip2 (  Lstrip *  substrip  )  [protected]
 

Definition at line 93 of file lstrip.C.

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

Referenced by generate_substrips().

int Lstrip::cur_level (   )  const [protected]
 

Definition at line 24 of file lstrip.C.

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

Referenced by draw().

void Lstrip::delete_substrips (   ) 
 

Definition at line 9 of file lstrip.C.

References _left_substrip, and _right_substrip.

Referenced by Lpatch::clear_subdiv_strips(), reset(), and ~Lstrip().

void Lstrip::draw (  int  level,
StripCB *  cb
)  [protected]
 

Definition at line 30 of file lstrip.C.

References _left_substrip, _right_substrip, draw(), TriStrip::draw(), and generate_substrips().

virtual void Lstrip::draw (  StripCB *  cb  )  [inline, virtual]
 

Reimplemented from TriStrip.

Definition at line 33 of file lstrip.H.

References cur_level().

Referenced by draw().

bool TriStrip::empty (   )  const [inline, inherited]
 

Definition at line 31 of file tri_strip.H.

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

Referenced by TriStrip::draw().

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

Definition at line 28 of file tri_strip.H.

References TriStrip::_faces.

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

Definition at line 25 of file tri_strip.H.

References TriStrip::_faces.

void Lstrip::generate_substrips (   )  [protected]
 

Definition at line 110 of file lstrip.C.

References _left_substrip, TriStrip::_orientation, _right_substrip, build_substrip1(), build_substrip2(), and Lstrip().

Referenced by draw().

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

Definition at line 175 of file tri_strip.C.

References TriStrip::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, inherited]
 

Definition at line 32 of file tri_strip.H.

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

bool TriStrip::orientation (   )  const [inline, inherited]
 

Definition at line 30 of file tri_strip.H.

References TriStrip::_orientation.

void Lstrip::reset (   )  [virtual]
 

Reimplemented from TriStrip.

Definition at line 17 of file lstrip.C.

References delete_substrips(), and TriStrip::reset().

Bvert* Lstrip::subvert (  int  j,
int  k
)  const [inline, protected]
 

Definition at line 47 of file lstrip.H.

References TriStrip::_verts, and lookup_edge().

Bvert* Lstrip::subvert (  int  j  )  const [inline, protected]
 

Definition at line 44 of file lstrip.H.

References TriStrip::_verts.

Referenced by build_substrip1(), and build_substrip2().

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

Definition at line 27 of file tri_strip.H.

References TriStrip::_verts.

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

Definition at line 24 of file tri_strip.H.

References TriStrip::_verts.

Referenced by IVTriStripIterator::begin_faces().


Member Data Documentation

Bface_list TriStrip::_faces [protected, inherited]
 

Definition at line 47 of file tri_strip.H.

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

Lstrip* Lstrip::_left_substrip [protected]
 

Definition at line 38 of file lstrip.H.

Referenced by delete_substrips(), draw(), and generate_substrips().

bool TriStrip::_orientation [protected, inherited]
 

Definition at line 45 of file tri_strip.H.

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

Lstrip* Lstrip::_right_substrip [protected]
 

Definition at line 37 of file lstrip.H.

Referenced by delete_substrips(), draw(), and generate_substrips().

Bvert_list TriStrip::_verts [protected, inherited]
 

Definition at line 46 of file tri_strip.H.

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


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