Panda3D
|
The collection of all the joints and sliders in the character. More...
#include "characterJointBundle.h"
Public Member Functions | |
CharacterJointBundle (const string &name="") | |
Normally, there is no need to create a CharacterJointBundle directly. | |
virtual TypeHandle | force_init_type () |
Character * | get_node (int n) const |
Returns the nth Character associated with this PartBundle. | |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
static TypedWritable * | make_CharacterJointBundle (const FactoryParams ¶ms) |
Factory method to generate a CharacterJointBundle object. | |
static void | register_with_read_factory () |
Factory method to generate a CharacterJointBundle object. | |
Protected Member Functions | |
CharacterJointBundle (const CharacterJointBundle ©) | |
Normally, you'd use make_copy() or copy_subgraph() to make a copy of this. | |
virtual void | add_node (PartBundleNode *node) |
Adds the PartBundleNode pointer to the set of nodes associated with the PartBundle. | |
virtual PartGroup * | make_copy () const |
Allocates and returns a new copy of the node. | |
virtual void | remove_node (PartBundleNode *node) |
Removes the PartBundleNode pointer from the set of nodes associated with the PartBundle. |
The collection of all the joints and sliders in the character.
Definition at line 31 of file characterJointBundle.h.
CharacterJointBundle::CharacterJointBundle | ( | const CharacterJointBundle & | copy | ) | [inline, protected] |
Normally, you'd use make_copy() or copy_subgraph() to make a copy of this.
Definition at line 28 of file characterJointBundle.I.
Referenced by make_CharacterJointBundle(), and make_copy().
CharacterJointBundle::CharacterJointBundle | ( | const string & | name = "" | ) |
Normally, there is no need to create a CharacterJointBundle directly.
The Character node will automatically create one for itself.
Definition at line 31 of file characterJointBundle.cxx.
void CharacterJointBundle::add_node | ( | PartBundleNode * | node | ) | [protected, virtual] |
Adds the PartBundleNode pointer to the set of nodes associated with the PartBundle.
Normally called only by the PartBundleNode itself, for instance when the bundle is flattened with another node.
Reimplemented from PartBundle.
Definition at line 63 of file characterJointBundle.cxx.
References TypedObject::is_of_type().
Character * CharacterJointBundle::get_node | ( | int | n | ) | const [inline] |
Returns the nth Character associated with this PartBundle.
Reimplemented from PartBundle.
Definition at line 40 of file characterJointBundle.I.
References PartBundle::get_node().
Referenced by remove_node().
TypedWritable * CharacterJointBundle::make_CharacterJointBundle | ( | const FactoryParams & | params | ) | [static] |
Factory method to generate a CharacterJointBundle object.
Definition at line 121 of file characterJointBundle.cxx.
References CharacterJointBundle(), PartBundle::fillin(), and BamReader::register_finalize().
Referenced by register_with_read_factory().
PartGroup * CharacterJointBundle::make_copy | ( | ) | const [protected, virtual] |
Allocates and returns a new copy of the node.
Children are not copied, but see copy_subgraph().
Reimplemented from PartBundle.
Definition at line 50 of file characterJointBundle.cxx.
References CharacterJointBundle().
void CharacterJointBundle::register_with_read_factory | ( | ) | [static] |
Factory method to generate a CharacterJointBundle object.
Reimplemented from PartBundle.
Definition at line 139 of file characterJointBundle.cxx.
References BamReader::get_factory(), make_CharacterJointBundle(), and Factory< Type >::register_factory().
void CharacterJointBundle::remove_node | ( | PartBundleNode * | node | ) | [protected, virtual] |
Removes the PartBundleNode pointer from the set of nodes associated with the PartBundle.
Normally called only by the PartBundleNode itself, for instance when the bundle is flattened with another node.
Reimplemented from PartBundle.
Definition at line 81 of file characterJointBundle.cxx.
References get_node(), and PartBundle::get_num_nodes().