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

LvertStrip Class Reference

#include <lvert_strip.H>

Inheritance diagram for LvertStrip:

Inheritance graph
[legend]
Collaboration diagram for LvertStrip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LvertStrip ()
virtual ~LvertStrip ()
void clear_subdivision (int level)
Lvert * lv (int i) const
virtual void reset ()
virtual void draw (StripCB *cb)
CARRAY< Bvert * > & verts () const
Patch * patch () const
Bvert * vert (int i) const
bool empty () const
int num () const
void add (Bvert *v)

Protected Member Functions

void delete_substrip ()
void generate_substrip ()
int cur_level () const
void draw (int level, StripCB *cb)
void set_patch (Patch *p)
void set_patch_index (int k)
int patch_index () const

Protected Attributes

LvertStrip * _substrip
ARRAY< Bvert * > _verts
Patch * _patch
int _index

Friends

class Patch

Detailed Description

Definition at line 21 of file lvert_strip.H.


Constructor & Destructor Documentation

LvertStrip::LvertStrip (   )  [inline]
 

Definition at line 24 of file lvert_strip.H.

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

Definition at line 25 of file lvert_strip.H.

References delete_substrip().


Member Function Documentation

void VertStrip::add (  Bvert *  v  )  [inline, inherited]
 

Definition at line 40 of file vert_strip.H.

References VertStrip::_verts.

Referenced by BMESH::build_vert_strips(), and generate_substrip().

void LvertStrip::clear_subdivision (  int  level  ) 
 

Definition at line 49 of file lvert_strip.C.

References _substrip, clear_subdivision(), delete_substrip(), and reset().

Referenced by clear_subdivision().

int LvertStrip::cur_level (   )  const [protected]
 

Definition at line 10 of file lvert_strip.C.

References VertStrip::_verts, ARRAY< T >::empty(), Lvert::lmesh(), lv(), and BMESH::rel_cur_level().

Referenced by draw().

void LvertStrip::delete_substrip (   )  [inline, protected]
 

Definition at line 42 of file lvert_strip.H.

References _substrip.

Referenced by clear_subdivision(), reset(), and ~LvertStrip().

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

Definition at line 19 of file lvert_strip.C.

References _substrip, draw(), VertStrip::draw(), and generate_substrip().

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

Reimplemented from VertStrip.

Definition at line 35 of file lvert_strip.H.

References cur_level().

Referenced by draw().

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

Definition at line 32 of file vert_strip.H.

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

Referenced by VertStrip::draw().

void LvertStrip::generate_substrip (   )  [protected]
 

Definition at line 30 of file lvert_strip.C.

References _substrip, VertStrip::_verts, VertStrip::add(), ARRAY< T >::num(), and Ledge::subdiv_vertex().

Referenced by draw().

Lvert* LvertStrip::lv (  int  i  )  const [inline]
 

Definition at line 29 of file lvert_strip.H.

References VertStrip::_verts.

Referenced by cur_level().

int VertStrip::num (   )  const [inline, inherited]
 

Definition at line 33 of file vert_strip.H.

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

Referenced by BMESH::build_vert_strips(), and ColorIDTexture::draw_verts().

Patch* VertStrip::patch (   )  const [inline, inherited]
 

Definition at line 28 of file vert_strip.H.

References VertStrip::_patch.

Referenced by Patch::add(), and Patch::remove().

int VertStrip::patch_index (   )  const [inline, protected, inherited]
 

Definition at line 55 of file vert_strip.H.

References VertStrip::_index.

Referenced by Patch::remove().

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

Reimplemented from VertStrip.

Definition at line 32 of file lvert_strip.H.

References delete_substrip(), and VertStrip::reset().

Referenced by clear_subdivision().

void VertStrip::set_patch (  Patch *  p  )  [inline, protected, inherited]
 

Definition at line 53 of file vert_strip.H.

References VertStrip::_patch.

Referenced by Patch::add(), and Patch::remove().

void VertStrip::set_patch_index (  int  k  )  [inline, protected, inherited]
 

Definition at line 54 of file vert_strip.H.

References VertStrip::_index.

Referenced by Patch::add(), and Patch::remove().

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

Definition at line 30 of file vert_strip.H.

References VertStrip::_verts.

CARRAY<Bvert*>& VertStrip::verts (   )  const [inline, inherited]
 

Definition at line 27 of file vert_strip.H.

References VertStrip::_verts.


Friends And Related Function Documentation

friend class Patch [friend, inherited]
 

Definition at line 43 of file vert_strip.H.


Member Data Documentation

int VertStrip::_index [protected, inherited]
 

Definition at line 48 of file vert_strip.H.

Referenced by VertStrip::patch_index(), and VertStrip::set_patch_index().

Patch* VertStrip::_patch [protected, inherited]
 

Definition at line 47 of file vert_strip.H.

Referenced by VertStrip::patch(), VertStrip::set_patch(), and VertStrip::~VertStrip().

LvertStrip* LvertStrip::_substrip [protected]
 

Definition at line 39 of file lvert_strip.H.

Referenced by clear_subdivision(), delete_substrip(), draw(), and generate_substrip().

ARRAY<Bvert*> VertStrip::_verts [protected, inherited]
 

Definition at line 46 of file vert_strip.H.

Referenced by VertStrip::add(), cur_level(), VertStrip::draw(), VertStrip::empty(), generate_substrip(), lv(), VertStrip::num(), VertStrip::reset(), VertStrip::vert(), and VertStrip::verts().


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