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

SimplexDataList Class Reference

#include <simplex_data.H>

Inheritance diagram for SimplexDataList:

Inheritance graph
[legend]
Collaboration diagram for SimplexDataList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimplexDataList (int n=0)
 ~SimplexDataList ()
SimplexDataget_item (uint key) const
void notify_split (Bsimplex *new_simp) const
void notify_simplex_changed () const
void notify_normal_changed () const
void notify_simplex_xformed (CWtransf &xf) const
void notify_simplex_deleted () const
void notify_subdiv_gen () const
bool handle_subdiv_calc ()
 ARRAY (int m=0)
 ARRAY (CARRAY< SimplexData * > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
SimplexData ** array ()
SimplexData *& operator[] (int j) const
SimplexData *& last () const
SimplexData *& first () const
void begin_index ()
void end_index ()
bool is_indexing () const
virtual void clear ()
virtual void truncate (int n)
virtual void realloc (int new_max=0)
virtual int get_index (const SimplexData *&el) const
bool contains (const SimplexData *&el) const
bool add_uniquely (const SimplexData *&el)
void operator+= (const SimplexData *&el)
ARRAY< SimplexData * > & operator+= (CARRAY< SimplexData * > &b)
void add (const SimplexData *&p)
void push (const SimplexData *&p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const SimplexData *&el)
void operator-= (CARRAY< SimplexData * > &l)
bool rem (const SimplexData *&p)
SimplexDatapop ()
bool pull_index (int k)
bool pull_element (const SimplexData *&p)
virtual void shift (int p)
ARRAY< SimplexData * > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)

Protected Member Functions

virtual void set_index (const SimplexData *&, int) const
virtual void clear_index (const SimplexData *&) const
virtual void clear_ele (int)
virtual void clear_range (int i, int j)
virtual void append_ele (const SimplexData *&el)

Protected Attributes

SimplexData ** _array
int _num
int _max
bool _unique
bool _do_index

Detailed Description

Definition at line 103 of file simplex_data.H.


Constructor & Destructor Documentation

SimplexDataList::SimplexDataList int  n = 0  )  [inline]
 

Definition at line 106 of file simplex_data.H.

SimplexDataList::~SimplexDataList  ) 
 

Definition at line 26 of file simplex_data.C.


Member Function Documentation

void ARRAY< SimplexData * >::add const SimplexData * &  p  )  [inline, inherited]
 

Definition at line 306 of file support.H.

bool ARRAY< SimplexData * >::add_uniquely const SimplexData * &  el  )  [inline, inherited]
 

Definition at line 289 of file support.H.

virtual void ARRAY< SimplexData * >::append_ele const SimplexData * &  el  )  [inline, protected, virtual, inherited]
 

Definition at line 154 of file support.H.

SimplexData * * ARRAY< SimplexData * >::array  )  [inline, inherited]
 

Definition at line 189 of file support.H.

ARRAY< SimplexData * >::ARRAY CARRAY< SimplexData * > &  l  )  [inline, inherited]
 

Definition at line 177 of file support.H.

ARRAY< SimplexData * >::ARRAY int  m = 0  )  [inline, inherited]
 

Definition at line 173 of file support.H.

void ARRAY< SimplexData * >::begin_index  )  [inline, inherited]
 

Definition at line 206 of file support.H.

virtual void ARRAY< SimplexData * >::clear void   )  [inline, virtual, inherited]
 

Definition at line 224 of file support.H.

virtual void ARRAY< SimplexData * >::clear_ele int   )  [inline, protected, virtual, inherited]
 

Definition at line 143 of file support.H.

virtual void ARRAY< SimplexData * >::clear_index const SimplexData * &   )  const [inline, protected, virtual, inherited]
 

Definition at line 137 of file support.H.

virtual void ARRAY< SimplexData * >::clear_range int  i,
int  j
[inline, protected, virtual, inherited]
 

Definition at line 146 of file support.H.

bool ARRAY< SimplexData * >::contains const SimplexData * &  el  )  const [inline, inherited]
 

Definition at line 283 of file support.H.

bool ARRAY< SimplexData * >::empty  )  const [inline, inherited]
 

Definition at line 185 of file support.H.

void ARRAY< SimplexData * >::end_index  )  [inline, inherited]
 

Definition at line 213 of file support.H.

ARRAY<SimplexData * > ARRAY< SimplexData * >::extract int  start,
int  n
const [inline, inherited]
 

Definition at line 417 of file support.H.

SimplexData * & ARRAY< SimplexData * >::first  )  const [inline, inherited]
 

Definition at line 198 of file support.H.

virtual int ARRAY< SimplexData * >::get_index const SimplexData * &  el  )  const [inline, virtual, inherited]
 

Definition at line 275 of file support.H.

SimplexData* SimplexDataList::get_item uint  key  )  const [inline]
 

Definition at line 110 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, and ARRAY< SimplexData * >::_num.

Referenced by Bsimplex::find_data().

bool SimplexDataList::handle_subdiv_calc  )  [inline]
 

Definition at line 142 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::handle_subdiv_calc().

Referenced by Lvert::update_subdivision(), and Ledge::update_subdivision().

void ARRAY< SimplexData * >::insert int  ind,
int  num
[inline, inherited]
 

Definition at line 319 of file support.H.

bool ARRAY< SimplexData * >::is_indexing  )  const [inline, inherited]
 

Definition at line 219 of file support.H.

