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

DrawWidget Class Reference

Base class for gesture recognizing widgets that can display interactive controls. More...

#include <draw_widget.H>

Inheritance diagram for DrawWidget:

Inheritance graph
[legend]
Collaboration diagram for DrawWidget:

Collaboration graph
[legend]
List of all members.

Public Types

enum  cons {
  NO_TRANS, TRANS_FREE, TRANS_LINE, TRANS_PLANE,
  SURFACE_SNAP, AXIS_ROTATE, SPHERE_ROTATE, SCREEN_TEXT,
  SCALE, SCALE_AXIS, LOOKUP, SCREEN_WIDGET
}
enum  ref_img_t {
  REF_IMG_NONE = 0, REF_IMG_ID = 1, REF_IMG_COLOR = 2, REF_IMG_COLOR_2 = 4,
  REF_IMG_ID_PRE1 = 8, REF_IMG_ID_PRE2 = 16, REF_IMG_ID_PRE3 = 32, REF_IMG_ID_PRE4 = 64,
  REF_IMG_TEX_MEM = 128
}
typedef CallMeth_t< DrawWidget,
Event
_callb
typedef GuardMeth_t< DrawWidget,
Event
_guard

Public Member Functions

 DEFINE_RTTI_METHODS3 ("DrawWidget", DrawWidget *, GEOM, CDATA_ITEM *)
virtual void toggle_active ()
 Toggles on or off.
bool is_active () const
void activate ()
void deactivate ()
void set_timeout (double dur)
void reset_timeout (double dur=default_timeout())
virtual BMESHptr bmesh () const
virtual LMESHlmesh () const
virtual str_ptr mode_name () const
bool has_mode_name () const
bool handle_gesture (CGESTUREptr &gest)
virtual bool needs_blend () const
virtual void notify (CGELptr &g, int)
virtual void notify (CCAMdataptr &data)
 DEFINE_RTTI_METHODS3 ("GEOM", GEOM *, GEL, CDATA_ITEM *)
 DEFINE_RTTI_METHODS3 ("GEL", GEL *, DATA_ITEM, CDATA_ITEM *)
virtual CTAGlist & tags () const
Cstr_ptr & name () const
virtual BODYptr body () const
virtual void set_body (CBODYptr &b)
virtual mlib::CWtransfxform () const
virtual mlib::CWtransfinv_xform () const
virtual mlib::Wtransf obj_to_world () const
virtual mlib::Wtransf world_to_obj () const
virtual void write_xform (mlib::CWtransf &, mlib::CWtransf &, CMOD &)
virtual void mult_by (mlib::CWtransf &)
virtual void set_color (CCOLOR &)
virtual void unset_color ()
virtual void set_texture (CTEXTUREptr &t)
virtual void unset_texture ()
virtual void set_xform (mlib::CWtransf &x)
void set_name (Cstr_ptr &n)
virtual void set_pickable (int f)
virtual ostream & print (ostream &) const
virtual void get_name (TAGformat &d)
virtual void get_xf (TAGformat &d)
virtual void put_name (TAGformat &d) const
virtual void put_xf (TAGformat &d) const
virtual int lookup_constraint (CEvent &, State *&, cons &)
virtual int interactive (CEvent &, State *&, RAYhit *=0) const
virtual BBOX bbox (int i=0) const
virtual int draw_halo (CVIEWptr &=VIEW::peek()) const
virtual bool is_3D () const
virtual bool can_do_halo () const
virtual RAYhitintersect (RAYhit &r, mlib::CWtransf &m=mlib::Identity, int uv=0) const
virtual RAYnearnearest (RAYnear &r, mlib::CWtransf &m=mlib::Identity) const
virtual bool cull (const VIEW *v) const
virtual int draw (CVIEWptr &v)
virtual int draw_vis_ref ()
virtual int draw_ref_img (ref_img_t t)
virtual int draw_ref_img (ref_img_t t)
virtual ref_img_t use_ref_image ()
virtual int draw_final (CVIEWptr &v)
virtual GEOMptr dup (Cstr_ptr &n) const
virtual DATA_ITEMdup () const
virtual bool inside (mlib::CXYpt_list &) const
void Own () const
void Free () const
int Lock ()
void Unlock ()
int Unique () const
virtual void add_tags () const
virtual STDdstreamformat (STDdstream &d) const
virtual STDdstreamdecode (STDdstream &d)
virtual void recompute ()
virtual STAT_STR_RET class_name () const =0
virtual int is_of_type (Cstr_ptr &t) const
virtual int draw_id_ref ()
virtual int draw_id_ref_pre1 ()
virtual int draw_id_ref_pre2 ()
virtual int draw_id_ref_pre3 ()
virtual int draw_id_ref_pre4 ()
virtual int draw_color_ref ()
virtual int draw_color_ref_2 ()
virtual int draw_tex_mem_ref ()
void disp_obs (CGELptr &g)
void disp_obs ()
void unobs_display (CGELptr &g)
void unobs_display ()
virtual void notify_manip_start (CCAMdataptr &data)
virtual void notify_manip_end (CCAMdataptr &data)
void subscribe_mesh_notifications (BMESH *m)
void unsubscribe_mesh_notifications (BMESH *m)
void subscribe_all_mesh_notifications ()
void unsubscribe_all_mesh_notifications ()
virtual void notify_change (BMESH *, BMESH::change_t)
virtual void notify_xform (BMESH *, CWtransf &, CMOD &)
virtual void notify_merge (BMESH *, BMESH *)
virtual void notify_split (BMESH *, CARRAY< BMESH * > &)
virtual void notify_subdiv_gen (BMESH *)
virtual void notify_delete (BMESH *)
virtual void notify_sub_delete (BMESH *)
virtual void notify_update_request (BMESH *)
virtual str_ptr name () const
_callbCb (TYPENAME _callb::_method m)
_callbCb (TYPENAME _callb::_method m, State_t< Event > *s)
_guardGd (const Event &e, TYPENAME _guard::_method m)
Stateentry ()
const Stateentry () const

Static Public Member Functions

static DrawWidgetptr get_active_instance ()
 Anyone can get their hands on the current active widget.
static double default_timeout ()
 Default duration in seconds for widgets to last before fading away.
static bool do_halo_view ()
static bool do_halo_ref ()
static void set_do_halo_view (bool b)
static void set_do_halo_ref (bool b)
static bool toggle_do_halo_view ()
static bool toggle_do_halo_ref ()
static bool find_cam_focus (CVIEWptr &view, mlib::CXYpt &x)
static STAT_STR_RET static_name ()
static STAT_STR_RET static_name ()
static int add_decoder (Cstr_ptr &d, DATA_ITEM *di, int copy=-1)
static void set_default_decoder (DATA_ITEM *(*d)(STDdstream &, Cstr_ptr &, DATA_ITEM *))
static DATA_ITEMDecode (STDdstream &d, int DelayDecoding=0)
static DATA_ITEMlookup (Cstr_ptr &d)
static HASHdi_hash ()
static void notify_disp_obs (CGELptr &g, int disp)
static void suspend_disp_obs ()
static void activate_disp_obs ()
static void broadcast_change (BMESH *, BMESH::change_t)
static void broadcast_xform (BMESH *, CWtransf &xf, CMOD &)
static void broadcast_merge (BMESH *joined, BMESH *removed)
static void broadcast_split (BMESH *, CARRAY< BMESH * > &)
static void broadcast_subdiv_gen (BMESH *)
static void broadcast_delete (BMESH *)
static void broadcast_sub_delete (BMESH *)
static void broadcast_update_request (BMESH *)
static const BMESHobs_listobservers (BMESH *m)
static void print_names (BMESH *m)

