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

Patch_list Class Reference

List of Patches w/ convenience methods (defined in patch.H). More...

#include <bmesh.H>

Inheritance diagram for Patch_list:

Inheritance graph
[legend]
Collaboration diagram for Patch_list:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BMD_array (int n=0)
 BMD_array (const RIC_array< Patch > &list)
int draw (CVIEWptr &v) const
 RIC_array (int n=0)
 RIC_array (const ARRAY< Patch * > &l)
int draw_vis_ref () const
int draw_id_ref () const
int draw_id_ref_pre1 () const
int draw_id_ref_pre2 () const
int draw_id_ref_pre3 () const
int draw_id_ref_pre4 () const
int draw_color_ref () const
int draw_color_ref_2 () const
int draw_tex_mem_ref () const
int draw_ref_img (RefImageClient::ref_img_t t) const
int draw_final (CVIEWptr &v) const
RefImageClient::ref_img_t use_ref_image () const
 ARRAY (int m=0)
 ARRAY (CARRAY< Patch * > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
Patch ** array ()
Patch *& operator[] (int j) const
Patch *& last () const
Patch *& 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 Patch *&el) const
bool contains (const Patch *&el) const
bool add_uniquely (const Patch *&el)
void operator+= (const Patch *&el)
ARRAY< Patch * > & operator+= (CARRAY< Patch * > &b)
void add (const Patch *&p)
void push (const Patch *&p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const Patch *&el)
void operator-= (CARRAY< Patch * > &l)
bool rem (const Patch *&p)
Patchpop ()
bool pull_index (int k)
bool pull_element (const Patch *&p)
virtual void shift (int p)
ARRAY< Patch * > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)
MANAGERS
 Patch_list (int n=0)
 Patch_list (const Patch_list &list)
Convenience methods
double min_alpha () const
void delete_all ()
void creases_changed () const
void triangulation_changed () const
void write_stream (ostream &os) const

Protected Member Functions

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

Protected Attributes

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

Detailed Description

List of Patches w/ convenience methods (defined in patch.H).

Definition at line 28 of file bmesh.H.


Constructor & Destructor Documentation

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

Definition at line 34 of file bmesh.H.

Patch_list::Patch_list const Patch_list list  )  [inline]
 

Definition at line 35 of file bmesh.H.


Member Function Documentation

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

Definition at line 306 of file support.H.

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

Definition at line 289 of file support.H.

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

Definition at line 154 of file support.H.

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

Definition at line 189 of file support.H.

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

Definition at line 177 of file support.H.

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

Definition at line 173 of file support.H.

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

Definition at line 206 of file support.H.

BMD_array< Patch >::BMD_array const RIC_array< Patch > &  list  )  [inline, inherited]
 

Definition at line 51 of file drawable.H.

BMD_array< Patch >::BMD_array int  n = 0  )  [inline, inherited]
 

Definition at line 50 of file drawable.H.

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

Definition at line 224 of file support.H.

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

Definition at line 143 of file support.H.

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

Definition at line 137 of file support.H.

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

Definition at line 146 of file support.H.

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

Definition at line 283 of file support.H.

void Patch_list::creases_changed  )  const [inline]
 

Definition at line 713 of file patch.H.

References ARRAY< Patch * >::_array, ARRAY< Patch * >::_num, and Patch::creases_changed().

Referenced by BMESH::changed().

void Patch_list::delete_all  )  [inline]
 

Definition at line 734 of file patch.H.

References ARRAY< Patch * >::empty(), and ARRAY< Patch * >::pop().

Referenced by BMESH::delete_elements(), and BMESH::delete_patches().

int BMD_array< Patch >::draw CVIEWptr &  v  )  const [inline, inherited]
 

Reimplemented from RIC_array< Patch >.

Definition at line 54 of file drawable.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_color_ref  )  const [inline, inherited]
 

Definition at line 180 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_color_ref_2  )  const [inline, inherited]
 