SimplexData * & ARRAY< SimplexData * >::last  )  const [inline, inherited]
 

Definition at line 194 of file support.H.

void SimplexDataList::notify_normal_changed  )  const [inline]
 

Definition at line 126 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_normal_changed().

Referenced by Bsimplex::normal_changed().

void SimplexDataList::notify_simplex_changed  )  const [inline]
 

Definition at line 122 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_simplex_changed().

Referenced by Bsimplex::geometry_changed().

void SimplexDataList::notify_simplex_deleted  )  const [inline]
 

Definition at line 134 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_simplex_deleted().

Referenced by Bsimplex::~Bsimplex().

void SimplexDataList::notify_simplex_xformed CWtransf xf  )  const [inline]
 

Definition at line 130 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_simplex_xformed().

Referenced by Bsimplex::notify_xform().

void SimplexDataList::notify_split Bsimplex new_simp  )  const [inline]
 

Definition at line 118 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_split().

Referenced by Bsimplex::notify_split().

void SimplexDataList::notify_subdiv_gen  )  const [inline]
 

Definition at line 138 of file simplex_data.H.

References ARRAY< SimplexData * >::_array, ARRAY< SimplexData * >::_num, and SimplexData::notify_subdiv_gen().

Referenced by Lface::allocate_subdiv_elements(), Ledge::allocate_subdiv_elements(), Lvert::allocate_subdiv_vert(), Lface::set_subdiv_elements(), Ledge::set_subdiv_elements(), and Lvert::set_subdiv_vert().

int ARRAY< SimplexData * >::num  )  const [inline, inherited]
 

Definition at line 184 of file support.H.

ARRAY<SimplexData * >& ARRAY< SimplexData * >::operator+= CARRAY< SimplexData * > &  b  )  [inline, inherited]
 

Definition at line 431 of file support.H.

void ARRAY< SimplexData * >::operator+= const SimplexData * &  el  )  [inline, inherited]
 

Definition at line 298 of file support.H.

void ARRAY< SimplexData * >::operator-= CARRAY< SimplexData * > &  l  )  [inline, inherited]
 

Definition at line 451 of file support.H.

bool ARRAY< SimplexData * >::operator-= const SimplexData * &  el  )  [inline, inherited]
 

Definition at line 352 of file support.H.

SimplexData * & ARRAY< SimplexData * >::operator[] int  j  )  const [inline, inherited]
 

Definition at line 190 of file support.H.

SimplexData * ARRAY< SimplexData * >::pop  )  [inline, inherited]
 

Definition at line 357 of file support.H.

bool ARRAY< SimplexData * >::pull_element const SimplexData * &  p  )  [inline, inherited]
 

Definition at line 383 of file support.H.

bool ARRAY< SimplexData * >::pull_index int  k  )  [inline, inherited]
 

Definition at line 366 of file support.H.

void ARRAY< SimplexData * >::push const SimplexData * &  p  )  [inline, inherited]
 

Definition at line 309 of file support.H.

virtual void ARRAY< SimplexData * >::realloc int  new_max = 0  )  [inline, virtual, inherited]
 

Definition at line 252 of file support.H.

bool ARRAY< SimplexData * >::rem const SimplexData * &  p  )  [inline, inherited]
 

Definition at line 353 of file support.H.

bool ARRAY< SimplexData * >::remove int  k  )  [inline, inherited]
 

Definition at line 333 of file support.H.

virtual void ARRAY< SimplexData * >::reverse  )  [inline, virtual, inherited]
 

Definition at line 457 of file support.H.

virtual void ARRAY< SimplexData * >::set_index const SimplexData * &  ,
int 
const [inline, protected, virtual, inherited]
 

Definition at line 136 of file support.H.

void ARRAY< SimplexData * >::set_unique  )  [inline, inherited]
 

Definition at line 187 of file support.H.

virtual void ARRAY< SimplexData * >::shift int  p  )  [inline, virtual, inherited]
 

Definition at line 389 of file support.H.

virtual void ARRAY< SimplexData * >::sort compare_func_t  compare  )  [inline, virtual, inherited]
 

Definition at line 468 of file support.H.

virtual void ARRAY< SimplexData * >::truncate int  n  )  [inline, virtual, inherited]
 

Definition at line 234 of file support.H.

bool ARRAY< SimplexData * >::valid_index int  k  )  const [inline, inherited]
 

Definition at line 186 of file support.H.


Member Data Documentation

SimplexData * * ARRAY< SimplexData * >::_array [protected, inherited]
 

Definition at line 121 of file support.H.

Referenced by get_item(), handle_subdiv_calc(), notify_normal_changed(), notify_simplex_changed(), notify_simplex_deleted(), notify_simplex_xformed(), notify_split(), and notify_subdiv_gen().

bool ARRAY< SimplexData * >::_do_index [protected, inherited]
 

Definition at line 125 of file support.H.

int ARRAY< SimplexData * >::_max [protected, inherited]
 

Definition at line 123 of file support.H.

int ARRAY< SimplexData * >::_num [protected, inherited]
 

Definition at line 122 of file support.H.

Referenced by get_item(), handle_subdiv_calc(), notify_normal_changed(), notify_simplex_changed(), notify_simplex_deleted(), notify_simplex_xformed(), notify_split(), and notify_subdiv_gen().

bool ARRAY< SimplexData * >::_unique [protected, inherited]
 

Definition at line 124 of file support.H.


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