15 #ifndef PARTBUNDLENODE_H 16 #define PARTBUNDLENODE_H 18 #include "pandabase.h" 20 #include "partBundle.h" 21 #include "partBundleHandle.h" 23 #include "pandaNode.h" 43 INLINE PartBundleNode();
44 INLINE PartBundleNode(
const PartBundleNode ©);
47 virtual ~PartBundleNode();
54 INLINE
int get_num_bundles()
const;
56 MAKE_SEQ(get_bundles, get_num_bundles, get_bundle);
58 MAKE_SEQ(get_bundle_handles, get_num_bundles, get_bundle_handle);
63 void steal_bundles(PartBundleNode *other);
81 return get_class_type();
83 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
87 static void init_type() {
88 PandaNode::init_type();
89 register_type(_type_handle,
"PartBundleNode",
90 PandaNode::get_class_type());
97 #include "partBundleNode.I" A basic node of the scene graph or data graph.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
virtual void apply_attribs_to_vertices(const AccumulatedAttribs &attribs, int attrib_types, GeomTransformer &transformer)
Applies whatever attributes are specified in the AccumulatedAttribs object (and by the attrib_types b...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is a trivial class returned by PartBundleNode::get_bundle().
virtual void xform(const LMatrix4 &mat)
Transforms the contents of this PandaNode by the indicated matrix, if it means anything to do so...
This class is used by the SceneGraphReducer to maintain and accumulate the set of attributes we have ...
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin()...
This is a 4-by-4 transform matrix.
This is a node that contains a pointer to an PartBundle.
This is the root of a MovingPart hierarchy.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...