Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

bone.h

Go to the documentation of this file.
00001 /***************************************************************************
00002               bone.h  -  Bone hierarchy node for building skeletons
00003                              -------------------
00004     begin                : Sun Jun 16 2002
00005     copyright            : (C) 2001 by Reality Rift Studios
00006     email                : mattias@realityrift.com
00007  ***************************************************************************
00008 
00009  The contents of this file are subject to the Mozilla Public License Version
00010  1.1 (the "License"); you may not use this file except in compliance with
00011  the License. You may obtain a copy of the License at 
00012  http://www.mozilla.org/MPL/
00013 
00014  Software distributed under the License is distributed on an "AS IS" basis,
00015  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00016  for the specific language governing rights and limitations under the
00017  License.
00018 
00019  The Original Code is the NeoEngine, bone.h
00020 
00021  The Initial Developer of the Original Code is Mattias Jansson.
00022  Portions created by Mattias Jansson are Copyright (C) 2002
00023  Reality Rift Studios. All Rights Reserved.
00024 
00025  ***************************************************************************/
00026 
00027 #ifndef __NEBONE_H
00028 #define __NEBONE_H
00029 
00030 
00037 #include "base.h"
00038 #include "hierarchynode.h"
00039 
00040 
00041 namespace NeoEngine
00042 {
00043 
00044 
00045 #ifdef WIN32
00046 
00047 #  ifdef _MSC_VER
00048 #    pragma warning( disable : 4231 )
00049 #  endif
00050 
00051 #  ifndef __HAVE_VECTOR_NEBONE
00052      UDTVectorEXPIMP( class Bone* );
00053 #    define __HAVE_VECTOR_NEBONE
00054 #  endif
00055 
00056 #  ifdef _MSC_VER
00057 #    ifndef __HAVE_NEHIERARCHYNODE_NEBONE
00058        EXPIMP_TEMPLATE template class NEOENGINE_API HierarchyNode< class Bone >;
00059 #      define __HAVE_NEHIERARCHYNODE_NEBONE
00060 #    endif
00061 #  endif
00062 
00063 #endif
00064 
00065 
00074 class NEOENGINE_API Bone : public HierarchyNode< Bone >
00075 {
00076     public:
00077 
00079         unsigned int                                  m_uiID;
00080 
00081 
00087                                                       Bone( unsigned int uiID = 0, const std::string &rstrName = "", Bone *pkParent = 0 );
00088 
00093                                                       Bone( Bone &rkBone );
00094         
00098         virtual                                      ~Bone();
00099 
00104         virtual Bone                                 *Duplicate();
00105 };
00106 
00107 
00108 };
00109 
00110 
00111 #endif

Generated on Wed Jan 21 14:21:06 2004 for NeoEngine by doxygen 1.3.5