Panda3D
animBundleNode.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file animBundleNode.I
10  * @author drose
11  * @date 2002-03-06
12  */
13 
14 /**
15  * The AnimBundle and its node should be constructed together. Generally, the
16  * derived classes of AnimBundleNode will automatically create a AnimBundle of
17  * the appropriate type, and pass it up to this constructor.
18  */
19 INLINE AnimBundleNode::
20 AnimBundleNode(const std::string &name, AnimBundle *bundle) :
21  PandaNode(name),
22  _bundle(bundle)
23 {
24 }
25 
26 /**
27  * For internal use only.
28  */
29 INLINE AnimBundleNode::
30 AnimBundleNode() : PandaNode("") {
31 }
32 
33 /**
34  * Use make_copy() or copy_subgraph() to copy one of these.
35  */
36 INLINE AnimBundleNode::
37 AnimBundleNode(const AnimBundleNode &copy) :
38  PandaNode(copy),
39  _bundle(copy._bundle)
40 {
41 }
42 
43 /**
44  *
45  */
46 INLINE AnimBundle *AnimBundleNode::
47 get_bundle() const {
48  return _bundle;
49 }
A basic node of the scene graph or data graph.
Definition: pandaNode.h:64
This is the root of an AnimChannel hierarchy.
Definition: animBundle.h:29
This is a node that contains a pointer to an AnimBundle.