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

Bedge_list Class Reference

#include <bedge.H>

Inheritance diagram for Bedge_list:

Inheritance graph
[legend]
Collaboration diagram for Bedge_list:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Bedge_list (CARRAY< Bedge * > &list)
 Bedge_list (int n=0)
 Bedge_list (Bedge *e)
void clear_flag02 () const
double total_length () const
double avg_len () const
double min_edge_len () const
bool nfaces_is_equal (int num_faces) const
void inc_crease_vals (ushort max_val=USHRT_MAX) const
void dec_crease_vals (ushort max_val=USHRT_MAX) const
Bvert_list get_verts () const
Bface_list get_faces () const
Bface_list get_primary_faces () const
Bvert_list fold_verts () const
bool is_simple () const
Bedge_list strong_edges () const
Bedge_list weak_edges () const
Bedge_list primary_edges () const
Bedge_list secondary_edges () const
bool is_primary () const
bool is_secondary () const
 SimplexArray (const ARRAY< Bedge * > &list)
 SimplexArray (int n=0)
 SimplexArray (Bedge *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 Bedge_list &list) const
bool contains_any (const Bedge_list &list) const
bool same_elements (const Bedge_list &list) const
bool has_duplicates () const
Bedge_list unique_elements () const
Bedge_list intersect (const Bedge_list &list) const
Bedge_list union_no_duplicates (const Bedge_list &list) const
Bedge_list minus (const Bedge_list &list) const
Bedge_list filter (CSimplexFilter &f) const
bool all_satisfy (CSimplexFilter &f) const
bool any_satisfy (CSimplexFilter &f) const
int num_satisfy (CSimplexFilter &f) const
Bedgefirst_satisfies (CSimplexFilter &f) const
Bedge_list selected_elements ()
Bedge_list unselected_elements ()
void append (const Bedge_list &list)
Bedge_list operator+ (const Bedge_list &list) const
virtual int get_index (const Bedge *&s) const
 ARRAY (int m=0)
 ARRAY (CARRAY< Bedge * > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
Bedge ** array ()
Bedge *& operator[] (int j) const
Bedge *& last () const
Bedge *& 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 Bedge *&el) const
bool add_uniquely (const Bedge *&el)
void operator+= (const Bedge *&el)
ARRAY< Bedge * > & operator+= (CARRAY< Bedge * > &b)
void add (const Bedge *&p)
void push (const Bedge *&p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const Bedge *&el)
void operator-= (CARRAY< Bedge * > &l)
bool rem (const Bedge *&p)
Bedgepop ()
bool pull_index (int k)
bool pull_element (const Bedge *&p)
virtual void shift (int p)
ARRAY< Bedge * > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 659 of file bedge.H.


Constructor & Destructor Documentation

Bedge_list::Bedge_list CARRAY< Bedge * > &  list  )  [inline]
 

Definition at line 664 of file bedge.H.

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

Definition at line 665 of file bedge.H.

Bedge_list::Bedge_list Bedge e  )  [inline, explicit]
 

Definition at line 666 of file bedge.H.


Member Function Documentation

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

Definition at line 306 of file support.H.

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

Definition at line 289 of file support.H.

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

Definition at line 199 of file simplex_array.H.

Referenced by is_primary(), and is_secondary().

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

Definition at line 208 of file simplex_array.H.

void SimplexArray< Bedge_list , Bedge * >::append const Bedge_list list  )  [inline, inherited]
 

Definition at line 244 of file simplex_array.H.

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

Reimplemented from ARRAY< Bedge * >.

Definition at line 327 of file simplex_array.H.

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

Definition at line 189 of file support.H.

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

Definition at line 177 of file support.H.

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

Definition at line 173 of file support.H.

double Bedge_list::avg_len  )  const [inline]
 

Definition at line 686 of file bedge.H.

References ARRAY< Bedge * >::_num, ARRAY< Bedge * >::empty(), and total_length().

Referenced by Bvert::avg_edge_len(), avg_strong_edge_len(), Bvert::avg_strong_len(), and Bvert::qr_centroid().

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

Definition at line 206 of file support.H.

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

Definition at line 224 of file support.H.

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

Definition at line 55 of file simplex_array.H.

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

Definition at line 143 of file support.H.

void Bedge_list::clear_flag02  )  const [inline]
 

Definition at line 670 of file bedge.H.

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

Referenced by Bvert::clear_flag02(), get_faces(), Bvert::get_manifold_edges(), and LMESH::get_subdiv_inputs().

void SimplexArray< Bedge_list , Bedge * >::clear_flags  )  const [inline, inherited]
 

Definition at line 37 of file simplex_array.H.

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

Reimplemented from ARRAY< Bedge * >.

Definition at line 284 of file simplex_array.H.

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

Definition at line 146 of file support.H.

