Panda3D
 All Classes Functions Variables Enumerations
animBundleNode.I
00001 // Filename: animBundleNode.I
00002 // Created by:  drose (06Mar02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: AnimBundleNode::Constructor
00018 //       Access: Public
00019 //  Description: The AnimBundle and its node should be constructed
00020 //               together.  Generally, the derived classes of
00021 //               AnimBundleNode will automatically create a AnimBundle
00022 //               of the appropriate type, and pass it up to this
00023 //               constructor.
00024 ////////////////////////////////////////////////////////////////////
00025 INLINE AnimBundleNode::
00026 AnimBundleNode(const string &name, AnimBundle *bundle) :
00027   PandaNode(name),
00028   _bundle(bundle)
00029 {
00030 }
00031 
00032 ////////////////////////////////////////////////////////////////////
00033 //     Function: AnimBundleNode::Default Constructor
00034 //       Access: Protected
00035 //  Description: For internal use only.
00036 ////////////////////////////////////////////////////////////////////
00037 INLINE AnimBundleNode::
00038 AnimBundleNode() : PandaNode("") {
00039 }
00040 
00041 ////////////////////////////////////////////////////////////////////
00042 //     Function: AnimBundleNode::Copy Constructor
00043 //       Access: Protected
00044 //  Description: Use make_copy() or copy_subgraph() to copy one of
00045 //               these.
00046 ////////////////////////////////////////////////////////////////////
00047 INLINE AnimBundleNode::
00048 AnimBundleNode(const AnimBundleNode &copy) :
00049   PandaNode(copy),
00050   _bundle(copy._bundle)
00051 {
00052 }
00053 
00054 ////////////////////////////////////////////////////////////////////
00055 //     Function: AnimBundleNode::get_bundle
00056 //       Access: Public
00057 //  Description:
00058 ////////////////////////////////////////////////////////////////////
00059 INLINE AnimBundle *AnimBundleNode::
00060 get_bundle() const {
00061   return _bundle;
00062 }
 All Classes Functions Variables Enumerations