14#ifndef RIGIDBODYCOMBINER_H
15#define RIGIDBODYCOMBINER_H
44class EXPCL_PANDA_GRUTIL RigidBodyCombiner :
public PandaNode {
46 explicit RigidBodyCombiner(
const std::string &name);
48 RigidBodyCombiner(
const RigidBodyCombiner ©);
62 void r_collect(PandaNode *node,
const RenderState *state,
67 PT(PandaNode) _internal_root;
70 Transforms _internal_transforms;
76 INLINE
bool operator < (
const VDUnifier &other)
const;
90 static void init_type() {
91 PandaNode::init_type();
93 PandaNode::get_class_type());
95 virtual TypeHandle get_type()
const {
96 return get_class_type();
98 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
101 static TypeHandle _type_handle;
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data)
This function will be called during the cull traversal to perform any additional operations that shou...
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
void collect()
Walks through the entire subgraph of nodes rooted at this node, accumulates all of the RenderAttribs ...
get_internal_scene
Returns a special NodePath that represents the internal node of this object.
TypeHandle is the identifier used to differentiate C++ class types.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.