Inheritance diagram for PandaNode::CData:
Public Member Functions | |
CData () | |
CData (const CData ©) | |
virtual CycleData * | make_copy () const |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) const |
Writes the contents of this object to the datagram for shipping out to a Bam file. | |
virtual int | complete_pointers (TypedWritable **plist, BamReader *manager) |
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). | |
virtual void | fillin (DatagramIterator &scan, BamReader *manager) |
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new PandaNode. | |
void | write_up_list (const Up &up_list, BamWriter *manager, Datagram &dg) const |
Writes the indicated list of parent node pointers to the datagram. | |
void | write_down_list (const Down &down_list, BamWriter *manager, Datagram &dg) const |
Writes the indicated list of child node pointers to the datagram. | |
int | complete_up_list (Up &up_list, TypedWritable **p_list, BamReader *manager) |
Calls complete_pointers() on the list of parent node pointers. | |
int | complete_down_list (Down &down_list, TypedWritable **p_list, BamReader *manager) |
Calls complete_pointers() on the list of child node pointers. | |
void | fillin_up_list (Up &up_list, DatagramIterator &scan, BamReader *manager) |
Reads the indicated list parent node pointers from the datagram (or at least calls read_pointer() for each one). | |
void | fillin_down_list (Down &down_list, DatagramIterator &scan, BamReader *manager) |
Reads the indicated list child node pointers from the datagram (or at least calls read_pointer() for each one). | |
Public Attributes | |
Down | _down |
Down | _stashed |
Up | _up |
Paths | _paths |
ConstPointerTo< RenderState > | _state |
ConstPointerTo< RenderEffects > | _effects |
ConstPointerTo< TransformState > | _transform |
DrawMask | _draw_mask |
CollideMask | _net_collide_mask |
bool | _fixed_internal_bound |
|
Definition at line 152 of file pandaNode.I. |
|
Definition at line 169 of file pandaNode.I. References INLINE. |
|
Calls complete_pointers() on the list of child node pointers.
Definition at line 331 of file pandaNode.cxx. |
|
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). Returns the number of pointers processed. Reimplemented from CycleData. Definition at line 161 of file pandaNode.cxx. References _effects, _state, and _transform. |
|
Calls complete_pointers() on the list of parent node pointers.
Definition at line 295 of file pandaNode.cxx. |
|
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new PandaNode.
Reimplemented from CycleData. Definition at line 202 of file pandaNode.cxx. References Datagram::add_uint16(), BamWriter::has_object(), nassertv, and PN_uint16. |
|
Reads the indicated list child node pointers from the datagram (or at least calls read_pointer() for each one).
Definition at line 386 of file pandaNode.cxx. References nassertv. |
|
Reads the indicated list parent node pointers from the datagram (or at least calls read_pointer() for each one).
Definition at line 362 of file pandaNode.cxx. |
|
Implements CycleData. Definition at line 121 of file pandaNode.cxx. References _down, _draw_mask, _effects, _state, _transform, _up, Datagram::add_uint32(), BitMask< PN_uint32, 32 >::get_word(), write_down_list(), BamWriter::write_pointer(), and write_up_list(). |
|
Writes the contents of this object to the datagram for shipping out to a Bam file.
Reimplemented from CycleData. Definition at line 136 of file pandaNode.cxx. |
|
Writes the indicated list of child node pointers to the datagram.
Definition at line 267 of file pandaNode.cxx. Referenced by make_copy(). |
|
Writes the indicated list of parent node pointers to the datagram.
Definition at line 227 of file pandaNode.cxx. References BamWriter::write_pointer(). Referenced by make_copy(). |
|
Definition at line 298 of file pandaNode.h. Referenced by make_copy(). |
|
Definition at line 308 of file pandaNode.h. Referenced by make_copy(). |
|
Definition at line 304 of file pandaNode.h. Referenced by complete_pointers(), and make_copy(). |
|
Definition at line 318 of file pandaNode.h. |
|
Definition at line 316 of file pandaNode.h. |
|
Definition at line 301 of file pandaNode.h. Referenced by PandaNode::parents_changed(). |
|
Definition at line 299 of file pandaNode.h. |
|
Definition at line 303 of file pandaNode.h. Referenced by complete_pointers(), and make_copy(). |
|
Definition at line 305 of file pandaNode.h. Referenced by complete_pointers(), and make_copy(). |
|
Definition at line 300 of file pandaNode.h. Referenced by make_copy(). |