Static Public Attributes

static DrawWidgetnull = 0

Protected Member Functions

 DrawWidget (double dur=default_timeout())
virtual ~DrawWidget ()
double alpha () const
virtual void reset ()
virtual bool do_cam_focus (CVIEWptr &view, CRAYhit &r)
STDdstreamdecode_local (STDdstream &ds)
STDdstreamformat_local (STDdstream &ds) const

Static Protected Member Functions

static DISPobs_listdisp_obs_list (CGELptr &g)
static BMESHobs_listbmesh_obs_list (BMESH *m)

Protected Attributes

DrawFSA _fsa
DrawState _draw_start
egg_timer _timer
str_ptr _name
BBOX _bbox
mlib::Wtransf _xform
BODYptr _body
bool _inv_xf_dirty
mlib::Wtransf _inv_xf
int _bbox_id
int _copy
TAGlist _DEFINERtags
COLOR _ambient_color
 Ambient color.
bool _has_ambient_color
 true if it has ambient color
COLOR _color
 Diffuse color.
bool _has_color
 true if it has diffuse color
COLOR _specular_color
 Specular color.
bool _has_specular_color
 true if it has specular color
double _shininess
 Specular shininess.
bool _has_shininess
 true if it has shininess
double _transp
 transparency (AKA alpha, in OpenGL)
bool _has_transp
 true if it has transparency
TEXTUREptr _texture
 What the texture is.
bool _has_texture
 true if we are textured
mlib::Wtransf _tex_xform
 Texture transformation.
State _entry

Static Protected Attributes

static DrawWidgetptr _active
static TAGlist_geom_tags
static bool _do_halo_view = Config::get_var_bool("DO_VIEW_HALOS",false)
static bool _do_halo_ref = Config::get_var_bool("DO_REF_HALOS", true)
static TAGlist_gel_tags = 0
static HASH _hash
static BMESHobs_list _all_observers

Friends

class GEOMlist

Detailed Description

Base class for gesture recognizing widgets that can display interactive controls.

They can draw. They are interactive in the sense of GEOMs (i.e., can process mouse/tablet Events). They can also act as an FSA that processes GESTUREs as high-level events. Only one DrawWidget is activated at any time.

Uses a timer to fade away after a specified period of inactivity.

Derives from GEOM to be interactive, and for draw() and intersect().

Derives from DISPobs to observe when it is displayed or undisplayed (to deactivate in the latter case).

Derives from CAMobs to observe when the camera is changing so it can reset its timer (and not fade away early).

Definition at line 45 of file draw_widget.H.


Member Typedef Documentation

typedef CallMeth_t<DrawWidget ,Event > Interactor< DrawWidget , Event , State >::_callb [inherited]
 

Definition at line 388 of file fsa.H.

typedef GuardMeth_t<DrawWidget ,Event > Interactor< DrawWidget , Event , State >::_guard [inherited]
 

Definition at line 389 of file fsa.H.


Member Enumeration Documentation

enum GEOM::cons [inherited]
 

Enumerator:
NO_TRANS 
TRANS_FREE 
TRANS_LINE 
TRANS_PLANE 
SURFACE_SNAP 
AXIS_ROTATE 
SPHERE_ROTATE 
SCREEN_TEXT 
SCALE 
SCALE_AXIS 
LOOKUP 
SCREEN_WIDGET 

Definition at line 76 of file geom.H.

enum RefImageClient::ref_img_t [inherited]
 

Enumerator:
REF_IMG_NONE 
REF_IMG_ID 
REF_IMG_COLOR 
REF_IMG_COLOR_2 
REF_IMG_ID_PRE1 
REF_IMG_ID_PRE2 
REF_IMG_ID_PRE3 
REF_IMG_ID_PRE4 
REF_IMG_TEX_MEM 

Definition at line 25 of file ref_img_client.H.


Constructor & Destructor Documentation

DrawWidget::DrawWidget double  dur = default_timeout()  )  [protected]
 

Definition at line 18 of file draw_widget.C.

References DISPobs::disp_obs(), NETWORK, and hashvar< T >::set().

DrawWidget::~DrawWidget  )  [protected, virtual]
 

Definition at line 38 of file draw_widget.C.

References deactivate(), and DISPobs::unobs_display().


Member Function Documentation

void DrawWidget::activate  ) 
 

Definition at line 45 of file draw_widget.C.

References _active, ARRAY< T >::contains(), DRAWN, has_mode_name(), mode_name(), VIEW::peek_cam(), ModeName::push_name(), and reset_timeout().

Referenced by toggle_active().

static void DISPobs::activate_disp_obs  )  [inline, static, inherited]
 

Definition at line 87 of file gel_obs.H.

References DISPobs::_suspend_disp.

int DATA_ITEM::add_decoder Cstr_ptr &  d,
DATA_ITEM di,
int  copy = -1
[static, inherited]
 

Definition at line 41 of file data_item.C.

References DATA_ITEM::_hash, and HASH::add().

Referenced by JOTvar< OBJ, TYPE >::check_inst_name(), FUNC_ITEM::FUNC_ITEM(), hashdist::hashdist(), JOTvar< OBJ, TYPE >::JOTvar(), and DISTRIB::notify_exist().

virtual void DATA_ITEM::add_tags  )  const [inline, virtual, inherited]
 

Definition at line 205 of file data_item.H.

double DrawWidget::alpha  )  const [inline, protected]
 

Definition at line 136 of file draw_widget.H.

References _timer, min(), and egg_timer::remaining().

Referenced by needs_blend().

virtual CCOLOR& APPEAR::ambient_color  )  const [inline, virtual, inherited]
 

Definition at line 100 of file appear.H.

References APPEAR::_ambient_color, APPEAR::_has_ambient_color, and APPEAR::color().

Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material().

BBOX GEOM::bbox int  i = 0  )  const [virtual, inherited]
 

Reimplemented from GEL.

Definition at line 360 of file geom.C.

References GEOM::_bbox, GEOM::body(), BBOX::center(), BBOX::reset(), mlib::Mat4< Wtransf, Wpt, Wvec, Wline, Wquat >::scaling(), and GEOM::xform().

Referenced by GEOM::cull(), TEXT2D::draw(), TEXT2D::inside(), MODE_TEXT::intersect(), GEOM::is_3D(), and BaseJOTapp::load_scene().

virtual BMESHptr DrawWidget::bmesh  )  const [inline, virtual]
 

Definition at line 83 of file draw_widget.H.

Referenced by lmesh(), and notify().

static BMESHobs_list& BMESHobs::bmesh_obs_list BMESH m  )  [inline, static, protected, inherited]
 

Definition at line 943 of file bmesh.H.

References BMESHobs::_hash, HASH::add(), and HASH::find().

