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

Bvert_list Class Reference

#include <bvert.H>

Inheritance diagram for Bvert_list:

Inheritance graph
[legend]
Collaboration diagram for Bvert_list:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Bvert_list (int n=0)
 Bvert_list (Bvert *v)
 Bvert_list (CARRAY< Bvert * > &list)
void clear_flag02 () const
Wpt_list pts () const
Wpt_list wpts () const
Wpt center () const
Wpt sum () const
Bface_list one_ring_faces () const
Bface_list two_ring_faces () const
Bedge_list get_outer_edges () const
Bedge_list get_inner_edges () const
void transform (CWtransf &xf)
bool forms_chain () const
bool forms_closed_chain () const
Bedge_list get_chain (bool try_close=false) const
Bedge_list get_closed_chain () const
 SimplexArray (const ARRAY< Bvert * > &list)
 SimplexArray (int n=0)
 SimplexArray (Bvert *s)
void clear_flags () const
void set_flags (uchar b=1) const
void inc_flags (uchar b=1) const
void clear_bits (uint b) const
void set_bits (uint b, int x=1) const
BMESHmesh () const
bool same_mesh () const
ARRAY< BMESH * > get_meshes () const
void delete_all ()
bool contains_all (const Bvert_list &list) const
bool contains_any (const Bvert_list &list) const
bool same_elements (const Bvert_list &list) const
bool has_duplicates () const
Bvert_list unique_elements () const
Bvert_list intersect (const Bvert_list &list) const
Bvert_list union_no_duplicates (const Bvert_list &list) const
Bvert_list minus (const Bvert_list &list) const
Bvert_list filter (CSimplexFilter &f) const
bool all_satisfy (CSimplexFilter &f) const
bool any_satisfy (CSimplexFilter &f) const
int num_satisfy (CSimplexFilter &f) const
Bvertfirst_satisfies (CSimplexFilter &f) const
Bvert_list selected_elements ()
Bvert_list unselected_elements ()
void append (const Bvert_list &list)
Bvert_list operator+ (const Bvert_list &list) const
virtual int get_index (const Bvert *&s) const
 ARRAY (int m=0)
 ARRAY (CARRAY< Bvert * > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
Bvert ** array ()
Bvert *& operator[] (int j) const
Bvert *& last () const
Bvert *& 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)
bool contains (const Bvert *&el) const
bool add_uniquely (const Bvert *&el)
void operator+= (const Bvert *&el)
ARRAY< Bvert * > & operator+= (CARRAY< Bvert * > &b)
void add (const Bvert *&p)
void push (const Bvert *&p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const Bvert *&el)
void operator-= (CARRAY< Bvert * > &l)
bool rem (const Bvert *&p)
Bvertpop ()
bool pull_index (int k)
bool pull_element (const Bvert *&p)
virtual void shift (int p)
ARRAY< Bvert * > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)

Protected Member Functions

virtual void set_index (const Bvert *&el, int i) const
virtual void clear_index (const Bvert *&el) const
IndexData * lookup_data (const Bvert *&s) const
IndexData * put_data (const Bvert *&s) const
virtual void append_ele (const Bvert *&s)
virtual void clear_ele (int)
virtual void clear_range (int i, int j)

Protected Attributes

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

Detailed Description

Definition at line 476 of file bvert.H.


Constructor & Destructor Documentation

Bvert_list::Bvert_list int  n = 0  )  [inline, explicit]
 

Definition at line 481 of file bvert.H.

Bvert_list::Bvert_list Bvert v  )  [inline, explicit]
 

Definition at line 482 of file bvert.H.

Bvert_list::Bvert_list CARRAY< Bvert * > &  list  )  [inline]
 

Definition at line 483 of file bvert.H.


Member Function Documentation

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

Definition at line 306 of file support.H.

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

Definition at line 289 of file support.H.

bool SimplexArray< Bvert_list , Bvert * >::all_satisfy CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 199 of file simplex_array.H.

bool SimplexArray< Bvert_list , Bvert * >::any_satisfy CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 208 of file simplex_array.H.

void SimplexArray< Bvert_list , Bvert * >::append const Bvert_list list  )  [inline, inherited]
 

Definition at line 244 of file simplex_array.H.

virtual void SimplexArray< Bvert_list , Bvert * >::append_ele const Bvert * &  s  )  [inline, protected, virtual, inherited]
 

Reimplemented from ARRAY< Bvert * >.

Definition at line 327 of file simplex_array.H.

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

Definition at line 189 of file support.H.

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

Definition at line 177 of file support.H.

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

Definition at line 173 of file support.H.

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

Definition at line 206 of file support.H.

Wpt Bvert_list::center  )  const [inline]
 

Definition at line 513 of file bvert.H.

References mlib::Pointlist< L, P, V, S >::average(), and pts().

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

Definition at line 224 of file support.H.

void SimplexArray< Bvert_list , Bvert * >::clear_bits uint  b  )  const [inline, inherited]
 

Definition at line 55 of file simplex_array.H.

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

Definition at line 143 of file support.H.

void Bvert_list::clear_flag02  )  const [inline]
 

