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

EdgeFrame Class Reference

#include <edge_frame.H>

Inheritance diagram for EdgeFrame:

Inheritance graph
[legend]
Collaboration diagram for EdgeFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EdgeFrame (uint key, Bedge *e, CWvec &n, double s=0.5, bool flip=false)
 DEFINE_RTTI_METHODS3 ("EdgeFrame", EdgeFrame *, SimplexFrame, CSimplexData *)
Wvec orig_n () const
double s () const
Bedge * edge () const
virtual Wpt o ()
virtual void notify_simplex_changed ()
 DEFINE_RTTI_METHODS3 ("SimplexFrame", SimplexFrame *, SimplexData, CSimplexData *)
virtual void set (CWvec &t, mlib::CWvec &n)
void set (uint id, Bsimplex *s)
void set (Cstr_ptr &str, Bsimplex *s)
virtual void apply_xform (CWtransf &xf)
virtual Wvec t ()
virtual Wvec n ()
virtual Wtransf xf ()
virtual Wtransf inv ()
virtual void changed ()
virtual void notify_simplex_xformed (CWtransf &)
virtual void notify_simplex_deleted ()
 DEFINE_RTTI_METHODS_BASE ("SimplexData", CSimplexData *)
uint id () const
Bsimplex * simplex () const
virtual void notify_normal_changed ()
virtual void notify_split (Bsimplex *)
virtual void notify_subdiv_gen ()
virtual bool handle_subdiv_calc ()

Protected Member Functions

virtual void recompute ()
void set_ (CWvec &t, mlib::CWvec &n)
void update () const

Protected Attributes

Wvec _orig_n
bool _flip
double _s
Wvec _t
Wvec _n
Wtransf _xf
Wtransf _inverse
bool _dirty
uint _id
Bsimplex * _simplex

Detailed Description

Definition at line 30 of file edge_frame.H.


Constructor & Destructor Documentation

EdgeFrame::EdgeFrame (  uint  key,
Bedge *  e,
CWvec &  n,
double  s = 0.5,
bool  flip = false
)  [inline]
 

Definition at line 35 of file edge_frame.H.


Member Function Documentation

virtual void SimplexFrame::apply_xform (  CWtransf &  xf  )  [inline, virtual, inherited]
 

Definition at line 40 of file simplex_frame.H.

References SimplexFrame::_n, SimplexFrame::_t, SimplexFrame::changed(), and SimplexFrame::set_().

virtual void SimplexFrame::changed (   )  [inline, virtual, inherited]
 

Definition at line 55 of file simplex_frame.H.

References SimplexFrame::_dirty.

Referenced by SimplexFrame::apply_xform(), SimplexFrame::notify_simplex_changed(), notify_simplex_changed(), and SimplexFrame::set().

SimplexFrame::DEFINE_RTTI_METHODS3 (  "SimplexFrame"  ,
SimplexFrame *  ,
SimplexData  ,
CSimplexData * 
)  [inherited]
 

EdgeFrame::DEFINE_RTTI_METHODS3 (  "EdgeFrame"  ,
EdgeFrame *  ,
SimplexFrame  ,
CSimplexData * 
) 
 

SimplexData::DEFINE_RTTI_METHODS_BASE (  "SimplexData"  ,
CSimplexData * 
)  [inherited]
 

Bedge* EdgeFrame::edge (   )  const [inline]
 

Definition at line 49 of file edge_frame.H.

References SimplexData::_simplex.

Referenced by o(), and recompute().

virtual bool SimplexData::handle_subdiv_calc (   )  [inline, virtual, inherited]
 

Reimplemented in UVdata.

Definition at line 88 of file simplex_data.H.

Referenced by SimplexDataList::handle_subdiv_calc().

uint SimplexData::id (   )  const [inline, inherited]
 

Definition at line 42 of file simplex_data.H.

References SimplexData::_id.

Referenced by Bsimplex::add_simplex_data().

virtual Wtransf SimplexFrame::inv (   )  [inline, virtual, inherited]
 

Definition at line 53 of file simplex_frame.H.

References SimplexFrame::_inverse, and SimplexFrame::update().

virtual Wvec SimplexFrame::n (   )  [inline, virtual, inherited]
 

Definition at line 51 of file simplex_frame.H.

References SimplexFrame::_n, and SimplexFrame::update().

Referenced by SimplexFrame::recompute().

virtual void SimplexData::notify_normal_changed (   )  [inline, virtual, inherited]
 

Definition at line 63 of file simplex_data.H.

Referenced by SimplexDataList::notify_normal_changed().

virtual void EdgeFrame::notify_simplex_changed (   )  [inline, virtual]
 

Reimplemented from SimplexFrame.

Definition at line 57 of file edge_frame.H.

References SimplexFrame::_dirty, and SimplexFrame::changed().

virtual void SimplexFrame::notify_simplex_deleted (   )  [inline, virtual, inherited]
 

Reimplemented from SimplexData.

Definition at line 67 of file simplex_frame.H.

References SimplexData::notify_simplex_deleted().

virtual void SimplexFrame::notify_simplex_xformed (  CWtransf &   )  [inline, virtual, inherited]
 

Reimplemented from SimplexData.

Definition at line 63 of file simplex_frame.H.

