#include <draw_widget.H>
Inheritance diagram for DrawWidget:
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 LMESH * | lmesh () 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::CWtransf & | xform () const |
virtual mlib::CWtransf & | inv_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 RAYhit & | intersect (RAYhit &r, mlib::CWtransf &m=mlib::Identity, int uv=0) const |
virtual RAYnear & | nearest (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_ITEM * | dup () 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 STDdstream & | format (STDdstream &d) const |
virtual STDdstream & | decode (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 |
_callb * | Cb (TYPENAME _callb::_method m) |
_callb * | Cb (TYPENAME _callb::_method m, State_t< Event > *s) |
_guard * | Gd (const Event &e, TYPENAME _guard::_method m) |
State * | entry () |
const State * | entry () 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_ITEM * | Decode (STDdstream &d, int DelayDecoding=0) |
static DATA_ITEM * | lookup (Cstr_ptr &d) |
static HASH * | di_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_list & | observers (BMESH *m) |
static void | print_names (BMESH *m) |
Static Public Attributes | |
static DrawWidget * | null = 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) |
STDdstream & | decode_local (STDdstream &ds) |
STDdstream & | format_local (STDdstream &ds) const |
Static Protected Member Functions | |
static DISPobs_list & | disp_obs_list (CGELptr &g) |
static BMESHobs_list & | bmesh_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 |
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.
|
|
|
|
|
|
|
Definition at line 25 of file ref_img_client.H. |
|
Definition at line 18 of file draw_widget.C. References DISPobs::disp_obs(), NETWORK, and hashvar< T >::set(). |
|
Definition at line 38 of file draw_widget.C. References deactivate(), and DISPobs::unobs_display(). |
|
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(). |
|
Definition at line 87 of file gel_obs.H. References DISPobs::_suspend_disp. |
|
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(). |
|
Definition at line 205 of file data_item.H. |
|
Definition at line 136 of file draw_widget.H. References _timer, min(), and egg_timer::remaining(). Referenced by needs_blend(). |
|
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(). |
|
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(). |
|
Definition at line 83 of file draw_widget.H. |
|
|
Definition at line 104 of file geom.H. References GEOM::_body. Referenced by GEOM::bbox(), GEOM::cull(), and gel_to_body(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Reimplemented from GEL. |
|
|
|
|
|
|
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(). |
|
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. |
|
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(). |
|
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>>(). |
|
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(). |
|
|
|
Default duration in seconds for widgets to last before fading away.
Definition at line 72 of file draw_widget.H. |
|
|
|
|
|
|
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
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(). |
|
Definition at line 82 of file gel_obs.H. References DISPobs::disp_obs_list(). |
|
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(). |
|
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(). |
|
Definition at line 160 of file geom.H. References GEOM::_do_halo_ref. Referenced by TexMemRefImage::draw_objects(). |
|
Definition at line 159 of file geom.H. References GEOM::_do_halo_view. |
|
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(). |
|
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(). |
|
Reimplemented in GELset. Definition at line 56 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented from RefImageClient. Definition at line 311 of file geom.C. References GEOM::_body, GL_MODELVIEW, glMatrixMode(), glMultMatrixd(), glPopMatrix(), glPushMatrix(), and GEOM::xform(). |
|
|
|
Reimplemented in GELset, and OGLTexture. Definition at line 50 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 51 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 52 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 53 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 54 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
|
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(). |
|
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(). |
|
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(). |
|
Implements GEL. Definition at line 208 of file geom.H. References GEOM::_name, and GEOM::GEOM(). |
|
Definition at line 207 of file geom.H. References GEOM::GEOM(). |
|
|
|
|
|
Definition at line 83 of file geom.C. References debug, RAYhit::geom(), and Config::get_var_bool(). Referenced by Cam_int::focus(). |
|
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(). |
|
|
|
Definition at line 76 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
|
|
Anyone can get their hands on the current active widget.
Definition at line 59 of file draw_widget.H. References _active. |
|
Reimplemented in Patch. Definition at line 161 of file appear.H. References APPEAR::_color, and APPEAR::_has_color. Referenced by GEOM::tags(). |
|
Definition at line 134 of file geom.H. References GEOM::_name. Referenced by GEOM::tags(). |
|
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(). |
|
Definition at line 160 of file appear.H. References APPEAR::_has_transp, and APPEAR::_transp. Referenced by GEOM::tags(). |
|
Definition at line 139 of file geom.H. References GEOM::inv_xform(), and GEOM::mult_by(). Referenced by GEOM::tags(). |
|
Definition at line 94 of file draw_widget.H. References _fsa, and FSAT< EVENT >::handle_event(). |
|
Definition at line 98 of file appear.H. References APPEAR::_has_ambient_color. |
|
Reimplemented in Patch. Definition at line 107 of file appear.H. References APPEAR::_has_color. Referenced by Patch::has_color(). |
|
Definition at line 90 of file draw_widget.H. References mode_name(), and NULL_STR. Referenced by activate(), and deactivate(). |
|
Definition at line 125 of file appear.H. References APPEAR::_has_shininess. |
|
Definition at line 116 of file appear.H. References APPEAR::_has_specular_color. |
|
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(). |
|
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(). |
|
Reimplemented in TEXT2D. |
|
Reimplemented in MODE_TEXT. |
|
Reimplemented from GEL. Reimplemented in ICON2D, and TEXT2D. Referenced by GEOM::do_cam_focus(). |
|
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(). |
|
Reimplemented from GEL. Definition at line 174 of file geom.H. References GEOM::bbox(), and BBOX::valid(). |
|
Definition at line 66 of file draw_widget.H. References _active. Referenced by toggle_active(). |
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
Definition at line 84 of file draw_widget.H. References bmesh(). |
|
Definition at line 105 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::REFlock(). |
|
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(). |
|
|
|
Definition at line 89 of file draw_widget.H. References NULL_STR. Referenced by activate(), and has_mode_name(). |
|
Referenced by GEOM::get_xf(), and GEOM::set_xform(). |
|
Definition at line 925 of file bmesh.H. Referenced by BMESHobs_list::print_names(). |
|
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(). |
|
Reimplemented from GEL. |
|
Reimplemented from GEOM. Definition at line 105 of file draw_widget.H. References alpha(). |
|
Implements CAMobs. Definition at line 115 of file draw_widget.C. References reset_timeout(). |
|
Implements DISPobs. Definition at line 94 of file draw_widget.C. References bmesh(), deactivate(), and err_msg(). |
|
Reimplemented in BufferRefImage, and VisRefImage. Definition at line 898 of file bmesh.H. Referenced by BMESHobs_list::notify_change(). |
|
Definition at line 903 of file bmesh.H. Referenced by BMESHobs_list::notify_delete(). |
|
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(). |
|
|
|
|
|
Definition at line 900 of file bmesh.H. Referenced by BMESHobs_list::notify_merge(). |
|
Definition at line 901 of file bmesh.H. Referenced by BMESHobs_list::notify_split(). |
|
Definition at line 904 of file bmesh.H. Referenced by BMESHobs_list::notify_sub_delete(). |
|
Definition at line 902 of file bmesh.H. Referenced by BMESHobs_list::notify_subdiv_gen(). |
|
Definition at line 908 of file bmesh.H. Referenced by BMESHobs_list::notify_update_request(). |
|
Reimplemented in VisRefImage. Definition at line 899 of file bmesh.H. Referenced by BMESHobs_list::notify_xform(). |
|
Definition at line 113 of file geom.H. References GEOM::xform(). Referenced by BMESH::xform(). |
|
Definition at line 928 of file bmesh.H. References BMESHobs::bmesh_obs_list(). Referenced by BMESHobs::print_names(). |
|
Definition at line 59 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Reimplemented from GEL. Definition at line 381 of file geom.C. References DATA_ITEM::class_name(), and GEOM::name(). |
|
Definition at line 932 of file bmesh.H. References BMESHobs::observers(), and BMESHobs_list::print_names(). |
|
Reimplemented in Patch. Definition at line 163 of file appear.H. References APPEAR::_color, APPEAR::_has_color, and TAGformat::id(). Referenced by GEOM::tags(). |
|
Definition at line 143 of file geom.H. References GEOM::_name, and TAGformat::id(). Referenced by GEOM::tags(). |
|
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(). |
|
Definition at line 164 of file appear.H. References APPEAR::_has_transp, APPEAR::_transp, and TAGformat::id(). Referenced by GEOM::tags(). |
|
Definition at line 144 of file geom.H. References GEOM::_xform, and TAGformat::id(). Referenced by GEOM::tags(). |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
Definition at line 143 of file draw_widget.H. Referenced by deactivate(). |
|
Definition at line 75 of file draw_widget.H. References set_timeout(). Referenced by activate(), and notify(). |
|
Definition at line 94 of file appear.H. References APPEAR::_ambient_color, and APPEAR::_has_ambient_color. |
|
Definition at line 60 of file geom.C. References GEOM::_body. |
|
Reimplemented from APPEAR. Definition at line 413 of file geom.C. References COLORobs::notify_color_obs(), and APPEAR::set_color(). |
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
Definition at line 162 of file geom.H. References GEOM::_do_halo_ref. |
|
Definition at line 161 of file geom.H. References GEOM::_do_halo_view. |
|
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(). |
|
Definition at line 127 of file geom.H. References PICKABLE, hashvar< T >::set(), APPEAR::set_transp(), and APPEAR::unset_transp(). |
|
Definition at line 121 of file appear.H. References APPEAR::_has_shininess, and APPEAR::_shininess. |
|
Definition at line 112 of file appear.H. References APPEAR::_has_specular_color, and APPEAR::_specular_color. |
|
Definition at line 152 of file appear.H. References APPEAR::_tex_xform. |
|
Reimplemented from APPEAR. Definition at line 431 of file geom.C. References TEXTUREobs::notify_texture_obs(), and APPEAR::set_texture(). |
|
Definition at line 74 of file draw_widget.H. References _timer, and egg_timer::reset(). Referenced by reset_timeout(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 44 of file ref_img_client.H. References RET_STAT_STR. Referenced by BMESH::operator=(). |
|
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(). |
|
Definition at line 887 of file bmesh.H. References BMESHobs::_all_observers, and ARRAY< T >::add_uniquely(). Referenced by VisRefImage::observe(), and BufferRefImage::observe(). |
|
Definition at line 878 of file bmesh.H. References ARRAY< T >::add_uniquely(), and BMESHobs::bmesh_obs_list(). |
|
Definition at line 86 of file gel_obs.H. References DISPobs::_suspend_disp. |
|
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(). |
|
Definition at line 150 of file appear.H. References APPEAR::_tex_xform. |
|
Definition at line 147 of file appear.H. References APPEAR::_texture. |
|
Toggles on or off.
Definition at line 87 of file draw_widget.C. References activate(), deactivate(), and is_active(). |
|
Definition at line 166 of file geom.H. References GEOM::_do_halo_ref. |
|
Definition at line 163 of file geom.H. References GEOM::_do_halo_view. |
|
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(). |
|
Definition at line 115 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. |
|
Definition at line 111 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::~REFlock(). |
|
Definition at line 85 of file gel_obs.H. References DISPobs::_all_disp. Referenced by VisRefImage::unobserve(), BufferRefImage::unobserve(), and ~DrawWidget(). |
|
Definition at line 83 of file gel_obs.H. References DISPobs::disp_obs_list(). |
|
Definition at line 96 of file appear.H. References APPEAR::_has_ambient_color. |
|
Reimplemented from APPEAR. Definition at line 423 of file geom.C. References COLORobs::notify_color_obs(), and APPEAR::unset_color(). |
|
Definition at line 123 of file appear.H. References APPEAR::_has_shininess. |
|
Definition at line 114 of file appear.H. References APPEAR::_has_specular_color. |
|
Reimplemented from APPEAR. Definition at line 439 of file geom.C. References TEXTUREobs::notify_texture_obs(), and APPEAR::unset_texture(). |
|
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(). |
|
Definition at line 890 of file bmesh.H. References BMESHobs::_all_observers, and ARRAY< T >::rem(). Referenced by VisRefImage::unobserve(), and BufferRefImage::unobserve(). |
|
Definition at line 881 of file bmesh.H. References BMESHobs::bmesh_obs_list(), and ARRAY< T >::rem(). |
|
Reimplemented from RefImageClient. Definition at line 305 of file geom.C. References GEOM::_body, and RefImageClient::REF_IMG_NONE. |
|
Definition at line 114 of file geom.H. References GEOM::inv_xform(). Referenced by BMESH::inv_xform(). |
|
Referenced by DEFINER::visit(). |
|
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(). |
|
|
|
Definition at line 123 of file draw_widget.H. Referenced by activate(), deactivate(), get_active_instance(), and is_active(). |
|
|
Ambient color.
Definition at line 40 of file appear.H. Referenced by APPEAR::ambient_color(), and APPEAR::set_ambient_color(). |
|
Definition at line 212 of file geom.H. Referenced by GEOM::bbox(). |
|
|
|
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(). |
|
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(). |
|
Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode(). |
|
Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags(). |
|
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(). |
|
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(). |
|
Definition at line 120 of file draw_widget.H. |
|
|
|
Definition at line 119 of file draw_widget.H. Referenced by handle_gesture(). |
|
Definition at line 138 of file gel.H. Referenced by GEL::tags(). |
|
Definition at line 220 of file geom.H. Referenced by GEOM::tags(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Reimplemented in BufferRefImage. Definition at line 936 of file bmesh.H. Referenced by BMESHobs::bmesh_obs_list(). |
|
Definition at line 216 of file geom.H. Referenced by GEOM::inv_xform(). |
|
Definition at line 215 of file geom.H. Referenced by GEOM::inv_xform(). |
|
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(). |
|
Specular shininess.
Definition at line 46 of file appear.H. Referenced by APPEAR::set_shininess(), and APPEAR::shininess(). |
|
Specular color.
Definition at line 44 of file appear.H. Referenced by APPEAR::set_specular_color(), and APPEAR::specular_color(). |
|
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(). |
|
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(). |
|
Definition at line 121 of file draw_widget.H. Referenced by alpha(), and set_timeout(). |
|
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(). |
|
Definition at line 213 of file geom.H. Referenced by GEOM::put_xf(), and GEOM::xform(). |
|
Reimplemented from GEOM. Definition at line 101 of file draw_widget.H. |