Panda3D
characterJointBundle.I
1 // Filename: characterJointBundle.I
2 // Created by: drose (02Mar99)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 // This comment tells ppremake that we know this is a circular
16 // #include reference, and please don't bother us about it. The line
17 // must be exactly as shown.
18 /* okcircular */
19 #include "character.h"
20 
21 ////////////////////////////////////////////////////////////////////
22 // Function: CharacterJointBundle::Copy Constructor
23 // Access: Public
24 // Description: Normally, you'd use make_copy() or copy_subgraph() to
25 // make a copy of this.
26 ////////////////////////////////////////////////////////////////////
27 INLINE CharacterJointBundle::
28 CharacterJointBundle(const CharacterJointBundle &copy) :
29  PartBundle(copy)
30 {
31 }
32 
33 ////////////////////////////////////////////////////////////////////
34 // Function: CharacterJointBundle::get_node
35 // Access: Public
36 // Description: Returns the nth Character associated with
37 // this PartBundle.
38 ////////////////////////////////////////////////////////////////////
40 get_node(int n) const {
41  return DCAST(Character, PartBundle::get_node(n));
42 }
The collection of all the joints and sliders in the character.
An animated character, with skeleton-morph animation and either soft-skinned or hard-skinned vertices...
Definition: character.h:41
PartBundleNode * get_node(int n) const
Returns the nth PartBundleNode associated with this PartBundle.
Definition: partBundle.I:209
This is the root of a MovingPart hierarchy.
Definition: partBundle.h:49
Character * get_node(int n) const
Returns the nth Character associated with this PartBundle.