Referenced by BMESHobs::broadcast_change(), BMESHobs::broadcast_delete(), BMESHobs::broadcast_merge(), BMESHobs::broadcast_split(), BMESHobs::broadcast_sub_delete(), BMESHobs::broadcast_subdiv_gen(), BMESHobs::broadcast_update_request(), BMESHobs::broadcast_xform(), BMESHobs::observers(), BMESHobs::subscribe_mesh_notifications(), and BMESHobs::unsubscribe_mesh_notifications().

virtual BODYptr GEOM::body  )  const [inline, virtual, inherited]
 

Definition at line 104 of file geom.H.

References GEOM::_body.

Referenced by GEOM::bbox(), GEOM::cull(), and gel_to_body().

void BMESHobs::broadcast_change BMESH ,
BMESH::change_t 
[static, inherited]
 

Definition at line 4507 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_change().

Referenced by BMESH::changed().

void BMESHobs::broadcast_delete BMESH  )  [static, inherited]
 

Definition at line 4578 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_delete().

Referenced by BMESH::~BMESH().

void BMESHobs::broadcast_merge BMESH joined,
BMESH removed
[static, inherited]
 

Definition at line 4527 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_merge().

Referenced by BMESH::_merge().

void BMESHobs::broadcast_split BMESH ,
CARRAY< BMESH * > & 
[static, inherited]
 

Definition at line 4555 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_split().

Referenced by BMESH::split_components().

void BMESHobs::broadcast_sub_delete BMESH  )  [static, inherited]
 

Definition at line 4591 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_sub_delete().

Referenced by LMESH::delete_subdiv_mesh().

void BMESHobs::broadcast_subdiv_gen BMESH  )  [static, inherited]
 

Definition at line 4568 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_subdiv_gen().

Referenced by LMESH::allocate_subdiv_mesh().

void BMESHobs::broadcast_update_request BMESH  )  [static, inherited]
 

Definition at line 4601 of file bmesh.C.

References BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_update_request().

Referenced by BMESH::send_update_notification(), and LMESH::update_subdivision().

void BMESHobs::broadcast_xform BMESH ,
CWtransf xf,
CMOD & 
[static, inherited]
 

Definition at line 4517 of file bmesh.C.

References BMESHobs::_all_observers, BMESHobs::bmesh_obs_list(), and BMESHobs_list::notify_xform().

Referenced by BMESH::transform().

virtual bool GEOM::can_do_halo  )  const [inline, virtual, inherited]
 

Reimplemented from GEL.

Definition at line 175 of file geom.H.

_callb* Interactor< DrawWidget , Event , State >::Cb TYPENAME _callb::_method  m,
State_t< Event > *  s
[inline, inherited]
 

Definition at line 396 of file fsa.H.

_callb* Interactor< DrawWidget , Event , State >::Cb TYPENAME _callb::_method  m  )  [inline, inherited]
 

Definition at line 393 of file fsa.H.

virtual STAT_STR_RET DATA_ITEM::class_name  )  const [pure virtual, inherited]
 

Implemented in hashdist, JOTvar< OBJ, TYPE >, TDI< T >, and FUNC_ITEM.

Referenced by DATA_ITEM::decode(), DATA_ITEM::Decode(), GLSLShader::draw(), DATA_ITEM::format(), GLSLShader::get_uniform_loc(), GLSLShader::init(), DISTRIB::interpret(), BaseJOTappConfig::load(), next_texture(), GEOM::print(), DEFINER::print(), BMESH::print(), print_gel(), Patch::put_textures(), BMESH::read_jot_stream(), GTexture::type(), SolidColorTexture::write_stream(), and GTexture::write_stream().

virtual CCOLOR& APPEAR::color  )  const [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 109 of file appear.H.

References APPEAR::_color, APPEAR::_has_color, and COLOR::white.

Referenced by APPEAR::ambient_color(), Patch::color(), and GtexUtil::setup_material().

bool GEOM::cull const VIEW v  )  const [virtual, inherited]
 

Reimplemented from GEL.

Definition at line 339 of file geom.C.

References GEOM::bbox(), GEOM::body(), CBODYptr, hashvar< T >::get(), BBOX::is_off_screen(), and NO_CULL.

void DrawWidget::deactivate  ) 
 

Definition at line 65 of file draw_widget.C.

References _active, ARRAY< T >::contains(), DRAWN, has_mode_name(), VIEW::peek_cam(), ModeName::pop_name(), and reset().

Referenced by notify(), toggle_active(), and ~DrawWidget().

DATA_ITEM * DATA_ITEM::Decode STDdstream d,
int  DelayDecoding = 0
[static, inherited]
 

Definition at line 57 of file data_item.C.

References DATA_ITEM::_copy, DATA_ITEM::_decode_unknown, DATA_ITEM::class_name(), DATA_ITEM::decode(), DATA_ITEM::dup(), Config::get_var_bool(), and DATA_ITEM::lookup().

Referenced by JOThash::get(), DISTRIB::interpret(), and operator>>().

STDdstream & DATA_ITEM::decode STDdstream d  )  [virtual, inherited]
 

Reimplemented in JOTsend_geom, and BMESH.

Definition at line 145 of file data_item.C.

References DATA_ITEM::class_name(), COMMENT::decode(), j, COMMENT::name(), TAGformat::read_end_id(), TAGformat::read_id(), DATA_ITEM::recompute(), and DATA_ITEM::tags().

Referenced by DATA_ITEM::Decode(), BMESH::decode(), JOTio::get(), BMESH::get_patches(), Patch::get_texture(), VIEW::get_view_animator(), and VIEW::get_view_data_file().

STDdstream& APPEAR::decode_local STDdstream ds  )  [protected, inherited]
 

static double DrawWidget::default_timeout  )  [inline, static]
 

Default duration in seconds for widgets to last before fading away.

Definition at line 72 of file draw_widget.H.

GEL::DEFINE_RTTI_METHODS3 "GEL"  ,
GEL ,
DATA_ITEM  ,
CDATA_ITEM * 
[inherited]
 

GEOM::DEFINE_RTTI_METHODS3 "GEOM"  ,
GEOM ,
GEL  ,
CDATA_ITEM * 
[inherited]
 

DrawWidget::DEFINE_RTTI_METHODS3 "DrawWidget"  ,
DrawWidget ,
GEOM  ,
CDATA_ITEM * 
 

static HASH* DATA_ITEM::di_hash  )  [inline, static, inherited]
 

Definition at line 225 of file data_item.H.

References DATA_ITEM::_hash.

void DISPobs::disp_obs  )  [inline, inherited]
 

Definition at line 84 of file gel_obs.H.

References DISPobs::_all_disp.

Referenced by DISTRIB::DISTRIB(), DrawWidget(), VisRefImage::observe(), BufferRefImage::observe(), and VIEW::VIEW().

void DISPobs::disp_obs CGELptr g  )  [inline, inherited]
 

Definition at line 82 of file gel_obs.H.

References DISPobs::disp_obs_list().

static DISPobs_list& DISPobs::disp_obs_list CGELptr g  )  [inline, static, protected, inherited]
 

Definition at line 89 of file gel_obs.H.

References DISPobs::_hash_disp, HASH::add(), and HASH::find().

Referenced by DISPobs::disp_obs(), DISPobs::notify_disp_obs(), and DISPobs::unobs_display().

