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

RAYhit Class Reference

#include <ray.H>

Inheritance diagram for RAYhit:

Inheritance graph
[legend]
Collaboration diagram for RAYhit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RAYhit (mlib::CWpt &p, mlib::CWvec &v)
 RAYhit (mlib::CWpt &a, mlib::CWpt &b)
 RAYhit (mlib::CXYpt &p)
virtual ~RAYhit ()
RAYhit copy () const
int success () const
mlib::Wpt point () const
mlib::Wvec vec () const
mlib::Wline line () const
mlib::XYpt screen_point () const
int from_camera () const
RAYhit invert (mlib::CWpt &) const
double dist () const
mlib::Wplane plane () const
mlib::Wpt surf () const
mlib::Wpt surfl () const
mlib::Wvec norm () const
CGELptrgeom () const
mlib::CXYptuv () const
APPEARappear () const
int get_vis () const
int get_tol () const
void set_vis (int vis)
void set_tol (int pixels)
void set_norm (mlib::CWvec &n)
void set_geom (CGELptr &g)
void set_uv (mlib::CXYpt &uv)
virtual STAT_STR_RET class_name () const
virtual int is_of_type (Cstr_ptr &t) const
void clear (void)
int test (double, int, double)
virtual void check (double, int, double, CGELptr &, mlib::CWvec &, mlib::CWpt &, mlib::CWpt &, APPEAR *a, mlib::CXYpt &)

Static Public Member Functions

static STAT_STR_RET static_name ()
static int isa (CRAYhit &r)

Protected Attributes

int _s
mlib::Wpt _p
mlib::Wvec _v
int _is_surf
double _d
double _d_2d
mlib::Wpt _nearpt
GELptr _g
mlib::Wvec _n
mlib::Wpt _surfl
int _uv_valid
int _visibility
mlib::XYpt _uv
APPEAR_appear
int _tolerance
int _from_camera

Detailed Description

Definition at line 10 of file ray.H.


Constructor & Destructor Documentation

RAYhit::RAYhit mlib::CWpt p,
mlib::CWvec v
[inline]
 

Definition at line 30 of file ray.H.

Referenced by copy().

RAYhit::RAYhit mlib::CWpt a,
mlib::CWpt b
[inline]
 

Definition at line 34 of file ray.H.

RAYhit::RAYhit mlib::CXYpt p  ) 
 

virtual RAYhit::~RAYhit  )  [inline, virtual]
 

Definition at line 39 of file ray.H.


Member Function Documentation

APPEAR* RAYhit::appear  )  const [inline]
 

Definition at line 58 of file ray.H.

References _appear.

Referenced by toggle_transp().

virtual void RAYhit::check double  ,
int  ,
double  ,
CGELptr ,
mlib::CWvec ,
mlib::CWpt ,
mlib::CWpt ,
APPEAR a,
mlib::CXYpt
[virtual]
 

Referenced by MODE_TEXT::intersect(), and BMESH::intersect().

virtual STAT_STR_RET RAYhit::class_name  )  const [inline, virtual]
 

Definition at line 69 of file ray.H.

References static_name().

void RAYhit::clear void   ) 
 

Definition at line 91 of file ray.C.

References _appear, _d, _d_2d, _g, and _s.

RAYhit RAYhit::copy  )  const [inline]
 

Definition at line 41 of file ray.H.

References point(), RAYhit(), and vec().

double RAYhit::dist  )  const [inline]
 

Definition at line 51 of file ray.H.

References _d.

Referenced by Cam_int_fp::focus(), Cam_int_fp::forward(), Cam_int::predown(), Cam_int_fp::predown(), and Cam_int_edit::predown().

int RAYhit::from_camera  )  const [inline]
 

Definition at line 47 of file ray.H.

References _from_camera.

Referenced by BMESH::intersect().

CGELptr& RAYhit::geom  )  const [inline]
 

Definition at line 56 of file ray.H.

References _g.

Referenced by Cam_int_fp::cruise_down(), FilmTrans::down(), Cam_int::down2(), Cam_int_fp::down2(), Cam_int_edit::down2(), GEOM::find_cam_focus(), VIEW::intersect(), Cam_int_fp::orbit(), Cam_int::up(), and Cam_int_fp::up().

int RAYhit::get_tol  )  const [inline]
 

Definition at line 60 of file ray.H.

References _tolerance.

int RAYhit::get_vis  )  const [inline]
 

Definition at line 59 of file ray.H.

References _visibility.

RAYhit RAYhit::invert mlib::CWpt  )  const
 

virtual int RAYhit::is_of_type Cstr_ptr &  t  )  const [inline, virtual]
 

Definition at line 70 of file ray.H.

References IS.

static int RAYhit::isa CRAYhit &  r  )  [inline, static]
 

Reimplemented in BMESHray.

Definition at line 71 of file ray.H.

References ISA.

mlib::Wline RAYhit::line  )  const [inline]
 

Definition at line 45 of file ray.H.

References _p, and _v.

Referenced by BMESH::intersect().

mlib::Wvec RAYhit::norm  )  const [inline]
 

Definition at line 55 of file ray.H.

References _n.

Referenced by FilmTrans::down(), Cam_int_fp::focus(), and plane().

mlib::Wplane RAYhit::plane  )  const [inline]
 

