#include <definer.H>
Inheritance diagram for DEFINER:
Public Types | |
enum | data_mask { XFORM = 1, ORIG_BODY = 2, XFORM_AND_ORIG_BODY = 3, CSG_BODY = 4 } |
Public Member Functions | |
DEFINER () | |
DEFINER (CDEFINER *d, GEOM *g) | |
virtual | ~DEFINER () |
virtual DEFINER * | copy (GEOM *g) const |
virtual CTAGlist & | tags () const |
virtual void | add_input (GEOM *o) |
virtual void | rem_input (GEOM *o) |
virtual GEOM * | feat_geom () const |
const GEOM * | geom (int i=0) const |
GEOM * | geom (int i=0) |
virtual void | rem_geom (GEOM *g) |
virtual void | add_geom (GEOM *g) |
virtual void | clear_geom () |
virtual void | set_geom (GEOM *g) |
void | clear_deltas () |
void | set_delta (GEOM *g, CBODYptr &, CMOD &m) |
void | set_delta (GEOM *g, mlib::CWtransf &d, CMOD &m) |
mlib::Wtransf | xf_delta () |
CBASIC_DATA< mlib::Wtransf > & | xf_delt () const |
void | reach (int r=1) |
int | reached () |
int | mask (data_mask d) |
int | num_outputs () const |
int | num_inputs () const |
data_mask | out_mask () const |
GEOM * | operator[] (int i) |
virtual ARRAY< GEOM * > | required () const |
virtual void | visit (MOD &mod) |
virtual void | print (ostream &os) |
virtual DATA_ITEM * | dup () const |
virtual void | put_outmask (TAGformat &d) const |
virtual void | put_inputs (TAGformat &d) const |
virtual void | get_outmask (TAGformat &d) |
virtual void | get_inputs (TAGformat &d) |
DEFINE_RTTI_METHODS2 ("DEFINER", DATA_ITEM, CDEFINER *) | |
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 |
Static Public Member Functions | |
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 | _reached |
data_mask | _out_mask |
BASIC_DATA< mlib::Wtransf > | _xf_delt |
BASIC_DATA< int > | _ob_delt |
ARRAY< GEOM * > | _inputs |
ARRAY< GEOM * > | _outputs |
int | _copy |
TAGlist | _DEFINERtags |
Static Protected Attributes | |
static TAGlist * | _def_tags |
Definition at line 82 of file definer.H.
|
|
|
Definition at line 25 of file definer.C. Referenced by copy(). |
|
Definition at line 100 of file definer.H. References set_geom(). |
|
Definition at line 45 of file definer.C. References _inputs, and ARRAY< T >::num(). |
|
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 114 of file definer.H. References _outputs. |
|
Definition at line 58 of file definer.C. References _inputs. Referenced by get_inputs(). |
|
Definition at line 205 of file data_item.H. |
|
|
Definition at line 119 of file definer.H. References _xf_delt, BASIC_DATA< T >::data(), and mlib::Identity. |
|
Definition at line 116 of file definer.H. References _outputs, and ARRAY< T >::clear(). |
|
Definition at line 103 of file definer.H. References DEFINER(). |
|
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(). |
|
|
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
Implements DATA_ITEM. |
|
|
|
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 112 of file definer.H. References _outputs. |
|
Definition at line 111 of file definer.H. References _outputs. Referenced by get_inputs(), and visit(). |
|
Definition at line 111 of file definer.C. References _inputs, add_input(), geom(), GEOM::name(), ARRAY< T >::num(), and rem_input(). Referenced by tags(). |
|
Definition at line 145 of file definer.H. References _out_mask. Referenced by tags(). |
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
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 135 of file definer.H. References _inputs, and ARRAY< T >::num(). |
|
Definition at line 134 of file definer.H. References _outputs, and ARRAY< T >::num(). |
|
Definition at line 137 of file definer.H. References _inputs. |
|
Definition at line 136 of file definer.H. References _out_mask. |
|
Definition at line 141 of file definer.H. References DATA_ITEM::class_name(). |
|
Definition at line 100 of file definer.C. References _inputs, TAGformat::end_id(), TAGformat::id(), and ARRAY< T >::num(). Referenced by tags(). |
|
Definition at line 143 of file definer.H. References _out_mask, TAGformat::id(), and int(). Referenced by tags(). |
|
Definition at line 130 of file definer.H. References _reached. Referenced by set_delta(). |
|
Definition at line 131 of file definer.H. References _reached. |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
Definition at line 113 of file definer.H. References _outputs. |
|
Definition at line 72 of file definer.C. References _inputs. Referenced by get_inputs(). |
|
|
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
Definition at line 122 of file definer.H. References _xf_delt, BASIC_DATA< T >::data(), BASIC_DATA< T >::id(), reach(), and BASIC_DATA< T >::write(). |
|
Definition at line 120 of file definer.H. References _ob_delt, reach(), and BASIC_DATA< T >::write(). |
|
Definition at line 117 of file definer.H. References _outputs. Referenced by DEFINER(). |
|
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(). |
|
Reimplemented from DATA_ITEM. Definition at line 30 of file definer.C. References _def_tags, get_inputs(), get_outmask(), put_inputs(), and put_outmask(). |
|
Reimplemented in COMPOSITE_DEF. Definition at line 82 of file definer.C. References _ob_delt, _outputs, _xf_delt, MOD::current(), geom(), BASIC_DATA< T >::id(), ARRAY< T >::num(), GEOM::write_xform(), xf_delt(), and xf_delta(). |
|
Definition at line 127 of file definer.H. References _xf_delt. Referenced by visit(). |
|
Definition at line 126 of file definer.H. References _xf_delt, and BASIC_DATA< T >::data(). Referenced by visit(). |
|
Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode(). |
|
Definition at line 97 of file definer.H. Referenced by tags(). |
|
Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags(). |
|
Definition at line 95 of file definer.H. Referenced by add_input(), get_inputs(), num_inputs(), operator[](), put_inputs(), rem_input(), COMPOSITE_DEF::visit(), and ~DEFINER(). |
|
Definition at line 94 of file definer.H. Referenced by set_delta(), and visit(). |
|
Definition at line 92 of file definer.H. Referenced by get_outmask(), mask(), out_mask(), and put_outmask(). |
|
Definition at line 96 of file definer.H. Referenced by add_geom(), clear_geom(), geom(), num_outputs(), rem_geom(), set_geom(), and visit(). |
|
|
|
Definition at line 93 of file definer.H. Referenced by clear_deltas(), set_delta(), visit(), xf_delt(), and xf_delta(). |