Definition at line 489 of file bvert.H.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, and Bvert::clear_flag02().

Referenced by get_outer_edges(), EdgeStrip::get_unified(), is_maximal(), Bedge_list::mark_edges(), Bface_list::mark_faces(), and one_ring_faces().

void SimplexArray< Bvert_list , Bvert * >::clear_flags  )  const [inline, inherited]
 

Definition at line 37 of file simplex_array.H.

virtual void SimplexArray< Bvert_list , Bvert * >::clear_index const Bvert * &  el  )  const [inline, protected, virtual, inherited]
 

Reimplemented from ARRAY< Bvert * >.

Definition at line 284 of file simplex_array.H.

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

Definition at line 146 of file support.H.

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

Definition at line 283 of file support.H.

bool SimplexArray< Bvert_list , Bvert * >::contains_all const Bvert_list list  )  const [inline, inherited]
 

Definition at line 104 of file simplex_array.H.

bool SimplexArray< Bvert_list , Bvert * >::contains_any const Bvert_list list  )  const [inline, inherited]
 

Definition at line 115 of file simplex_array.H.

void SimplexArray< Bvert_list , Bvert * >::delete_all  )  [inline, inherited]
 

Definition at line 90 of file simplex_array.H.

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

Definition at line 185 of file support.H.

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

Definition at line 213 of file support.H.

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

Definition at line 417 of file support.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::filter CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 189 of file simplex_array.H.

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

Definition at line 198 of file support.H.

Referenced by forms_closed_chain(), get_chain(), and get_closed_chain().

Bvert * SimplexArray< Bvert_list , Bvert * >::first_satisfies CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 224 of file simplex_array.H.

bool Bvert_list::forms_chain  )  const
 

Definition at line 1079 of file bvert.C.

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

Referenced by forms_closed_chain(), and get_subdiv_chain().

bool Bvert_list::forms_closed_chain  )  const
 

Definition at line 1088 of file bvert.C.

References ARRAY< Bvert * >::first(), forms_chain(), ARRAY< Bvert * >::last(), Bvert::lookup_edge(), and ARRAY< Bvert * >::num().

Bedge_list Bvert_list::get_chain bool  try_close = false  )  const
 

Definition at line 1049 of file bvert.C.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, ARRAY< Bvert * >::first(), get_edge(), ARRAY< Bvert * >::last(), lookup_edge(), and ARRAY< Bvert * >::num().

Referenced by forms_chain(), and get_closed_chain().

Bedge_list Bvert_list::get_closed_chain  )  const
 

Definition at line 1065 of file bvert.C.

References ARRAY< T >::empty(), ARRAY< Bvert * >::first(), get_chain(), get_edge(), ARRAY< Bvert * >::last(), and lookup_edge().

virtual int SimplexArray< Bvert_list , Bvert * >::get_index const Bvert * &  s  )  const [inline, virtual, inherited]
 

Reimplemented from ARRAY< Bvert * >.

Definition at line 261 of file simplex_array.H.

Bedge_list Bvert_list::get_inner_edges  )  const
 

Definition at line 1194 of file bvert.C.

References SimplexArray< L, T >::clear_flags(), SimplexArray< L, T >::filter(), get_outer_edges(), Bedge_list::get_verts(), and SimplexArray< Bvert_list, Bvert * >::set_flags().

ARRAY<BMESH*> SimplexArray< Bvert_list , Bvert * >::get_meshes  )  const [inline, inherited]
 

Definition at line 80 of file simplex_array.H.

Bedge_list Bvert_list::get_outer_edges  )  const
 

Definition at line 1167 of file bvert.C.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, clear_flag02(), and try_get_edges().

Referenced by get_inner_edges().

bool SimplexArray< Bvert_list , Bvert * >::has_duplicates  )  const [inline, inherited]
 

Definition at line 130 of file simplex_array.H.

void SimplexArray< Bvert_list , Bvert * >::inc_flags uchar  b = 1  )  const [inline, inherited]
 

Definition at line 49 of file simplex_array.H.

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

Definition at line 319 of file support.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::intersect const Bvert_list list  )  const [inline, inherited]
 

Definition at line 154 of file simplex_array.H.

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

Definition at line 219 of file support.H.

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

Definition at line 194 of file support.H.

Referenced by forms_closed_chain(), get_chain(), and get_closed_chain().

IndexData* SimplexArray< Bvert_list , Bvert * >::lookup_data const Bvert * &  s  )  const [inline, protected, inherited]
 

Definition at line 315 of file simplex_array.H.

BMESH* SimplexArray< Bvert_list , Bvert * >::mesh  )  const [inline, inherited]
 

Definition at line 67 of file simplex_array.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::minus const Bvert_list list  )  const [inline, inherited]
 

Definition at line 174 of file simplex_array.H.

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

Definition at line 184 of file support.H.

Referenced by forms_closed_chain(), get_chain(), and transform().

int SimplexArray< Bvert_list , Bvert * >::num_satisfy CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 215 of file simplex_array.H.

Bface_list Bvert_list::one_ring_faces  )  const
 