void Bedge_list::clear_vert_flags  )  const [protected]
 

Definition at line 1276 of file bedge.C.

References ARRAY< Bedge * >::_array, ARRAY< Bedge * >::_num, Bsimplex::clear_flag(), Bedge::v1(), and Bedge::v2().

Referenced by get_verts().

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

Definition at line 283 of file support.H.

bool SimplexArray< Bedge_list , Bedge * >::contains_all const Bedge_list list  )  const [inline, inherited]
 

Definition at line 104 of file simplex_array.H.

bool SimplexArray< Bedge_list , Bedge * >::contains_any const Bedge_list list  )  const [inline, inherited]
 

Definition at line 115 of file simplex_array.H.

void Bedge_list::dec_crease_vals ushort  max_val = USHRT_MAX  )  const [inline]
 

Definition at line 714 of file bedge.H.

References ARRAY< Bedge * >::_array, Bedge::dec_crease(), and ARRAY< Bedge * >::num().

void SimplexArray< Bedge_list , Bedge * >::delete_all  )  [inline, inherited]
 

Definition at line 90 of file simplex_array.H.

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

Definition at line 185 of file support.H.

Referenced by avg_len(), min_edge_len(), and nfaces_is_equal().

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

Definition at line 213 of file support.H.

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

Definition at line 417 of file support.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::filter CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 189 of file simplex_array.H.

Referenced by primary_edges(), secondary_edges(), strong_edges(), and weak_edges().

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

Definition at line 198 of file support.H.

Referenced by min_edge_len().

Bedge * SimplexArray< Bedge_list , Bedge * >::first_satisfies CSimplexFilter f  )  const [inline, inherited]
 

Definition at line 224 of file simplex_array.H.

Bvert_list Bedge_list::fold_verts  )  const
 

Definition at line 1383 of file bedge.C.

References SimplexArray< L, T >::filter(), get_verts(), and mark_edges().

Bface_list Bedge_list::get_faces  )  const
 

Definition at line 1354 of file bedge.C.

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

Referenced by get_primary_faces().

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

Reimplemented from ARRAY< Bedge * >.

Definition at line 261 of file simplex_array.H.

ARRAY<BMESH*> SimplexArray< Bedge_list , Bedge * >::get_meshes  )  const [inline, inherited]
 

Definition at line 80 of file simplex_array.H.

Bface_list Bedge_list::get_primary_faces  )  const [inline]
 

Definition at line 1061 of file bface.H.

References get_faces(), and Bface_list::primary_faces().

Referenced by LMESH::get_subdiv_inputs().

Bvert_list Bedge_list::get_verts  )  const
 

Definition at line 1297 of file bedge.C.

References ARRAY< Bedge * >::_array, ARRAY< Bedge * >::_num, clear_vert_flags(), and screen().

Referenced by EdgeStrip::build_ccw_boundaries(), EdgeStrip::build_with_tips(), fold_verts(), Bvert_list::get_inner_edges(), EdgeStrip::get_unified(), is_maximal(), is_simple(), and mark_edges().

bool SimplexArray< Bedge_list , Bedge * >::has_duplicates  )  const [inline, inherited]
 

Definition at line 130 of file simplex_array.H.

void Bedge_list::inc_crease_vals ushort  max_val = USHRT_MAX  )  const [inline]
 

Definition at line 709 of file bedge.H.

References ARRAY< Bedge * >::_array, Bedge::inc_crease(), and ARRAY< Bedge * >::num().

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

Definition at line 49 of file simplex_array.H.

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

Definition at line 319 of file support.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::intersect const Bedge_list list  )  const [inline, inherited]
 

Definition at line 154 of file simplex_array.H.

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

Definition at line 219 of file support.H.

bool Bedge_list::is_primary  )  const [inline]
 

Definition at line 745 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::all_satisfy().

bool Bedge_list::is_secondary  )  const [inline]
 

Definition at line 746 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::all_satisfy().

bool Bedge_list::is_simple  )  const
 

Definition at line 1397 of file bedge.C.

References ARRAY< T >::empty(), SimplexArray< L, T >::filter(), get_verts(), and mark_edges().

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

Definition at line 194 of file support.H.

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

Definition at line 315 of file simplex_array.H.

void Bedge_list::mark_edges  )  const [protected]
 

Definition at line 1369 of file bedge.C.

References Bvert_list::clear_flag02(), get_verts(), and SimplexArray< Bedge_list, Bedge * >::set_flags().

Referenced by fold_verts(), and is_simple().

BMESH* SimplexArray< Bedge_list , Bedge * >::mesh  )  const [inline, inherited]
 

Definition at line 67 of file simplex_array.H.

double Bedge_list::min_edge_len  )  const [inline]
 

Definition at line 689 of file bedge.H.