bool GEOM::do_cam_focus CVIEWptr &  view,
CRAYhit &  r
[protected, virtual, inherited]
 

Definition at line 100 of file geom.C.

References center(), mlib::cross(), mlib::Point3< P, V >::dist(), mlib::Vec3< V >::dist(), Config::get_var_bool(), GEOM::intersect(), GEOM::name(), mlib::Vec3< V >::normalized(), mlib::rad2deg(), RAYhit::success(), XOR(), and mlib::Wvec::Y().

static bool GEOM::do_halo_ref  )  [inline, static, inherited]
 

Definition at line 160 of file geom.H.

References GEOM::_do_halo_ref.

Referenced by TexMemRefImage::draw_objects().

static bool GEOM::do_halo_view  )  [inline, static, inherited]
 

Definition at line 159 of file geom.H.

References GEOM::_do_halo_view.

int GEOM::draw CVIEWptr &  v  )  [virtual, inherited]
 

Reimplemented from GEL.

Reimplemented in ICON2D, TEXT2D, and XF_DRAW.

Definition at line 228 of file geom.C.

References GEOM::_body, APPEAR::_color, APPEAR::_has_color, APPEAR::_has_transp, APPEAR::_transp, GL_VIEW::end_polygon_offset(), GL_COL(), GL_CURRENT_BIT, GL_ENABLE_BIT, GL_MODELVIEW, GL_NORMALIZE, glEnable(), glMatrixMode(), glMultMatrixd(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), GL_VIEW::init_polygon_offset(), COLOR::white, and GEOM::xform().

virtual int RefImageClient::draw_color_ref  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 55 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img(), and RefImageClient::draw_tex_mem_ref().

virtual int RefImageClient::draw_color_ref_2  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 56 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

int GEOM::draw_final CVIEWptr &  v  )  [virtual, inherited]
 

Reimplemented from RefImageClient.

Definition at line 311 of file geom.C.

References GEOM::_body, GL_MODELVIEW, glMatrixMode(), glMultMatrixd(), glPopMatrix(), glPushMatrix(), and GEOM::xform().

virtual int GEOM::draw_halo CVIEWptr &  = VIEW::peek()  )  const [inline, virtual, inherited]
 

Definition at line 171 of file geom.H.

virtual int RefImageClient::draw_id_ref  )  [inline, virtual, inherited]
 

Reimplemented in GELset, and OGLTexture.

Definition at line 50 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre1  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 51 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre2  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 52 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre3  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 53 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre4  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 54 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_ref_img ref_img_t  t  )  [inline, virtual, inherited]
 

Definition at line 82 of file ref_img_client.H.

References brcase, brdefault, RefImageClient::draw_color_ref(), RefImageClient::draw_color_ref_2(), RefImageClient::draw_id_ref(), RefImageClient::draw_id_ref_pre1(), RefImageClient::draw_id_ref_pre2(), RefImageClient::draw_id_ref_pre3(), RefImageClient::draw_id_ref_pre4(), RefImageClient::draw_tex_mem_ref(), RefImageClient::REF_IMG_COLOR, RefImageClient::REF_IMG_COLOR_2, RefImageClient::REF_IMG_ID, RefImageClient::REF_IMG_ID_PRE1, RefImageClient::REF_IMG_ID_PRE2, RefImageClient::REF_IMG_ID_PRE3, RefImageClient::REF_IMG_ID_PRE4, and RefImageClient::REF_IMG_TEX_MEM.

Referenced by Patch::draw_ref_img().

int GEOM::draw_ref_img ref_img_t  t  )  [virtual, inherited]
 

Definition at line 286 of file geom.C.

References GEOM::_body, GL_VIEW::end_polygon_offset(), GL_MODELVIEW, glMatrixMode(), glMultMatrixd(), glPopMatrix(), glPushMatrix(), GL_VIEW::init_polygon_offset(), and GEOM::xform().

virtual int RefImageClient::draw_tex_mem_ref  )  [inline, virtual, inherited]
 

Reimplemented in DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, and MSLDShader.

Definition at line 57 of file ref_img_client.H.

References RefImageClient::draw_color_ref().

Referenced by RefImageClient::draw_ref_img().

int GEOM::draw_vis_ref  )  [virtual, inherited]
 

Reimplemented from RefImageClient.

Reimplemented in CAMwidget_anchor, CAMwidget_anchor, BALLwidget_anchor, and GRIDwidget_anchor.

Definition at line 263 of file geom.C.

References GEOM::_body, GL_VIEW::end_polygon_offset(), GL_CURRENT_BIT, GL_ENABLE_BIT, GL_MODELVIEW, glMatrixMode(), glMultMatrixd(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), GL_VIEW::init_polygon_offset(), and GEOM::xform().

virtual DATA_ITEM* GEOM::dup  )  const [inline, virtual, inherited]
 

Implements GEL.

Definition at line 208 of file geom.H.

References GEOM::_name, and GEOM::GEOM().

virtual GEOMptr GEOM::dup Cstr_ptr &  n  )  const [inline, virtual, inherited]
 

Definition at line 207 of file geom.H.

References GEOM::GEOM().

const State * Interactor< DrawWidget , Event , State >::entry  )  const [inline, inherited]
 

Definition at line 403 of file fsa.H.

State * Interactor< DrawWidget , Event , State >::entry  )  [inline, inherited]
 

Definition at line 402 of file fsa.H.

bool GEOM::find_cam_focus CVIEWptr &  view,
mlib::CXYpt x
[static, inherited]
 

Definition at line 83 of file geom.C.

References debug, RAYhit::geom(), and Config::get_var_bool().

Referenced by Cam_int::focus().

STDdstream & DATA_ITEM::format STDdstream d  )  const [virtual, inherited]
 

Reimplemented in Animator, JOTdone, JOTsend_geom, and BMESH.

Definition at line 194 of file data_item.C.

References DATA_ITEM::class_name(), TAGformat::end_id(), Config::get_var_bool(), TAGformat::id(), DATA_ITEM::tags(), and STDdstream::write_newline().

Referenced by JOTdone::format(), BMESH::format(), Animator::format(), JOTio::put(), and VIEW::put_view_data_file().

STDdstream& APPEAR::format_local STDdstream ds  )  const [protected, inherited]
 

void REFcounter::Free  )  const [inline, inherited]
 

Definition at line 76 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

_guard* Interactor< DrawWidget , Event , State >::Gd const Event e,
TYPENAME _guard::_method  m
[inline, inherited]
 

Definition at line 399 of file fsa.H.

static DrawWidgetptr DrawWidget::get_active_instance  )  [inline, static]
 

Anyone can get their hands on the current active widget.

Definition at line 59 of file draw_widget.H.

References _active.

void APPEAR::get_color TAGformat d  )  [inline, inherited]
 

Reimplemented in Patch.

Definition at line 161 of file appear.H.

References APPEAR::_color, and APPEAR::_has_color.

Referenced by GEOM::tags().

virtual void GEOM::get_name TAGformat d  )  [inline, virtual, inherited]
 

Definition at line 134 of file geom.H.

References GEOM::_name.

Referenced by GEOM::tags().

void APPEAR::get_texture TAGformat d  )  [inherited]
 

Reimplemented in Patch.

Definition at line 16 of file appear.C.

