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

VertStrip Class Reference

#include <vert_strip.H>

Inheritance diagram for VertStrip:

Inheritance graph
[legend]
Collaboration diagram for VertStrip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Member Functions

void set_patch (Patch *p)
void set_patch_index (int k)
int patch_index () const

Protected Attributes

ARRAY< Bvert * > _verts
Patch * _patch
int _index

Friends

class Patch

Detailed Description

Definition at line 20 of file vert_strip.H.


Constructor & Destructor Documentation

VertStrip::VertStrip (   )  [inline]
 

Definition at line 23 of file vert_strip.H.

VertStrip::~VertStrip (   )  [virtual]
 

Definition at line 12 of file vert_strip.C.

References _patch, and Patch::remove().


Member Function Documentation

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

Definition at line 40 of file vert_strip.H.

References _verts.

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

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

Reimplemented in LvertStrip.

Definition at line 19 of file vert_strip.C.

References _verts, StripCB::begin_verts(), empty(), StripCB::end_verts(), ARRAY< T >::num(), and StripCB::vertCB().

Referenced by LvertStrip::draw(), and ColorIDTexture::draw_verts().

bool VertStrip::empty (   )  const [inline]
 

Definition at line 32 of file vert_strip.H.

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

Referenced by draw().

int VertStrip::num (   )  const [inline]
 

Definition at line 33 of file vert_strip.H.

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

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

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

Definition at line 28 of file vert_strip.H.

References _patch.

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

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

Definition at line 55 of file vert_strip.H.

References _index.

Referenced by Patch::remove().

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

Reimplemented in LvertStrip.

Definition at line 39 of file vert_strip.H.

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

Referenced by BMESH::build_vert_strips(), and LvertStrip::reset().

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

Definition at line 53 of file vert_strip.H.

References _patch.

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

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

Definition at line 54 of file vert_strip.H.

References _index.

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

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

Definition at line 30 of file vert_strip.H.

References _verts.

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

Definition at line 27 of file vert_strip.H.

References _verts.


Friends And Related Function Documentation

friend class Patch [friend]
 

Definition at line 43 of file vert_strip.H.


Member Data Documentation

int VertStrip::_index [protected]
 

Definition at line 48 of file vert_strip.H.

Referenced by patch_index(), and set_patch_index().

Patch* VertStrip::_patch [protected]
 

Definition at line 47 of file vert_strip.H.

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

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

Definition at line 46 of file vert_strip.H.

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


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