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

BMESHray Class Reference

#include <bmesh.H>

Inheritance diagram for BMESHray:

Inheritance graph
[legend]
Collaboration diagram for BMESHray:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BMESHray (CWpt &p, mlib::CWvec &v)
 BMESHray (CWpt &a, mlib::CWpt &b)
 BMESHray (CXYpt &p)
 DEFINE_RTTI_METHODS2 ("BMESHray", RAYhit, CRAYhit *)
Bsimplexsimplex () const
void set_simplex (Bsimplex *s)
BMESHmesh () const
Bvertvert () const
Bedgeedge () const
Bfaceface () const
virtual void check (double, int, double, CGELptr &, CWvec &, mlib::CWpt &, CWpt &, APPEAR *a, mlib::CXYpt &)
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 int isa (CRAYhit &r)
static Bsimplexsimplex (CRAYhit &r)
static void set_simplex (CRAYhit &r, Bsimplex *f)
static Bvertvert (CRAYhit &r)
static Bedgeedge (CRAYhit &r)
static Bfaceface (CRAYhit &r)
static STAT_STR_RET static_name ()

Protected Attributes

Bsimplex_simplex
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 960 of file bmesh.H.


Constructor & Destructor Documentation

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

Definition at line 963 of file bmesh.H.

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

Definition at line 964 of file bmesh.H.

BMESHray::BMESHray CXYpt p  )  [inline]
 

Definition at line 965 of file bmesh.H.


Member Function Documentation

APPEAR* RAYhit::appear  )  const [inline, inherited]
 

Definition at line 58 of file ray.H.

References RAYhit::_appear.

Referenced by toggle_transp().

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

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

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

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

Definition at line 69 of file ray.H.

References RAYhit::static_name().

void RAYhit::clear void   )  [inherited]
 

Definition at line 91 of file ray.C.

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

RAYhit RAYhit::copy  )  const [inline, inherited]
 

Definition at line 41 of file ray.H.

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

BMESHray::DEFINE_RTTI_METHODS2 "BMESHray"  ,
RAYhit  ,
CRAYhit * 
 

double RAYhit::dist  )  const [inline, inherited]
 

Definition at line 51 of file ray.H.

References RAYhit::_d.

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

static Bedge* BMESHray::edge CRAYhit &  r  )  [inline, static]
 

Definition at line 991 of file bmesh.H.

References bedge(), and simplex().

Bedge* BMESHray::edge  )  const [inline]
 

Definition at line 979 of file bmesh.H.

References _simplex, and bedge().

static Bface* BMESHray::face CRAYhit &  r  )  [inline, static]
 

Definition at line 992 of file bmesh.H.

References bface(), and simplex().

Bface* BMESHray::face  )  const [inline]
 

Definition at line 980 of file bmesh.H.

References _simplex, and bface().

int RAYhit::from_camera  )  const [inline, inherited]
 

Definition at line 47 of file ray.H.

References RAYhit::_from_camera.

Referenced by BMESH::intersect().

CGELptr& RAYhit::geom  )  const [inline, inherited]
 

Definition at line 56 of file ray.H.

References RAYhit::_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, inherited]
 

Definition at line 60 of file ray.H.

References RAYhit::_tolerance.

int RAYhit::get_vis  )  const [inline, inherited]
 

Definition at line 59 of file ray.H.

References RAYhit::_visibility.

RAYhit RAYhit::invert mlib::CWpt  )  const [inherited]
 

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

Definition at line 70 of file ray.H.

References IS.

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

Reimplemented from RAYhit.

Definition at line 969 of file bmesh.H.

References ISA.

Referenced by set_simplex(), and simplex().

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

Definition at line 45 of file ray.H.

References RAYhit::_p, and RAYhit::_v.

Referenced by BMESH::intersect().

BMESH* BMESHray::mesh  )  const [inline]
 

Definition at line 975 of file bmesh.H.

References _simplex, and Bsimplex::mesh().

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

Definition at line 55 of file ray.H.

References RAYhit::_n.

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

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

Definition at line 52 of file ray.H.

References RAYhit::norm(), and RAYhit::surf().

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

Definition at line 43 of file ray.H.

References RAYhit::_p.

Referenced by RAYhit::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 [inherited]
 

Definition at line 84 of file ray.C.

References RAYhit::_p, and RAYhit::_v.

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

void RAYhit::set_geom CGELptr g  )  [inline, inherited]
 

Definition at line 65 of file ray.H.

References RAYhit::_g.

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