References APPEAR::_has_texture, APPEAR::_tex_xform, APPEAR::_texture, and Config::JOT_ROOT().

Referenced by GEOM::tags().

void APPEAR::get_transp TAGformat d  )  [inline, inherited]
 

Definition at line 160 of file appear.H.

References APPEAR::_has_transp, and APPEAR::_transp.

Referenced by GEOM::tags().

virtual void GEOM::get_xf TAGformat d  )  [inline, virtual, inherited]
 

Definition at line 139 of file geom.H.

References GEOM::inv_xform(), and GEOM::mult_by().

Referenced by GEOM::tags().

bool DrawWidget::handle_gesture CGESTUREptr gest  )  [inline]
 

Definition at line 94 of file draw_widget.H.

References _fsa, and FSAT< EVENT >::handle_event().

virtual bool APPEAR::has_ambient_color  )  const [inline, virtual, inherited]
 

Definition at line 98 of file appear.H.

References APPEAR::_has_ambient_color.

virtual bool APPEAR::has_color  )  const [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 107 of file appear.H.

References APPEAR::_has_color.

Referenced by Patch::has_color().

bool DrawWidget::has_mode_name  )  const [inline]
 

Definition at line 90 of file draw_widget.H.

References mode_name(), and NULL_STR.

Referenced by activate(), and deactivate().

virtual bool APPEAR::has_shininess  )  const [inline, virtual, inherited]
 

Definition at line 125 of file appear.H.

References APPEAR::_has_shininess.

virtual bool APPEAR::has_specular_color  )  const [inline, virtual, inherited]
 

Definition at line 116 of file appear.H.

References APPEAR::_has_specular_color.

virtual bool APPEAR::has_texture  )  const [inline, virtual, inherited]
 

Definition at line 145 of file appear.H.

References APPEAR::_has_texture.

Referenced by Patch::apply_texture(), OGLTexture::check_patch_texture_map(), SmoothShadeTexture::draw(), FlatShadeTexture::draw(), and Patch::write_stream().

virtual bool APPEAR::has_transp  )  const [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 136 of file appear.H.

References APPEAR::_has_transp.

Referenced by Patch::has_transp(), GEOM::needs_blend(), and toggle_transp().

virtual bool GEL::inside mlib::CXYpt_list  )  const [inline, virtual, inherited]
 

Reimplemented in TEXT2D.

Definition at line 120 of file gel.H.

virtual int GEOM::interactive CEvent ,
State *&  ,
RAYhit = 0
const [inline, virtual, inherited]
 

Reimplemented in MODE_TEXT.

Definition at line 148 of file geom.H.

virtual RAYhit& GEOM::intersect RAYhit r,
mlib::CWtransf m = mlib::Identity,
int  uv = 0
const [virtual, inherited]
 

Reimplemented from GEL.

Reimplemented in ICON2D, and TEXT2D.

Referenced by GEOM::do_cam_focus().

CWtransf & GEOM::inv_xform  )  const [virtual, inherited]
 

Definition at line 72 of file geom.C.

References GEOM::_inv_xf, GEOM::_inv_xf_dirty, and GEOM::xform().

Referenced by GEOM::get_xf(), GEOM::set_xform(), and GEOM::world_to_obj().

virtual bool GEOM::is_3D  )  const [inline, virtual, inherited]
 

Reimplemented from GEL.

Definition at line 174 of file geom.H.

References GEOM::bbox(), and BBOX::valid().

bool DrawWidget::is_active  )  const [inline]
 

Definition at line 66 of file draw_widget.H.

References _active.

Referenced by toggle_active().

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

Definition at line 214 of file data_item.H.

References IS.

Referenced by BMESH::operator=().

virtual LMESH* DrawWidget::lmesh  )  const [inline, virtual]
 

Definition at line 84 of file draw_widget.H.

References bmesh().

int REFcounter::Lock  )  [inline, inherited]
 

Definition at line 105 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::REFlock().

static DATA_ITEM* DATA_ITEM::lookup Cstr_ptr &  d  )  [inline, static, inherited]
 

Definition at line 222 of file data_item.H.

References DATA_ITEM::_hash, and HASH::find().

Referenced by DATA_ITEM::Decode(), FUNC_ITEM::FUNC_ITEM(), Patch::get_tex(), and BMESH::read_jot_stream().

virtual int GEOM::lookup_constraint CEvent ,
State *&  ,
cons
[inline, virtual, inherited]
 

Definition at line 147 of file geom.H.

virtual str_ptr DrawWidget::mode_name  )  const [inline, virtual]
 

Definition at line 89 of file draw_widget.H.

References NULL_STR.

Referenced by activate(), and has_mode_name().

virtual void GEOM::mult_by mlib::CWtransf  )  [virtual, inherited]
 

Referenced by GEOM::get_xf(), and GEOM::set_xform().

virtual str_ptr BMESHobs::name  )  const [inline, virtual, inherited]
 

Definition at line 925 of file bmesh.H.

Referenced by BMESHobs_list::print_names().

Cstr_ptr& GEOM::name  )  const [inline, virtual, inherited]
 

Reimplemented from GEL.

Definition at line 103 of file geom.H.

References GEOM::_name.

Referenced by GEOM::do_cam_focus(), DEFINER::get_inputs(), get_name(), and GEOM::print().

virtual RAYnear& GEOM::nearest RAYnear r,
mlib::CWtransf m = mlib::Identity
const [virtual, inherited]
 

Reimplemented from GEL.

virtual bool DrawWidget::needs_blend  )  const [inline, virtual]
 

Reimplemented from GEOM.

Definition at line 105 of file draw_widget.H.

References alpha().

void DrawWidget::notify CCAMdataptr &  data  )  [virtual]
 

Implements CAMobs.

Definition at line 115 of file draw_widget.C.

References reset_timeout().

void DrawWidget::notify CGELptr g,
int 
[virtual]
 

Implements DISPobs.

Definition at line 94 of file draw_widget.C.

References bmesh(), deactivate(), and err_msg().

virtual void BMESHobs::notify_change BMESH ,
BMESH::change_t 
[inline, virtual, inherited]
 

Reimplemented in BufferRefImage, and VisRefImage.

Definition at line 898 of file bmesh.H.

Referenced by BMESHobs_list::notify_change().

virtual void BMESHobs::notify_delete BMESH  )  [inline, virtual, inherited]
 

Definition at line 903 of file bmesh.H.

Referenced by BMESHobs_list::notify_delete().

void DISPobs::notify_disp_obs CGELptr g,
int  disp
[static, inherited]
 

Definition at line 361 of file gel.C.

References DISPobs::_all_disp, DISPobs::_suspend_disp, CDISPobs_list, and DISPobs::disp_obs_list().

Referenced by DrawnList::add(), and DrawnList::rem().

virtual void CAMobs::notify_manip_end CCAMdataptr &  data  )  [inline, virtual, inherited]
 

Definition at line 164 of file cam.H.

virtual void CAMobs::notify_manip_start CCAMdataptr &  data  )  [inline, virtual, inherited]
 

Definition at line 163 of file cam.H.

virtual void BMESHobs::notify_merge BMESH ,
BMESH
[inline, virtual, inherited]
 

Definition at line 900 of file bmesh.H.

Referenced by BMESHobs_list::notify_merge().