virtual void SimplexData::notify_split (  Bsimplex *   )  [inline, virtual, inherited]
 

Reimplemented in UVdata.

Definition at line 81 of file simplex_data.H.

Referenced by SimplexDataList::notify_split().

virtual void SimplexData::notify_subdiv_gen (   )  [inline, virtual, inherited]
 

Reimplemented in UVdata.

Definition at line 84 of file simplex_data.H.

Referenced by SimplexDataList::notify_subdiv_gen().

virtual Wpt EdgeFrame::o (   )  [inline, virtual]
 

Definition at line 53 of file edge_frame.H.

References _s, edge(), and Bedge::interp().

Wvec EdgeFrame::orig_n (   )  const [inline]
 

Definition at line 47 of file edge_frame.H.

References _orig_n.

virtual void EdgeFrame::recompute (   )  [inline, protected, virtual]
 

Reimplemented from SimplexFrame.

Definition at line 72 of file edge_frame.H.

References _flip, _orig_n, edge(), SimplexFrame::recompute(), and SimplexFrame::set_().

double EdgeFrame::s (   )  const [inline]
 

Definition at line 48 of file edge_frame.H.

References _s.

void SimplexFrame::set (  Cstr_ptr &  str,
Bsimplex *  s
)  [inline, inherited]
 

Reimplemented from SimplexData.

Definition at line 74 of file simplex_frame.H.

References SimplexData::set().

void SimplexFrame::set (  uint  id,
Bsimplex *  s
)  [inline, inherited]
 

Reimplemented from SimplexData.

Definition at line 73 of file simplex_frame.H.

References SimplexData::set().

virtual void SimplexFrame::set (  CWvec &  t,
mlib::CWvec &  n
)  [inline, virtual, inherited]
 

Definition at line 36 of file simplex_frame.H.

References SimplexFrame::changed(), and SimplexFrame::set_().

void SimplexFrame::set_ (  CWvec &  t,
mlib::CWvec &  n
)  [inline, protected, inherited]
 

Definition at line 89 of file simplex_frame.H.

References SimplexFrame::_n, SimplexFrame::_t, mlib::Vec3< V >::normalized(), and mlib::Vec3< V >::orthogonalized().

Referenced by SimplexFrame::apply_xform(), recompute(), SimplexFrame::set(), and SimplexFrame::SimplexFrame().

Bsimplex* SimplexData::simplex (   )  const [inline, inherited]
 

Definition at line 43 of file simplex_data.H.

References SimplexData::_simplex.

Referenced by UVdata::handle_subdiv_calc(), UVdata::notify_subdiv_gen(), and UVdata::set_uv().

virtual Wvec SimplexFrame::t (   )  [inline, virtual, inherited]
 

Definition at line 50 of file simplex_frame.H.

References SimplexFrame::_t, and SimplexFrame::update().

Referenced by SimplexFrame::recompute().

void SimplexFrame::update (   )  const [inline, protected, inherited]
 

Definition at line 106 of file simplex_frame.H.

References SimplexFrame::_dirty.

Referenced by SimplexFrame::inv(), SimplexFrame::n(), SimplexFrame::t(), and SimplexFrame::xf().

virtual Wtransf SimplexFrame::xf (   )  [inline, virtual, inherited]
 

Definition at line 52 of file simplex_frame.H.

References SimplexFrame::_xf, and SimplexFrame::update().


Member Data Documentation

bool SimplexFrame::_dirty [protected, inherited]
 

Definition at line 84 of file simplex_frame.H.

Referenced by SimplexFrame::changed(), notify_simplex_changed(), SimplexFrame::recompute(), and SimplexFrame::update().

bool EdgeFrame::_flip [protected]
 

Definition at line 68 of file edge_frame.H.

Referenced by recompute().

uint SimplexData::_id [protected, inherited]
 

Definition at line 92 of file simplex_data.H.

Referenced by SimplexData::id(), and SimplexData::set().

Wtransf SimplexFrame::_inverse [protected, inherited]
 

Definition at line 83 of file simplex_frame.H.

Referenced by SimplexFrame::inv(), and SimplexFrame::recompute().

Wvec SimplexFrame::_n [protected, inherited]
 

Definition at line 81 of file simplex_frame.H.

Referenced by SimplexFrame::apply_xform(), SimplexFrame::n(), and SimplexFrame::set_().

Wvec EdgeFrame::_orig_n [protected]
 

Definition at line 67 of file edge_frame.H.

Referenced by orig_n(), and recompute().

double EdgeFrame::_s [protected]
 

Definition at line 69 of file edge_frame.H.

Referenced by o(), and s().

Bsimplex* SimplexData::_simplex [protected, inherited]
 

Definition at line 93 of file simplex_data.H.

Referenced by edge(), UVdata::face(), SimplexData::notify_simplex_deleted(), SimplexData::set(), SimplexData::simplex(), and VertFrame::vert().

Wvec SimplexFrame::_t [protected, inherited]
 

Definition at line 80 of file simplex_frame.H.

Referenced by SimplexFrame::apply_xform(), SimplexFrame::set_(), and SimplexFrame::t().

Wtransf SimplexFrame::_xf [protected, inherited]
 

Definition at line 82 of file simplex_frame.H.

Referenced by SimplexFrame::recompute(), and SimplexFrame::xf().


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