Definition at line 64 of file ray.H.

References RAYhit::_n.

static void BMESHray::set_simplex CRAYhit &  r,
Bsimplex f
[inline, static]
 

Definition at line 986 of file bmesh.H.

References isa().

void BMESHray::set_simplex Bsimplex s  )  [inline]
 

Definition at line 973 of file bmesh.H.

References _simplex.

Referenced by BMESH::intersect().

void RAYhit::set_tol int  pixels  )  [inline, inherited]
 

Definition at line 63 of file ray.H.

References RAYhit::_tolerance.

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

Definition at line 66 of file ray.H.

References RAYhit::_uv.

void RAYhit::set_vis int  vis  )  [inline, inherited]
 

Definition at line 62 of file ray.H.

References RAYhit::_visibility.

static Bsimplex* BMESHray::simplex CRAYhit &  r  )  [inline, static]
 

Definition at line 983 of file bmesh.H.

References isa().

Bsimplex* BMESHray::simplex  )  const [inline]
 

Definition at line 972 of file bmesh.H.

References _simplex.

Referenced by edge(), face(), and vert().

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

Definition at line 68 of file ray.H.

References RET_STAT_STR.

Referenced by RAYhit::class_name().

int RAYhit::success  )  const [inline, inherited]
 

Definition at line 42 of file ray.H.

References RAYhit::_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, inherited]
 

Definition at line 53 of file ray.H.

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

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

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

Definition at line 54 of file ray.H.

References RAYhit::_surfl.

int RAYhit::test double  ,
int  ,
double 
[inherited]
 

Definition at line 22 of file ray.C.

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

Referenced by BMESH::intersect().

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

Definition at line 57 of file ray.H.

References RAYhit::_uv.

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

Definition at line 44 of file ray.H.

References RAYhit::_v.

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

static Bvert* BMESHray::vert CRAYhit &  r  )  [inline, static]
 

Definition at line 990 of file bmesh.H.

References bvert(), and simplex().

Bvert* BMESHray::vert  )  const [inline]
 

Definition at line 978 of file bmesh.H.

References _simplex, and bvert().


Member Data Documentation

APPEAR* RAYhit::_appear [protected, inherited]
 

Definition at line 25 of file ray.H.

Referenced by RAYhit::appear(), and RAYhit::clear().

double RAYhit::_d [protected, inherited]
 

Definition at line 16 of file ray.H.

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

double RAYhit::_d_2d [protected, inherited]
 

Definition at line 17 of file ray.H.

Referenced by RAYhit::clear(), and RAYhit::test().

int RAYhit::_from_camera [protected, inherited]
 

Definition at line 27 of file ray.H.

Referenced by RAYhit::from_camera().

GELptr RAYhit::_g [protected, inherited]
 

Definition at line 19 of file ray.H.

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

int RAYhit::_is_surf [protected, inherited]
 

Definition at line 15 of file ray.H.

Referenced by RAYhit::surf(), and RAYhit::test().

mlib::Wvec RAYhit::_n [protected, inherited]
 

Definition at line 20 of file ray.H.

Referenced by RAYhit::norm(), and RAYhit::set_norm().

mlib::Wpt RAYhit::_nearpt [protected, inherited]
 

Definition at line 18 of file ray.H.

Referenced by RAYhit::surf().

mlib::Wpt RAYhit::_p [protected, inherited]
 

Definition at line 13 of file ray.H.

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

int RAYhit::_s [protected, inherited]
 

Definition at line 12 of file ray.H.

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

Bsimplex* BMESHray::_simplex [protected]
 

Definition at line 1002 of file bmesh.H.

Referenced by edge(), face(), mesh(), set_simplex(), simplex(), and vert().

mlib::Wpt RAYhit::_surfl [protected, inherited]
 

Definition at line 21 of file ray.H.

Referenced by RAYhit::surfl().

int RAYhit::_tolerance [protected, inherited]
 

Definition at line 26 of file ray.H.

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

mlib::XYpt RAYhit::_uv [protected, inherited]
 

Definition at line 24 of file ray.H.

Referenced by RAYhit::set_uv(), and RAYhit::uv().

int RAYhit::_uv_valid [protected, inherited]
 

Definition at line 22 of file ray.H.

mlib::Wvec RAYhit::_v [protected, inherited]
 

Definition at line 14 of file ray.H.

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

int RAYhit::_visibility [protected, inherited]
 

Definition at line 23 of file ray.H.

Referenced by RAYhit::get_vis(), and RAYhit::set_vis().


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