virtual void BMESHobs::notify_split BMESH ,
CARRAY< BMESH * > & 
[inline, virtual, inherited]
 

Definition at line 901 of file bmesh.H.

Referenced by BMESHobs_list::notify_split().

virtual void BMESHobs::notify_sub_delete BMESH  )  [inline, virtual, inherited]
 

Definition at line 904 of file bmesh.H.

Referenced by BMESHobs_list::notify_sub_delete().

virtual void BMESHobs::notify_subdiv_gen BMESH  )  [inline, virtual, inherited]
 

Definition at line 902 of file bmesh.H.

Referenced by BMESHobs_list::notify_subdiv_gen().

virtual void BMESHobs::notify_update_request BMESH  )  [inline, virtual, inherited]
 

Definition at line 908 of file bmesh.H.

Referenced by BMESHobs_list::notify_update_request().

virtual void BMESHobs::notify_xform BMESH ,
CWtransf ,
CMOD & 
[inline, virtual, inherited]
 

Reimplemented in VisRefImage.

Definition at line 899 of file bmesh.H.

Referenced by BMESHobs_list::notify_xform().

virtual mlib::Wtransf GEOM::obj_to_world  )  const [inline, virtual, inherited]
 

Definition at line 113 of file geom.H.

References GEOM::xform().

Referenced by BMESH::xform().

static const BMESHobs_list& BMESHobs::observers BMESH m  )  [inline, static, inherited]
 

Definition at line 928 of file bmesh.H.

References BMESHobs::bmesh_obs_list().

Referenced by BMESHobs::print_names().

void REFcounter::Own  )  const [inline, inherited]
 

Definition at line 59 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

ostream & GEOM::print ostream &   )  const [virtual, inherited]
 

Reimplemented from GEL.

Definition at line 381 of file geom.C.

References DATA_ITEM::class_name(), and GEOM::name().

static void BMESHobs::print_names BMESH m  )  [inline, static, inherited]
 

Definition at line 932 of file bmesh.H.

References BMESHobs::observers(), and BMESHobs_list::print_names().

void APPEAR::put_color TAGformat d  )  const [inline, inherited]
 

Reimplemented in Patch.

Definition at line 163 of file appear.H.

References APPEAR::_color, APPEAR::_has_color, and TAGformat::id().

Referenced by GEOM::tags().

virtual void GEOM::put_name TAGformat d  )  const [inline, virtual, inherited]
 

Definition at line 143 of file geom.H.

References GEOM::_name, and TAGformat::id().

Referenced by GEOM::tags().

void APPEAR::put_texture TAGformat d  )  const [inherited]
 

Definition at line 32 of file appear.C.

References APPEAR::_has_texture, APPEAR::_tex_xform, APPEAR::_texture, TAGformat::end_id(), TAGformat::id(), and Config::JOT_ROOT().

Referenced by GEOM::tags().

void APPEAR::put_transp TAGformat d  )  const [inline, inherited]
 

Definition at line 164 of file appear.H.

References APPEAR::_has_transp, APPEAR::_transp, and TAGformat::id().

Referenced by GEOM::tags().

virtual void GEOM::put_xf TAGformat d  )  const [inline, virtual, inherited]
 

Definition at line 144 of file geom.H.

References GEOM::_xform, and TAGformat::id().

Referenced by GEOM::tags().

virtual void DATA_ITEM::recompute  )  [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 208 of file data_item.H.

Referenced by DATA_ITEM::decode().

virtual void DrawWidget::reset  )  [inline, protected, virtual]
 

Definition at line 143 of file draw_widget.H.

Referenced by deactivate().

void DrawWidget::reset_timeout double  dur = default_timeout()  )  [inline]
 

Definition at line 75 of file draw_widget.H.

References set_timeout().

Referenced by activate(), and notify().

virtual void APPEAR::set_ambient_color CCOLOR c  )  [inline, virtual, inherited]
 

Definition at line 94 of file appear.H.

References APPEAR::_ambient_color, and APPEAR::_has_ambient_color.

void GEOM::set_body CBODYptr &  b  )  [virtual, inherited]
 

Definition at line 60 of file geom.C.

References GEOM::_body.

void GEOM::set_color CCOLOR  )  [virtual, inherited]
 

Reimplemented from APPEAR.

Definition at line 413 of file geom.C.

References COLORobs::notify_color_obs(), and APPEAR::set_color().

static void DATA_ITEM::set_default_decoder DATA_ITEM *(*)(STDdstream &, Cstr_ptr &, DATA_ITEM *)  d  )  [inline, static, inherited]
 

Definition at line 218 of file data_item.H.

References DATA_ITEM::_decode_unknown.

static void GEOM::set_do_halo_ref bool  b  )  [inline, static, inherited]
 

Definition at line 162 of file geom.H.

References GEOM::_do_halo_ref.

static void GEOM::set_do_halo_view bool  b  )  [inline, static, inherited]
 

Definition at line 161 of file geom.H.

References GEOM::_do_halo_view.

void GEOM::set_name Cstr_ptr &  n  )  [inline, inherited]
 

Definition at line 126 of file geom.H.

References GEOM::_name.

Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), and GRIDwidget_anchor::GRIDwidget_anchor().

virtual void GEOM::set_pickable int  f  )  [inline, virtual, inherited]
 

Definition at line 127 of file geom.H.

References PICKABLE, hashvar< T >::set(), APPEAR::set_transp(), and APPEAR::unset_transp().

virtual void APPEAR::set_shininess double  s  )  [inline, virtual, inherited]
 

Definition at line 121 of file appear.H.

References APPEAR::_has_shininess, and APPEAR::_shininess.

virtual void APPEAR::set_specular_color CCOLOR c  )  [inline, virtual, inherited]
 

Definition at line 112 of file appear.H.

References APPEAR::_has_specular_color, and APPEAR::_specular_color.

virtual void APPEAR::set_tex_xform mlib::CWtransf t  )  [inline, virtual, inherited]
 

Definition at line 152 of file appear.H.

References APPEAR::_tex_xform.

void GEOM::set_texture CTEXTUREptr &  t  )  [virtual, inherited]
 

Reimplemented from APPEAR.

Definition at line 431 of file geom.C.

References TEXTUREobs::notify_texture_obs(), and APPEAR::set_texture().

void DrawWidget::set_timeout double  dur  )  [inline]
 

Definition at line 74 of file draw_widget.H.

References _timer, and egg_timer::reset().

Referenced by reset_timeout().

virtual void APPEAR::set_transp double  t  )  [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 132 of file appear.H.

References APPEAR::_has_transp, and APPEAR::_transp.

Referenced by GEOM::set_pickable(), Patch::set_transp(), and toggle_transp().

virtual void GEOM::set_xform mlib::CWtransf x  )  [inline, virtual, inherited]
 

Definition at line 125 of file geom.H.

References GEOM::inv_xform(), and GEOM::mult_by().

Referenced by GRIDwidget_anchor::GRIDwidget_anchor(), TEXT2D::set_loc(), and ICON2D::set_loc().

virtual double APPEAR::shininess  )  const [inline, virtual, inherited]
 

Definition at line 127 of file appear.H.

References APPEAR::_has_shininess, APPEAR::_shininess, and Config::get_var_dbl().

Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material().