Definition at line 52 of file ray.H.

References norm(), and surf().

mlib::Wpt RAYhit::point  )  const [inline]
 

Definition at line 43 of file ray.H.

References _p.

Referenced by copy(), Cam_int_fp::cruise_down(), BMESH::intersect(), Cam_int::predown(), Cam_int_fp::predown(), and Cam_int_edit::predown().

XYpt RAYhit::screen_point  )  const
 

Definition at line 84 of file ray.C.

References _p, and _v.

Referenced by MODE_TEXT::intersect(), BMESH::intersect(), and Cam_int::up().

void RAYhit::set_geom CGELptr g  )  [inline]
 

Definition at line 65 of file ray.H.

References _g.

void RAYhit::set_norm mlib::CWvec n  )  [inline]
 

Definition at line 64 of file ray.H.

References _n.

void RAYhit::set_tol int  pixels  )  [inline]
 

Definition at line 63 of file ray.H.

References _tolerance.

void RAYhit::set_uv mlib::CXYpt uv  )  [inline]
 

Definition at line 66 of file ray.H.

References _uv.

void RAYhit::set_vis int  vis  )  [inline]
 

Definition at line 62 of file ray.H.

References _visibility.

static STAT_STR_RET RAYhit::static_name  )  [inline, static]
 

Definition at line 68 of file ray.H.

References RET_STAT_STR.

Referenced by class_name().

int RAYhit::success  )  const [inline]
 

Definition at line 42 of file ray.H.

References _s.

Referenced by Cam_int_fp::cruise_down(), GEOM::do_cam_focus(), FilmTrans::down(), Cam_int::down2(), Cam_int_fp::down2(), Cam_int_edit::down2(), Cam_int::dragup(), Cam_int_fp::dragup(), Cam_int_edit::edit_down(), Cam_int_fp::focus(), Cam_int_fp::forward(), Cam_int_fp::orbit(), Cam_int::predown(), Cam_int_fp::predown(), Cam_int_edit::predown(), toggle_transp(), Cam_int::up(), and Cam_int_fp::up().

mlib::Wpt RAYhit::surf  )  const [inline]
 

Definition at line 53 of file ray.H.

References _d, _is_surf, _nearpt, _p, and _v.

Referenced by FilmTrans::down(), Cam_int::dragup(), Cam_int_fp::dragup(), Cam_int_fp::focus(), plane(), Cam_int::up(), and Cam_int_fp::up().

mlib::Wpt RAYhit::surfl  )  const [inline]
 

Definition at line 54 of file ray.H.

References _surfl.

int RAYhit::test double  ,
int  ,
double 
 

Definition at line 22 of file ray.C.

References _d, _d_2d, _is_surf, _s, and _tolerance.

Referenced by BMESH::intersect().

mlib::CXYpt& RAYhit::uv  )  const [inline]
 

Definition at line 57 of file ray.H.

References _uv.

mlib::Wvec RAYhit::vec  )  const [inline]
 

Definition at line 44 of file ray.H.

References _v.

Referenced by copy(), Cam_int::predown(), Cam_int_fp::predown(), and Cam_int_edit::predown().


Member Data Documentation

APPEAR* RAYhit::_appear [protected]
 

Definition at line 25 of file ray.H.

Referenced by appear(), and clear().

double RAYhit::_d [protected]
 

Definition at line 16 of file ray.H.

Referenced by clear(), dist(), surf(), and test().

double RAYhit::_d_2d [protected]
 

Definition at line 17 of file ray.H.

Referenced by clear(), and test().

int RAYhit::_from_camera [protected]
 

Definition at line 27 of file ray.H.

Referenced by from_camera().

GELptr RAYhit::_g [protected]
 

Definition at line 19 of file ray.H.

Referenced by clear(), geom(), and set_geom().

int RAYhit::_is_surf [protected]
 

Definition at line 15 of file ray.H.

Referenced by surf(), and test().

mlib::Wvec RAYhit::_n [protected]
 

Definition at line 20 of file ray.H.

Referenced by norm(), and set_norm().

mlib::Wpt RAYhit::_nearpt [protected]
 

Definition at line 18 of file ray.H.

Referenced by surf().

mlib::Wpt RAYhit::_p [protected]
 

Definition at line 13 of file ray.H.

Referenced by line(), point(), screen_point(), and surf().

int RAYhit::_s [protected]
 

Definition at line 12 of file ray.H.

Referenced by clear(), success(), and test().

mlib::Wpt RAYhit::_surfl [protected]
 

Definition at line 21 of file ray.H.

Referenced by surfl().

int RAYhit::_tolerance [protected]
 

Definition at line 26 of file ray.H.

Referenced by get_tol(), set_tol(), and test().

mlib::XYpt RAYhit::_uv [protected]
 

Definition at line 24 of file ray.H.

Referenced by set_uv(), and uv().

int RAYhit::_uv_valid [protected]
 

Definition at line 22 of file ray.H.

mlib::Wvec RAYhit::_v [protected]
 

Definition at line 14 of file ray.H.

Referenced by line(), screen_point(), surf(), and vec().

int RAYhit::_visibility [protected]
 

Definition at line 23 of file ray.H.

Referenced by get_vis(), and set_vis().


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