#include <renderEffects.h>
Inheritance diagram for RenderEffects:
Public Member Functions | |
virtual | ~RenderEffects () |
bool | operator< (const RenderEffects &other) const |
bool | safe_to_transform () const |
bool | safe_to_combine () const |
CPT (RenderEffects) xform(const LMatrix4f &mat) const | |
INLINE int | get_num_effects () const |
INLINE const RenderEffect * | get_effect (int n) const |
int | find_effect (TypeHandle type) const |
CPT (RenderEffects) add_effect(const RenderEffect *effect) const | |
CPT (RenderEffects) remove_effect(TypeHandle type) const | |
const RenderEffect * | get_effect (TypeHandle type) const |
void | output (ostream &out) const |
void | write (ostream &out, int indent_level) const |
INLINE const BillboardEffect * | get_billboard () const |
INLINE bool | has_decal () const |
INLINE const CompassEffect * | get_compass () const |
INLINE bool | has_show_bounds () const |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
virtual int | complete_pointers (TypedWritable **plist, BamReader *manager) |
virtual void | finalize () |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
CPT (RenderEffects) make_empty() | |
CPT (RenderEffects) make(const RenderEffect *effect) | |
CPT (RenderEffects) make(const RenderEffect *effect1 | |
CPT (RenderEffects) make(const RenderEffect *effect1 | |
CPT (RenderEffects) make(const RenderEffect *effect1 | |
void | register_with_read_factory () |
TypedWritable * | change_this (TypedWritable *old_ptr, BamReader *manager) |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad0__: INLINE bool is_empty() const |
const RenderEffect * | effect2 |
const RenderEffect * | effect2 |
const RenderEffect const RenderEffect * | effect3 |
const RenderEffect * | effect2 |
const RenderEffect const RenderEffect * | effect3 |
const RenderEffect const RenderEffect const RenderEffect * | effect4 |
Protected Member Functions | |
RenderEffects () | |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
Private Types | |
typedef pset< const RenderEffects *, IndirectLess< RenderEffects > > | States |
typedef ov_set< Effect > | Effects |
enum | Flags { F_checked_billboard = 0x0001, F_checked_decal = 0x0002, F_has_decal = 0x0004, F_checked_show_bounds = 0x0008, F_has_show_bounds = 0x0010, F_checked_compass = 0x0020 } |
Private Member Functions | |
RenderEffects (const RenderEffects ©) | |
void | operator= (const RenderEffects ©) |
void | determine_billboard () |
void | determine_decal () |
void | determine_compass () |
void | determine_show_bounds () |
Static Private Member Functions | |
CPT (RenderEffects) return_new(RenderEffects *state) | |
CPT (RenderEffects) _empty_state | |
Private Attributes | |
States::iterator | _saved_entry |
Effects | _effects |
const BillboardEffect * | _billboard |
const CompassEffect * | _compass |
short | _flags |
Static Private Attributes | |
States | _states |
TypeHandle | _type_handle |
|
Definition at line 129 of file renderEffects.h. |
|
Definition at line 104 of file renderEffects.h. |
|
Definition at line 137 of file renderEffects.h. |
|
Definition at line 43 of file renderEffects.cxx. References _flags, _saved_entry, and _states. |
|
Definition at line 54 of file renderEffects.cxx. |
|
Definition at line 75 of file renderEffects.cxx. References _saved_entry, and _states. |
|
Definition at line 568 of file renderEffects.cxx. References CPT(), DCAST, pointer, and BamReader::register_finalize(). Referenced by make_from_bam(). |
|
Reimplemented from TypedWritable. Definition at line 534 of file renderEffects.cxx. References _effects, RenderEffects::Effect::_type, TypedWritable::complete_pointers(), DCAST, NULL, and ov_set< Effect >::sort(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by change_this(). |
|
Definition at line 441 of file renderEffects.cxx. References _billboard, _flags, DCAST, F_checked_billboard, BillboardEffect::get_class_type(), get_effect(), and NULL. |
|
Definition at line 470 of file renderEffects.cxx. References _compass, _flags, DCAST, F_checked_compass, CompassEffect::get_class_type(), get_effect(), and NULL. |
|
Definition at line 456 of file renderEffects.cxx. References _flags, F_checked_decal, F_has_decal, DecalEffect::get_class_type(), get_effect(), and NULL. |
|
Definition at line 485 of file renderEffects.cxx. References _flags, F_checked_show_bounds, F_has_show_bounds, ShowBoundsEffect::get_class_type(), get_effect(), and NULL. |
|
Reimplemented from TypedWritable. Definition at line 637 of file renderEffects.cxx. References _effects, TypedWritable::fillin(), DatagramIterator::get_uint16(), and BamReader::read_pointer(). Referenced by make_from_bam(). |
|
Reimplemented from TypedWritable. Definition at line 596 of file renderEffects.cxx. References ReferenceCount::unref(). |
|
Definition at line 182 of file renderEffects.cxx. |
|
Reimplemented from TypedWritableReferenceCount. Definition at line 170 of file renderEffects.h. References ReferenceCount::get_class_type(), and TypedWritableReferenceCount::init_type(). |
|
Referenced by CullTraverserData::apply_transform_and_state(). |
|
Reimplemented from ReferenceCount. Definition at line 159 of file renderEffects.h. Referenced by register_with_read_factory(). |
|
Referenced by CullTraverserData::apply_transform_and_state(). |
|
Definition at line 350 of file renderEffects.cxx. |
|
Referenced by determine_billboard(), determine_compass(), determine_decal(), and determine_show_bounds(). |
|
|
|
Reimplemented from TypedWritableReferenceCount. Definition at line 167 of file renderEffects.h. References ReferenceCount::get_class_type(). |
|
Referenced by CullTraverser::traverse_below(). |
|
Referenced by CullTraverser::r_get_decals(), and CullTraverser::traverse(). |
|
Reimplemented from TypedWritableReferenceCount. Definition at line 162 of file renderEffects.h. References ReferenceCount::get_class_type(), TypedWritableReferenceCount::init_type(), and register_type(). Referenced by init_libpgraph(). |
|
Definition at line 617 of file renderEffects.cxx. References change_this(), fillin(), params, parse_params(), and BamReader::register_change_this(). Referenced by register_with_read_factory(). |
|
Definition at line 96 of file renderEffects.cxx. References _effects. |
|
Definition at line 64 of file renderEffects.cxx. |
|
Definition at line 365 of file renderEffects.cxx. References _effects. Referenced by operator<<(). |
|
Definition at line 500 of file renderEffects.cxx. References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory(). Referenced by init_libpgraph(). |
|
Definition at line 133 of file renderEffects.cxx. References _effects. Referenced by SceneGraphReducer::consider_child(), and SceneGraphReducer::flatten_siblings(). |
|
Definition at line 112 of file renderEffects.cxx. References _effects. Referenced by SceneGraphReducer::r_apply_attribs(). |
|
Definition at line 388 of file renderEffects.cxx. References _effects, and indent(). Referenced by SceneGraphReducer::r_apply_attribs(). |
|
Implements TypedWritableReferenceCount. Definition at line 511 of file renderEffects.cxx. References _effects, Datagram::add_uint16(), PN_uint16, TypedWritable::write_datagram(), and BamWriter::write_pointer(). |
|
Reimplemented from TypedWritableReferenceCount. Definition at line 64 of file renderEffects.h. |
|
Definition at line 134 of file renderEffects.h. Referenced by determine_billboard(). |
|
Definition at line 135 of file renderEffects.h. Referenced by determine_compass(). |
|
Definition at line 130 of file renderEffects.h. Referenced by complete_pointers(), CPT(), fillin(), find_effect(), get_effect(), operator<(), output(), safe_to_combine(), safe_to_transform(), write(), and write_datagram(). |
|
Definition at line 145 of file renderEffects.h. Referenced by determine_billboard(), determine_compass(), determine_decal(), determine_show_bounds(), and RenderEffects(). |
|
Definition at line 111 of file renderEffects.h. Referenced by RenderEffects(), and ~RenderEffects(). |
|
Definition at line 31 of file renderEffects.cxx. Referenced by RenderEffects(), and ~RenderEffects(). |
|
Reimplemented from TypedWritableReferenceCount. Definition at line 173 of file renderEffects.h. |
|
Definition at line 78 of file renderEffects.h. |
|
Definition at line 75 of file renderEffects.h. |
|
Definition at line 73 of file renderEffects.h. |
|
Definition at line 78 of file renderEffects.h. |
|
Definition at line 75 of file renderEffects.h. |
|
Definition at line 78 of file renderEffects.h. |