virtual CCOLOR& APPEAR::specular_color  )  const [inline, virtual, inherited]
 

Definition at line 118 of file appear.H.

References APPEAR::_has_specular_color, APPEAR::_specular_color, and COLOR::white.

Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material().

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

Definition at line 44 of file ref_img_client.H.

References RET_STAT_STR.

Referenced by BMESH::operator=().

STAT_STR_RET DATA_ITEM::static_name  )  [static, inherited]
 

Definition at line 31 of file data_item.C.

References RET_STAT_STR.

Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), VIEW::get_view_animator(), GRIDwidget_anchor::GRIDwidget_anchor(), and toggle_sil_frame().

void BMESHobs::subscribe_all_mesh_notifications  )  [inline, inherited]
 

Definition at line 887 of file bmesh.H.

References BMESHobs::_all_observers, and ARRAY< T >::add_uniquely().

Referenced by VisRefImage::observe(), and BufferRefImage::observe().

void BMESHobs::subscribe_mesh_notifications BMESH m  )  [inline, inherited]
 

Definition at line 878 of file bmesh.H.

References ARRAY< T >::add_uniquely(), and BMESHobs::bmesh_obs_list().

static void DISPobs::suspend_disp_obs  )  [inline, static, inherited]
 

Definition at line 86 of file gel_obs.H.

References DISPobs::_suspend_disp.

CTAGlist & GEOM::tags  )  const [virtual, inherited]
 

Reimplemented from GEL.

Definition at line 206 of file geom.C.

References GEOM::_geom_tags, APPEAR::get_color(), GEOM::get_name(), APPEAR::get_texture(), APPEAR::get_transp(), GEOM::get_xf(), APPEAR::put_color(), GEOM::put_name(), APPEAR::put_texture(), APPEAR::put_transp(), GEOM::put_xf(), and GEL::tags().

virtual mlib::CWtransf& APPEAR::tex_xform  )  const [inline, virtual, inherited]
 

Definition at line 150 of file appear.H.

References APPEAR::_tex_xform.

virtual CTEXTUREptr& APPEAR::texture  )  const [inline, virtual, inherited]
 

Definition at line 147 of file appear.H.

References APPEAR::_texture.

void DrawWidget::toggle_active  )  [virtual]
 

Toggles on or off.

Definition at line 87 of file draw_widget.C.

References activate(), deactivate(), and is_active().

static bool GEOM::toggle_do_halo_ref  )  [inline, static, inherited]
 

Definition at line 166 of file geom.H.

References GEOM::_do_halo_ref.

static bool GEOM::toggle_do_halo_view  )  [inline, static, inherited]
 

Definition at line 163 of file geom.H.

References GEOM::_do_halo_view.

virtual double APPEAR::transp  )  const [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 138 of file appear.H.

References APPEAR::_has_transp, and APPEAR::_transp.

Referenced by GEOM::needs_blend(), GtexUtil::setup_material(), and Patch::transp().

int REFcounter::Unique  )  const [inline, inherited]
 

Definition at line 115 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

void REFcounter::Unlock  )  [inline, inherited]
 

Definition at line 111 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::~REFlock().

void DISPobs::unobs_display  )  [inline, inherited]
 

Definition at line 85 of file gel_obs.H.

References DISPobs::_all_disp.

Referenced by VisRefImage::unobserve(), BufferRefImage::unobserve(), and ~DrawWidget().

void DISPobs::unobs_display CGELptr g  )  [inline, inherited]
 

Definition at line 83 of file gel_obs.H.

References DISPobs::disp_obs_list().

virtual void APPEAR::unset_ambient_color  )  [inline, virtual, inherited]
 

Definition at line 96 of file appear.H.

References APPEAR::_has_ambient_color.

void GEOM::unset_color  )  [virtual, inherited]
 

Reimplemented from APPEAR.

Definition at line 423 of file geom.C.

References COLORobs::notify_color_obs(), and APPEAR::unset_color().

virtual void APPEAR::unset_shininess  )  [inline, virtual, inherited]
 

Definition at line 123 of file appear.H.

References APPEAR::_has_shininess.

virtual void APPEAR::unset_specular_color  )  [inline, virtual, inherited]
 

Definition at line 114 of file appear.H.

References APPEAR::_has_specular_color.

void GEOM::unset_texture  )  [virtual, inherited]
 

Reimplemented from APPEAR.

Definition at line 439 of file geom.C.

References TEXTUREobs::notify_texture_obs(), and APPEAR::unset_texture().

virtual void APPEAR::unset_transp  )  [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 134 of file appear.H.

References APPEAR::_has_transp.

Referenced by GEOM::set_pickable(), toggle_transp(), and Patch::unset_transp().

void BMESHobs::unsubscribe_all_mesh_notifications  )  [inline, inherited]
 

Definition at line 890 of file bmesh.H.

References BMESHobs::_all_observers, and ARRAY< T >::rem().

Referenced by VisRefImage::unobserve(), and BufferRefImage::unobserve().

void BMESHobs::unsubscribe_mesh_notifications BMESH m  )  [inline, inherited]
 

Definition at line 881 of file bmesh.H.

References BMESHobs::bmesh_obs_list(), and ARRAY< T >::rem().

RefImageClient::ref_img_t GEOM::use_ref_image  )  [virtual, inherited]
 

Reimplemented from RefImageClient.

Definition at line 305 of file geom.C.

References GEOM::_body, and RefImageClient::REF_IMG_NONE.

virtual mlib::Wtransf GEOM::world_to_obj  )  const [inline, virtual, inherited]
 

Definition at line 114 of file geom.H.

References GEOM::inv_xform().

Referenced by BMESH::inv_xform().

virtual void GEOM::write_xform mlib::CWtransf ,
mlib::CWtransf ,
CMOD & 
[virtual, inherited]
 

Referenced by DEFINER::visit().

virtual mlib::CWtransf& GEOM::xform  )  const [inline, virtual, inherited]
 

Definition at line 109 of file geom.H.

References GEOM::_xform.

Referenced by GEOM::bbox(), GEOM::draw(), GEOM::draw_final(), GEOM::draw_ref_img(), GEOM::draw_vis_ref(), GEOM::inv_xform(), GEOM::obj_to_world(), TEXT2D::recompute_xform(), and ICON2D::recompute_xform().


Friends And Related Function Documentation

friend class GEOMlist [friend, inherited]
 

Definition at line 75 of file geom.H.


Member Data Documentation

DrawWidgetptr DrawWidget::_active [static, protected]
 

Definition at line 123 of file draw_widget.H.

Referenced by activate(), deactivate(), get_active_instance(), and is_active().

BMESHobs_list BMESHobs::_all_observers [static, protected, inherited]
 

Definition at line 940 of file bmesh.H.

Referenced by BMESHobs::broadcast_change(), BMESHobs::broadcast_delete(), BMESHobs::broadcast_merge(), BMESHobs::broadcast_split(), BMESHobs::broadcast_sub_delete(), BMESHobs::broadcast_subdiv_gen(), BMESHobs::broadcast_xform(), BMESHobs::subscribe_all_mesh_notifications(), and BMESHobs::unsubscribe_all_mesh_notifications().

COLOR APPEAR::_ambient_color [protected, inherited]
 