Definition at line 186 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_final CVIEWptr &  v  )  const [inline, inherited]
 

Definition at line 204 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_id_ref  )  const [inline, inherited]
 

Definition at line 148 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_id_ref_pre1  )  const [inline, inherited]
 

Definition at line 154 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_id_ref_pre2  )  const [inline, inherited]
 

Definition at line 160 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_id_ref_pre3  )  const [inline, inherited]
 

Definition at line 166 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_id_ref_pre4  )  const [inline, inherited]
 

Definition at line 172 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_ref_img RefImageClient::ref_img_t  t  )  const [inline, inherited]
 

Definition at line 198 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_tex_mem_ref  )  const [inline, inherited]
 

Definition at line 192 of file ref_img_client.H.

References ARRAY< T * >::num().

int RIC_array< Patch >::draw_vis_ref  )  const [inline, inherited]
 

Definition at line 142 of file ref_img_client.H.

References ARRAY< T * >::num().

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

Definition at line 185 of file support.H.

Referenced by delete_all().

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

Definition at line 213 of file support.H.

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

Definition at line 417 of file support.H.

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

Definition at line 198 of file support.H.

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

Definition at line 275 of file support.H.

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

Definition at line 319 of file support.H.

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

Definition at line 219 of file support.H.

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

Definition at line 194 of file support.H.

double Patch_list::min_alpha  )  const [inline]
 

Definition at line 741 of file patch.H.

References ARRAY< Patch * >::_array, ARRAY< Patch * >::_num, and min().

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

Definition at line 184 of file support.H.

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

Definition at line 431 of file support.H.

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

Definition at line 298 of file support.H.

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

Definition at line 451 of file support.H.

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

Definition at line 352 of file support.H.

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

Definition at line 190 of file support.H.

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

Definition at line 357 of file support.H.

Referenced by delete_all().

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

Definition at line 383 of file support.H.

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

Definition at line 366 of file support.H.

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

Definition at line 309 of file support.H.

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

Definition at line 252 of file support.H.

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

Definition at line 353 of file support.H.

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

Definition at line 333 of file support.H.

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

Definition at line 457 of file support.H.

RIC_array< Patch >::RIC_array const ARRAY< Patch * > &  l  )  [inline, inherited]
 

Definition at line 132 of file ref_img_client.H.

RIC_array< Patch >::RIC_array int  n = 0  )  [inline, inherited]
 

Definition at line 131 of file ref_img_client.H.

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

Definition at line 136 of file support.H.

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

Definition at line 187 of file support.H.

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

Definition at line 389 of file support.H.

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

Definition at line 468 of file support.H.

void Patch_list::triangulation_changed  )  const [inline]
 

Definition at line 720 of file patch.H.

References ARRAY< Patch * >::_array, ARRAY< Patch * >::_num, and Patch::triangulation_changed().

Referenced by BMESH::changed().

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

Definition at line 234 of file support.H.

RefImageClient::ref_img_t RIC_array< Patch >::use_ref_image  )  const [inline, inherited]
 

Definition at line 210 of file ref_img_client.H.

References ARRAY< T * >::num(), and RefImageClient::REF_IMG_NONE.

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

Definition at line 186 of file support.H.

void Patch_list::write_stream ostream &  os  )  const [inline]
 

Definition at line 727 of file patch.H.

References ARRAY< Patch * >::_array, ARRAY< Patch * >::_num, and Patch::write_stream().

Referenced by BMESH::write_patches().


Member Data Documentation

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

Definition at line 121 of file support.H.

Referenced by creases_changed(), min_alpha(), triangulation_changed(), and write_stream().

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

Definition at line 125 of file support.H.

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

Definition at line 123 of file support.H.

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

Definition at line 122 of file support.H.

Referenced by creases_changed(), min_alpha(), triangulation_changed(), and write_stream().

bool ARRAY< Patch * >::_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:46:52 2006 for jot by  doxygen 1.4.4