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

GELset Class Reference

#include <gel_set.H>

Inheritance diagram for GELset:

Inheritance graph
[legend]
Collaboration diagram for GELset:

Collaboration graph
[legend]
List of all members.

Public Types

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
}

Public Member Functions

 GELset ()
 ~GELset ()
int num () const
void operator+= (const GELptr el)
const GELptr operator[] (int i) const
void pop ()
void clear ()
virtual RAYhit & intersect (RAYhit &r, mlib::CWtransf &m=mlib::Identity, int uv=0) const
virtual bool cull (const VIEW *v) const
virtual int draw (CVIEWptr &v)
virtual int draw_final (CVIEWptr &v)
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_vis_ref ()
virtual BBOX bbox (int i=0) const
virtual DATA_ITEM * dup () const
 DEFINE_RTTI_METHODS3 ("GEL", GEL *, DATA_ITEM, CDATA_ITEM *)
virtual CTAGlist & tags () const
virtual RAYnear & nearest (RAYnear &r, mlib::CWtransf &m=mlib::Identity) const
virtual bool inside (mlib::CXYpt_list &) const
virtual bool needs_blend () const
virtual bool is_3D () const
virtual bool can_do_halo () const
virtual Cstr_ptr & name () const
virtual ostream & print (ostream &s) 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_tex_mem_ref ()
virtual ref_img_t use_ref_image ()
virtual int draw_ref_img (ref_img_t t)

Static Public Member Functions

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 ()

Protected Attributes

int _copy
TAGlist _DEFINERtags

Static Protected Attributes

static TAGlist * _gel_tags = 0

Private Attributes

GELlist _gel_list

Detailed Description

Definition at line 19 of file gel_set.H.


Member Enumeration Documentation

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

GELset::GELset (   )  [inline]
 

Definition at line 22 of file gel_set.H.

GELset::~GELset (   )  [inline]
 

Definition at line 23 of file gel_set.H.


Member Function Documentation

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.

BBOX GELset::bbox (  int  i = 0  )  const [virtual]
 

Reimplemented from GEL.

Definition at line 7 of file gel_set.C.

References _gel_list, GEL_list< T >::bbox(), and ARRAY< T >::num().

virtual bool GEL::can_do_halo (   )  const [inline, virtual, inherited]
 

Reimplemented in GEOM.

Definition at line 127 of file gel.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().

void GELset::clear (   )  [inline]
 

Definition at line 30 of file gel_set.H.

References _gel_list, and ARRAY< T >::clear().

virtual bool GELset::cull (  const VIEW *  v  )  const [inline, virtual]
 

Reimplemented from GEL.

Definition at line 35 of file gel_set.H.

References _gel_list, and GEL_list< T >::cull().

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().

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

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

Definition at line 225 of file data_item.H.

References DATA_ITEM::_hash.

virtual int GELset::draw (  CVIEWptr &  v  )  [inline, virtual]
 

Reimplemented from GEL.

Definition at line 36 of file gel_set.H.

References _gel_list, and GEL_list< T >::draw().

virtual int GELset::draw_color_ref (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 43 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_color_ref().

virtual int GELset::draw_color_ref_2 (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 44 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_color_ref_2().

virtual int GELset::draw_final (  CVIEWptr &  v  )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 37 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_final().

virtual int GELset::draw_id_ref (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 38 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_id_ref().

virtual int GELset::draw_id_ref_pre1 (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 39 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_id_ref_pre1().

virtual int GELset::draw_id_ref_pre2 (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 40 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_id_ref_pre2().

virtual int GELset::draw_id_ref_pre3 (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 41 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_id_ref_pre3().

virtual int GELset::draw_id_ref_pre4 (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 42 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_id_ref_pre4().

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().

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().

virtual int GELset::draw_vis_ref (   )  [inline, virtual]
 

Reimplemented from RefImageClient.

Definition at line 45 of file gel_set.H.

References _gel_list, and RIC_list< T >::draw_vis_ref().

virtual DATA_ITEM* GELset::dup (   )  const [inline, virtual]
 

Implements GEL.

Definition at line 48 of file gel_set.H.

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().

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

Definition at line 76 of file ref.H.

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

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

Reimplemented in TEXT2D.

Definition at line 120 of file gel.H.

virtual RAYhit& GELset::intersect (  RAYhit &  r,
mlib::CWtransf &  m = mlib::Identity,
int  uv = 0
)  const [inline, virtual]
 

Reimplemented from GEL.

Definition at line 33 of file gel_set.H.

References _gel_list, and GEL_list< T >::intersect().

virtual bool GEL::is_3D (   )  const [inline, virtual, inherited]
 

Reimplemented in GEOM.

Definition at line 126 of file gel.H.

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=().

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 Cstr_ptr& GEL::name (   )  const [inline, virtual, inherited]
 

Reimplemented in GEOM.

Definition at line 129 of file gel.H.

References GEL::_name.

Referenced by operator<<().

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

Reimplemented in GEOM.

virtual bool GEL::needs_blend (   )  const [inline, virtual, inherited]
 

Reimplemented in GEOM, ICON2D, DrawWidget, DEBUG_ELLIPSE, GESTURE, CAMwidget_anchor, CAMwidget_anchor, BALLwidget_anchor, and GRIDwidget_anchor.

Definition at line 121 of file gel.H.

int GELset::num (   )  const [inline]
 

Definition at line 26 of file gel_set.H.

References _gel_list, and ARRAY< T >::num().

void GELset::operator+= (  const GELptr  el  )  [inline]
 

Definition at line 27 of file gel_set.H.

References _gel_list.

const GELptr GELset::operator[] (  int  i  )  const [inline]
 

Definition at line 28 of file gel_set.H.

References _gel_list.

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

Definition at line 59 of file ref.H.

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

void GELset::pop (   )  [inline]
 

Definition at line 29 of file gel_set.H.

References _gel_list, ARRAY< T >::empty(), and ARRAY< T >::pop().

virtual ostream& GEL::print (  ostream &  s  )  const [inline, virtual, inherited]
 

Reimplemented in GEOM.

Definition at line 131 of file gel.H.

Referenced by operator<<().

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().

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 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().

virtual CTAGlist& GEL::tags (   )  const [inline, virtual, inherited]
 

Reimplemented from DATA_ITEM.

Reimplemented in GEOM.

Definition at line 113 of file gel.H.

References GEL::_gel_tags.

Referenced by GEOM::tags().

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().

virtual ref_img_t RefImageClient::use_ref_image (   )  [inline, virtual, inherited]
 

Reimplemented in GEOM, DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, MSLDShader, BMESH, and Patch.

Definition at line 60 of file ref_img_client.H.

References RefImageClient::REF_IMG_NONE.

Referenced by OGLTexture::draw_id_ref(), and Patch::use_ref_image().


Member Data Documentation

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().

GELlist GELset::_gel_list [private]
 

Definition at line 50 of file gel_set.H.

Referenced by bbox(), clear(), cull(), draw(), draw_color_ref(), draw_color_ref_2(), draw_final(), draw_id_ref(), draw_id_ref_pre1(), draw_id_ref_pre2(), draw_id_ref_pre3(), draw_id_ref_pre4(), draw_vis_ref(), intersect(), num(), operator+=(), operator[](), and pop().

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

Definition at line 138 of file gel.H.

Referenced by GEL::tags().


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