Ambient color.

Definition at line 40 of file appear.H.

Referenced by APPEAR::ambient_color(), and APPEAR::set_ambient_color().

BBOX GEOM::_bbox [protected, inherited]
 

Definition at line 212 of file geom.H.

Referenced by GEOM::bbox().

int GEOM::_bbox_id [protected, inherited]
 

Definition at line 217 of file geom.H.

BODYptr GEOM::_body [protected, inherited]
 

Definition at line 214 of file geom.H.

Referenced by BALLwidget_anchor::BALLwidget_anchor(), GEOM::body(), CAMwidget_anchor::CAMwidget_anchor(), GEOM::draw(), GEOM::draw_final(), GEOM::draw_ref_img(), GEOM::draw_vis_ref(), GEOM::GEOM(), GRIDwidget_anchor::GRIDwidget_anchor(), GEOM::set_body(), and GEOM::use_ref_image().

COLOR APPEAR::_color [protected, inherited]
 

Diffuse color.

Definition at line 42 of file appear.H.

Referenced by APPEAR::color(), Patch::color_(), TEXT2D::draw(), GEOM::draw(), APPEAR::get_color(), APPEAR::put_color(), APPEAR::set_color(), and Patch::write_stream().

int DATA_ITEM::_copy [protected, inherited]
 

Definition at line 197 of file data_item.H.

Referenced by DATA_ITEM::Decode().

TAGlist DATA_ITEM::_DEFINERtags [protected, inherited]
 

Definition at line 198 of file data_item.H.

Referenced by DATA_ITEM::tags().

bool GEOM::_do_halo_ref = Config::get_var_bool("DO_REF_HALOS", true) [static, protected, inherited]
 

Definition at line 224 of file geom.H.

Referenced by GEOM::do_halo_ref(), GEOM::set_do_halo_ref(), and GEOM::toggle_do_halo_ref().

bool GEOM::_do_halo_view = Config::get_var_bool("DO_VIEW_HALOS",false) [static, protected, inherited]
 

Definition at line 223 of file geom.H.

Referenced by GEOM::do_halo_view(), GEOM::set_do_halo_view(), and GEOM::toggle_do_halo_view().

DrawState DrawWidget::_draw_start [protected]
 

Definition at line 120 of file draw_widget.H.

State Interactor< DrawWidget , Event , State >::_entry [protected, inherited]
 

Definition at line 407 of file fsa.H.

DrawFSA DrawWidget::_fsa [protected]
 

Definition at line 119 of file draw_widget.H.

Referenced by handle_gesture().

TAGlist * GEL::_gel_tags = 0 [static, protected, inherited]
 

Definition at line 138 of file gel.H.

Referenced by GEL::tags().

TAGlist * GEOM::_geom_tags [static, protected, inherited]
 

Definition at line 220 of file geom.H.

Referenced by GEOM::tags().

bool APPEAR::_has_ambient_color [protected, inherited]
 

true if it has ambient color

Definition at line 41 of file appear.H.

Referenced by APPEAR::ambient_color(), APPEAR::has_ambient_color(), APPEAR::set_ambient_color(), and APPEAR::unset_ambient_color().

bool APPEAR::_has_color [protected, inherited]
 

true if it has diffuse color

Definition at line 43 of file appear.H.

Referenced by APPEAR::color(), TEXT2D::draw(), GEOM::draw(), APPEAR::get_color(), APPEAR::has_color(), APPEAR::put_color(), APPEAR::set_color(), APPEAR::unset_color(), and Patch::write_stream().

bool APPEAR::_has_shininess [protected, inherited]
 

true if it has shininess

Definition at line 47 of file appear.H.

Referenced by APPEAR::has_shininess(), APPEAR::set_shininess(), APPEAR::shininess(), and APPEAR::unset_shininess().

bool APPEAR::_has_specular_color [protected, inherited]
 

true if it has specular color

Definition at line 45 of file appear.H.

Referenced by APPEAR::has_specular_color(), APPEAR::set_specular_color(), APPEAR::specular_color(), and APPEAR::unset_specular_color().

bool APPEAR::_has_texture [protected, inherited]
 

true if we are textured

Definition at line 51 of file appear.H.

Referenced by APPEAR::get_texture(), APPEAR::has_texture(), APPEAR::put_texture(), APPEAR::set_texture(), and APPEAR::unset_texture().

bool APPEAR::_has_transp [protected, inherited]
 

true if it has transparency

Definition at line 49 of file appear.H.

Referenced by GEOM::draw(), APPEAR::get_transp(), APPEAR::has_transp(), APPEAR::put_transp(), APPEAR::set_transp(), APPEAR::transp(), and APPEAR::unset_transp().

HASH BMESHobs::_hash [static, protected, inherited]
 

Reimplemented in BufferRefImage.

Definition at line 936 of file bmesh.H.

Referenced by BMESHobs::bmesh_obs_list().

mlib::Wtransf GEOM::_inv_xf [protected, inherited]
 

Definition at line 216 of file geom.H.

Referenced by GEOM::inv_xform().

bool GEOM::_inv_xf_dirty [protected, inherited]
 

Definition at line 215 of file geom.H.

Referenced by GEOM::inv_xform().

str_ptr GEOM::_name [protected, inherited]
 

Reimplemented from GEL.

Reimplemented in ICON2D.

Definition at line 211 of file geom.H.

Referenced by GEOM::dup(), GEOM::get_name(), GEOM::name(), GEOM::put_name(), and GEOM::set_name().

double APPEAR::_shininess [protected, inherited]
 

Specular shininess.

Definition at line 46 of file appear.H.

Referenced by APPEAR::set_shininess(), and APPEAR::shininess().

COLOR APPEAR::_specular_color [protected, inherited]
 

Specular color.

Definition at line 44 of file appear.H.

Referenced by APPEAR::set_specular_color(), and APPEAR::specular_color().

mlib::Wtransf APPEAR::_tex_xform [protected, inherited]
 

Texture transformation.

Definition at line 52 of file appear.H.

Referenced by Patch::apply_texture(), APPEAR::get_texture(), APPEAR::put_texture(), APPEAR::set_tex_xform(), and APPEAR::tex_xform().

TEXTUREptr APPEAR::_texture [protected, inherited]
 

What the texture is.

Reimplemented in ICON2D.

Definition at line 50 of file appear.H.

Referenced by Patch::apply_texture(), APPEAR::get_texture(), APPEAR::put_texture(), APPEAR::set_texture(), APPEAR::texture(), and Patch::write_stream().

egg_timer DrawWidget::_timer [protected]
 

Definition at line 121 of file draw_widget.H.

Referenced by alpha(), and set_timeout().

double APPEAR::_transp [protected, inherited]
 

transparency (AKA alpha, in OpenGL)

Definition at line 48 of file appear.H.

Referenced by GEOM::draw(), APPEAR::get_transp(), APPEAR::put_transp(), APPEAR::set_transp(), and APPEAR::transp().

mlib::Wtransf GEOM::_xform [protected, inherited]
 

Definition at line 213 of file geom.H.

Referenced by GEOM::put_xf(), and GEOM::xform().

DrawWidget * DrawWidget::null = 0 [static]
 

Reimplemented from GEOM.

Definition at line 101 of file draw_widget.H.


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