14#ifndef PARTBUNDLENODE_H
15#define PARTBUNDLENODE_H
48 virtual void xform(
const LMatrix4 &mat);
51 INLINE
int get_num_bundles()
const;
53 MAKE_SEQ(get_bundles, get_num_bundles, get_bundle);
57 MAKE_SEQ_PROPERTY(bundles, get_num_bundles, get_bundle);
81 return get_class_type();
83 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
84 static TypeHandle get_class_type() {
87 static void init_type() {
88 PandaNode::init_type();
90 PandaNode::get_class_type());
94 static TypeHandle _type_handle;
This class is used by the SceneGraphReducer to maintain and accumulate the set of attributes we have ...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
virtual void xform(const LMatrix4 &mat)
Transforms the contents of this PandaNode by the indicated matrix, if it means anything to do so.
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...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is a trivial class returned by PartBundleNode::get_bundle().
get_bundle_handle
Returns the PartBundleHandle that wraps around the actual nth PartBundle.
PartBundleNode(const std::string &name, PartBundle *bundle)
The PartBundle and its node should be constructed together.
This is the root of a MovingPart hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.
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().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...