Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/chan/partBundle.I

Go to the documentation of this file.
00001 // Filename: partBundle.I
00002 // Created by:  drose (22Feb99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: PartBundle::get_blend_type
00022 //       Access: Published
00023 //  Description: Returns the way the character responds to multiple
00024 //               animations being bound simultaneously.
00025 ////////////////////////////////////////////////////////////////////
00026 INLINE PartBundle::BlendType PartBundle::
00027 get_blend_type() const {
00028   return _blend_type;
00029 }
00030 
00031 ////////////////////////////////////////////////////////////////////
00032 //     Function: PartBundle::get_node
00033 //       Access: Published
00034 //  Description: Returns the PartBundleNode associated with this
00035 //               PartBundle.
00036 ////////////////////////////////////////////////////////////////////
00037 INLINE PartBundleNode *PartBundle::
00038 get_node() const {
00039   return _node;
00040 }
00041 
00042 ////////////////////////////////////////////////////////////////////
00043 //     Function: PartBundle::control_begin
00044 //       Access: Public
00045 //  Description: Returns an iterator that can be used to traverse the
00046 //               entire set of AnimControls currently in effect.
00047 ////////////////////////////////////////////////////////////////////
00048 INLINE PartBundle::control_iterator PartBundle::
00049 control_begin() const {
00050   return _blend.begin();
00051 }
00052 
00053 
00054 ////////////////////////////////////////////////////////////////////
00055 //     Function: PartBundle::control_end
00056 //       Access: Public
00057 //  Description: Returns an iterator that can be used to traverse the
00058 //               entire set of AnimControls currently in effect.
00059 ////////////////////////////////////////////////////////////////////
00060 INLINE PartBundle::control_iterator PartBundle::
00061 control_end() const {
00062   return _blend.end();
00063 }
00064 
00065 
00066 ////////////////////////////////////////////////////////////////////
00067 //     Function: PartBundle::control_size
00068 //       Access: Public
00069 //  Description: Returns the number of entries between control_begin()
00070 //               and control_end(): the number of AnimControls
00071 //               currently in effect.
00072 ////////////////////////////////////////////////////////////////////
00073 INLINE PartBundle::control_size_type PartBundle::
00074 control_size() const {
00075   return _blend.size();
00076 }
00077 
00078 
00079 ////////////////////////////////////////////////////////////////////
00080 //     Function: PartBundle::get_blend_map
00081 //       Access: Public
00082 //  Description: Returns the entire mapping of AnimControls to blend
00083 //               effect.
00084 ////////////////////////////////////////////////////////////////////
00085 INLINE const PartBundle::ChannelBlend &PartBundle::
00086 get_blend_map() const {
00087   return _blend;
00088 }

Generated on Fri May 2 00:35:13 2003 for Panda by doxygen1.3