References ARRAY< Bedge * >::_array, ARRAY< Bedge * >::_num, ARRAY< Bedge * >::empty(), ARRAY< Bedge * >::first(), Bedge::length(), and min().

Referenced by Bvert::min_edge_len().

Bedge_list SimplexArray< Bedge_list , Bedge * >::minus const Bedge_list list  )  const [inline, inherited]
 

Definition at line 174 of file simplex_array.H.

bool Bedge_list::nfaces_is_equal int  num_faces  )  const [inline]
 

Definition at line 700 of file bedge.H.

References ARRAY< Bedge * >::_array, ARRAY< Bedge * >::_num, ARRAY< Bedge * >::empty(), and nfaces.

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

Definition at line 184 of file support.H.

Referenced by dec_crease_vals(), and inc_crease_vals().

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

Definition at line 215 of file simplex_array.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::operator+ const Bedge_list list  )  const [inline, inherited]
 

Definition at line 253 of file simplex_array.H.

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

Definition at line 431 of file support.H.

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

Definition at line 298 of file support.H.

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

Definition at line 451 of file support.H.

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

Definition at line 352 of file support.H.

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

Definition at line 190 of file support.H.

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

Definition at line 357 of file support.H.

Bedge_list Bedge_list::primary_edges  )  const [inline]
 

Definition at line 742 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::filter().

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

Definition at line 383 of file support.H.

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

Definition at line 366 of file support.H.

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

Definition at line 309 of file support.H.

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

Definition at line 320 of file simplex_array.H.

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

Definition at line 252 of file support.H.

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

Definition at line 353 of file support.H.

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

Definition at line 333 of file support.H.

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

Definition at line 457 of file support.H.

bool SimplexArray< Bedge_list , Bedge * >::same_elements const Bedge_list list  )  const [inline, inherited]
 

Definition at line 125 of file simplex_array.H.

bool SimplexArray< Bedge_list , Bedge * >::same_mesh  )  const [inline, inherited]
 

Definition at line 78 of file simplex_array.H.

Bedge_list Bedge_list::secondary_edges  )  const [inline]
 

Definition at line 743 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::filter().

Referenced by ControlFrameTexture::build_strip(), WireframeTexture::draw(), and FlatShadeTexture::draw().

Bedge_list SimplexArray< Bedge_list , Bedge * >::selected_elements  )  [inline, inherited]
 

Definition at line 234 of file simplex_array.H.

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

Definition at line 61 of file simplex_array.H.

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

Definition at line 43 of file simplex_array.H.

Referenced by mark_edges().

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

Reimplemented from ARRAY< Bedge * >.

Definition at line 279 of file simplex_array.H.

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

Definition at line 187 of file support.H.

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

Definition at line 389 of file support.H.

SimplexArray< Bedge_list , Bedge * >::SimplexArray Bedge *   s  )  [inline, explicit, inherited]
 

Definition at line 27 of file simplex_array.H.

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

Definition at line 26 of file simplex_array.H.

SimplexArray< Bedge_list , Bedge * >::SimplexArray const ARRAY< Bedge * > &  list  )  [inline, inherited]
 

Definition at line 25 of file simplex_array.H.

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

Definition at line 468 of file support.H.

Bedge_list Bedge_list::strong_edges  )  const [inline]
 

Definition at line 737 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::filter().

Referenced by Bvert::strong_edges().

double Bedge_list::total_length  )  const [inline]
 

Definition at line 678 of file bedge.H.

References ARRAY< Bedge * >::_array, ARRAY< Bedge * >::_num, and Bedge::length().

Referenced by avg_len().

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

Definition at line 234 of file support.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::union_no_duplicates const Bedge_list list  )  const [inline, inherited]
 

Definition at line 169 of file simplex_array.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::unique_elements  )  const [inline, inherited]
 

Definition at line 141 of file simplex_array.H.

Bedge_list SimplexArray< Bedge_list , Bedge * >::unselected_elements  )  [inline, inherited]
 

Definition at line 237 of file simplex_array.H.

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

Definition at line 186 of file support.H.

Bedge_list Bedge_list::weak_edges  )  const [inline]
 

Definition at line 738 of file bedge.H.

References SimplexArray< Bedge_list, Bedge * >::filter().


Member Data Documentation

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

Definition at line 121 of file support.H.

Referenced by clear_flag02(), clear_vert_flags(), dec_crease_vals(), get_faces(), get_verts(), inc_crease_vals(), min_edge_len(), nfaces_is_equal(), and total_length().

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

Definition at line 125 of file support.H.

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

Definition at line 123 of file support.H.

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

Definition at line 122 of file support.H.

Referenced by avg_len(), clear_flag02(), clear_vert_flags(), get_faces(), get_verts(), min_edge_len(), nfaces_is_equal(), and total_length().

bool ARRAY< Bedge * >::_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:28 2006 for jot by  doxygen 1.4.4