Definition at line 1126 of file bvert.C.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, clear_flag02(), Bface_list::quad_complete_faces(), and try_get_faces().

Referenced by Bface_list::one_ring_faces(), two_ring_faces(), and LMESH::update_subdivision().

Bvert_list SimplexArray< Bvert_list , Bvert * >::operator+ const Bvert_list list  )  const [inline, inherited]
 

Definition at line 253 of file simplex_array.H.

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

Definition at line 431 of file support.H.

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

Definition at line 298 of file support.H.

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

Definition at line 451 of file support.H.

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

Definition at line 352 of file support.H.

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

Definition at line 190 of file support.H.

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

Definition at line 357 of file support.H.

Wpt_list Bvert_list::pts  )  const [inline]
 

Definition at line 495 of file bvert.H.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, Bvert::loc(), and mlib::Pointlist< L, P, V, S >::update_length().

Referenced by center(), debug_check_verts(), ControlFrameTexture::draw_selected_verts(), and sum().

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

Definition at line 383 of file support.H.

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

Definition at line 366 of file support.H.

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

Definition at line 309 of file support.H.

IndexData* SimplexArray< Bvert_list , Bvert * >::put_data const Bvert * &  s  )  const [inline, protected, inherited]
 

Definition at line 320 of file simplex_array.H.

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

Definition at line 252 of file support.H.

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

Definition at line 353 of file support.H.

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

Definition at line 333 of file support.H.

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

Definition at line 457 of file support.H.

bool SimplexArray< Bvert_list , Bvert * >::same_elements const Bvert_list list  )  const [inline, inherited]
 

Definition at line 125 of file simplex_array.H.

bool SimplexArray< Bvert_list , Bvert * >::same_mesh  )  const [inline, inherited]
 

Definition at line 78 of file simplex_array.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::selected_elements  )  [inline, inherited]
 

Definition at line 234 of file simplex_array.H.

void SimplexArray< Bvert_list , Bvert * >::set_bits uint  b,
int  x = 1
const [inline, inherited]
 

Definition at line 61 of file simplex_array.H.

void SimplexArray< Bvert_list , Bvert * >::set_flags uchar  b = 1  )  const [inline, inherited]
 

Definition at line 43 of file simplex_array.H.

Referenced by get_inner_edges().

virtual void SimplexArray< Bvert_list , Bvert * >::set_index const Bvert * &  el,
int  i
const [inline, protected, virtual, inherited]
 

Reimplemented from ARRAY< Bvert * >.

Definition at line 279 of file simplex_array.H.

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

Definition at line 187 of file support.H.

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

Definition at line 389 of file support.H.

SimplexArray< Bvert_list , Bvert * >::SimplexArray Bvert *   s  )  [inline, explicit, inherited]
 

Definition at line 27 of file simplex_array.H.

SimplexArray< Bvert_list , Bvert * >::SimplexArray int  n = 0  )  [inline, explicit, inherited]
 

Definition at line 26 of file simplex_array.H.

SimplexArray< Bvert_list , Bvert * >::SimplexArray const ARRAY< Bvert * > &  list  )  [inline, inherited]
 

Definition at line 25 of file simplex_array.H.

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

Definition at line 468 of file support.H.

Wpt Bvert_list::sum  )  const [inline]
 

Definition at line 516 of file bvert.H.

References pts(), and mlib::Pointlist< L, P, V, S >::sum().

void Bvert_list::transform CWtransf xf  )  [inline]
 

Definition at line 534 of file bvert.H.

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

Referenced by BMESH::transform().

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

Definition at line 234 of file support.H.

Bface_list Bvert_list::two_ring_faces  )  const
 

Definition at line 1140 of file bvert.C.

References Bface_list::one_ring_faces(), and one_ring_faces().

Bvert_list SimplexArray< Bvert_list , Bvert * >::union_no_duplicates const Bvert_list list  )  const [inline, inherited]
 

Definition at line 169 of file simplex_array.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::unique_elements  )  const [inline, inherited]
 

Definition at line 141 of file simplex_array.H.

Bvert_list SimplexArray< Bvert_list , Bvert * >::unselected_elements  )  [inline, inherited]
 

Definition at line 237 of file simplex_array.H.

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

Definition at line 186 of file support.H.

Wpt_list Bvert_list::wpts  )  const [inline]
 

Definition at line 504 of file bvert.H.

References ARRAY< Bvert * >::_array, ARRAY< Bvert * >::_num, mlib::Pointlist< L, P, V, S >::update_length(), and Bvert::wloc().


Member Data Documentation

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

Definition at line 121 of file support.H.

Referenced by clear_flag02(), get_chain(), get_outer_edges(), one_ring_faces(), pts(), and wpts().

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

Definition at line 125 of file support.H.

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

Definition at line 123 of file support.H.

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

Definition at line 122 of file support.H.

Referenced by clear_flag02(), get_chain(), get_outer_edges(), one_ring_faces(), pts(), and wpts().

bool ARRAY< Bvert * >::_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:44:41 2006 for jot by  doxygen 1.4.4