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

ZcrossPath Class Reference

#include <zcross_path.H>

Collaboration diagram for ZcrossPath:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZcrossPath ()
 ZcrossPath (CBface_list &list)
virtual ~ZcrossPath ()
void build (CBface_list &list)
bool has_sil (Bface *f)
void start_sil (Bface *f)
void get_g (Bface *f, double g[3], int &ex1, int &ex2)
Bface * sil_walk_search (Bface *f, Bvert *vert[3], double g[3])
Bface * sil_search (Bface *last, Bface *f)
Bface * sil_finish (Bface *last, Bface *f)
void add_seg (Bface *f, CWpt &pt, Bvert *v, bool grad, mlib::CWvec &bc)
void add_seg (const ZXseg &seg)
void add_seg (Bface *f, CWpt &pt, Bvert *v, bool grad, Bface *bary_f)
virtual void reset ()
Patch * patch () const
CARRAY< ZXseg > & segs () const
ARRAY< ZXseg > & segs ()
Bface * face (int i) const
CWpt & point (int i) const
Bvert * vert (int i) const
bool grad (int i) const
CWvec & bc (int i) const
int type (int i) const
ZXseg & seg (int i)
void set_eye (CWpt &eye)
CWpt & eye () const
CWpt & first () const
CWpt & last () const
bool empty () const
int num () const
BMESH * mesh () const

Protected Member Functions

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

Protected Attributes

ARRAY< ZXseg > _segs
Patch * _patch
int _index
Wpt _eye

Friends

class Patch

Detailed Description

Definition at line 180 of file zcross_path.H.


Constructor & Destructor Documentation

ZcrossPath::ZcrossPath (   )  [inline]
 

Definition at line 186 of file zcross_path.H.

ZcrossPath::ZcrossPath (  CBface_list &  list  )  [inline]
 

Definition at line 190 of file zcross_path.H.

References build().

virtual ZcrossPath::~ZcrossPath (   )  [inline, virtual]
 

Definition at line 198 of file zcross_path.H.


Member Function Documentation

void ZcrossPath::add_seg (  Bface *  f,
CWpt &  pt,
Bvert *  v,
bool  grad,
Bface *  bary_f
)  [inline]
 

Definition at line 232 of file zcross_path.H.

References _segs.

void ZcrossPath::add_seg (  const ZXseg &  seg  )  [inline]
 

Definition at line 230 of file zcross_path.H.

References _segs.

void ZcrossPath::add_seg (  Bface *  f,
CWpt &  pt,
Bvert *  v,
bool  grad,
mlib::CWvec &  bc
)  [inline]
 

Definition at line 225 of file zcross_path.H.

References _segs.

Referenced by BMESH::build_zcross_strips(), sil_walk_search(), and start_sil().

CWvec& ZcrossPath::bc (  int  i  )  const [inline]
 

Definition at line 252 of file zcross_path.H.

References _segs.

Referenced by ZcrossTexture::draw(), sil_walk_search(), and start_sil().

void ZcrossPath::build (  CBface_list &  list  ) 
 

Definition at line 76 of file zcross_path.C.

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

Referenced by ZcrossPath().

bool ZcrossPath::empty (   )  const [inline]
 

Definition at line 262 of file zcross_path.H.

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

Referenced by BMESH::build_zcross_strips(), ZcrossTexture::draw(), and mesh().

CWpt& ZcrossPath::eye (   )  const [inline]
 

Definition at line 257 of file zcross_path.H.

References _eye.

Bface* ZcrossPath::face (  int  i  )  const [inline]
 

Definition at line 248 of file zcross_path.H.

References _segs.

Referenced by ZcrossTexture::draw().

CWpt& ZcrossPath::first (   )  const [inline]
 

Definition at line 258 of file zcross_path.H.

References _segs.

void ZcrossPath::get_g (  Bface *  f,
double  g[3],
int &  ex1,
int &  ex2
) 
 

Referenced by start_sil().

bool ZcrossPath::grad (  int  i  )  const [inline]
 

Definition at line 251 of file zcross_path.H.

References _segs.

Referenced by ZcrossTexture::draw().

bool ZcrossPath::has_sil (  Bface *  f  ) 
 

Definition at line 45 of file zcross_path.C.

References _eye, Bvert::loc(), mlib::Vec3< V >::normalized(), Bface::v(), Bface::vert_normal(), Bface::zx_mark(), and Bface::zx_query().

Referenced by build(), and start_sil().

CWpt& ZcrossPath::last (   )  const [inline]
 

Definition at line 259 of file zcross_path.H.

References _segs, and num().

Referenced by sil_walk_search().

BMESH* ZcrossPath::mesh (   )  const [inline]
 

Definition at line 266 of file zcross_path.H.

References _segs, and empty().

int ZcrossPath::num (   )  const [inline]
 

Definition at line 264 of file zcross_path.H.

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

Referenced by BMESH::build_zcross_strips(), ZcrossTexture::draw(), BMESH::get_zcross_strips(), last(), and start_sil().

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

Definition at line 242 of file zcross_path.H.

References _patch.

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

Definition at line 290 of file zcross_path.H.

References _index.

CWpt& ZcrossPath::point (  int  i  )  const [inline]
 

Definition at line 249 of file zcross_path.H.

References _segs.

Referenced by ZcrossTexture::draw().

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

Definition at line 239 of file zcross_path.H.

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

Referenced by BMESH::changed(), and BMESH::get_zcross_strips().

ZXseg& ZcrossPath::seg (  int  i  )  [inline]
 

Definition at line 255 of file zcross_path.H.

References _segs.

Referenced by BMESH::build_zcross_strips().

ARRAY<ZXseg>& ZcrossPath::segs (   )  [inline]
 

Definition at line 244 of file zcross_path.H.

References _segs.

CARRAY<ZXseg>& ZcrossPath::segs (   )  const [inline]
 

Definition at line 243 of file zcross_path.H.

References _segs.

Referenced by BMESH::build_zcross_strips(), and BMESH::get_zcross_strips().

void ZcrossPath::set_eye (  CWpt &  eye  )  [inline]
 

Definition at line 256 of file zcross_path.H.

References _eye.

Referenced by BMESH::get_zcross_strips().

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

Definition at line 288 of file zcross_path.H.

References _patch.

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

Definition at line 289 of file zcross_path.H.

References _index.

Bface * ZcrossPath::sil_finish (  Bface *  last,
Bface *  f
) 
 

Definition at line 360 of file zcross_path.C.

Bface * ZcrossPath::sil_search (  Bface *  last,
Bface *  f
) 
 

Definition at line 280 of file zcross_path.C.

Bface * ZcrossPath::sil_walk_search (  Bface *  f,
Bvert *  vert[3],
double  g[3]
) 
 

Definition at line 286 of file zcross_path.C.

References _eye, _segs, add_seg(), bc(), ZXseg::f(), Bedge::is_crease(), last(), ARRAY< T >::last(), Bvert::loc(), Bface::opposite_face(), mlib::Vec3< V >::orthogonalized(), Bface::other_vertex(), ZXseg::setg(), Bface::shared_edge(), Bface::vert_normal(), Bface::vindex(), and Bface::zx_mark().

Referenced by start_sil().

void ZcrossPath::start_sil (  Bface *  f  ) 
 

Definition at line 85 of file zcross_path.C.

References _eye, _segs, add_seg(), bc(), mlib::cross(), Bface::e(), get_g(), has_sil(), ARRAY< T >::insert(), Bedge::is_crease(), j, ARRAY< T >::last(), Bvert::loc(), Bface::nbr(), Bface::norm(), num(), mlib::Vec3< V >::orthogonalized(), ZXseg::p(), ARRAY< T >::pop(), ZXseg::set_bary(), ZXseg::set_end(), ZXseg::setf(), sil_walk_search(), swap(), and Bface::v().

Referenced by build(), and BMESH::get_zcross_strips().

int ZcrossPath::type (  int  i  )  const [inline]
 

Definition at line 253 of file zcross_path.H.

References _segs.

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

Definition at line 250 of file zcross_path.H.

References _segs.


Friends And Related Function Documentation

friend class Patch [friend]
 

Definition at line 275 of file zcross_path.H.


Member Data Documentation

Wpt ZcrossPath::_eye [protected]
 

Definition at line 280 of file zcross_path.H.

Referenced by eye(), has_sil(), set_eye(), sil_walk_search(), and start_sil().

int ZcrossPath::_index [protected]
 

Definition at line 279 of file zcross_path.H.

Referenced by patch_index(), and set_patch_index().

Patch* ZcrossPath::_patch [protected]
 

Definition at line 278 of file zcross_path.H.

Referenced by patch(), and set_patch().

ARRAY<ZXseg> ZcrossPath::_segs [protected]
 

Definition at line 277 of file zcross_path.H.

Referenced by add_seg(), bc(), empty(), face(), first(), grad(), last(), mesh(), num(), point(), reset(), seg(), segs(), sil_walk_search(), start_sil(), type(), and vert().


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