Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Tools/3dsmaxExport/LEXIExporter/LexiExport/Sources/LexiOgreSkeletonCompiler.h @ 6

Last change on this file since 6 was 6, checked in by anonymous, 17 years ago

=…

File size: 1.4 KB
Line 
1/*
2-----------------------------------------------------------------------------
3This source file is part of LEXIExporter
4
5Copyright 2006 NDS Limited
6
7Author(s):
8Mark Folkenberg,
9Bo Krohn
10
11This program is free software; you can redistribute it and/or modify it under
12the terms of the GNU Lesser General Public License as published by the Free Software
13Foundation; either version 2 of the License, or (at your option) any later
14version.
15
16This program is distributed in the hope that it will be useful, but WITHOUT
17ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public License along with
21this program; if not, write to the Free Software Foundation, Inc., 59 Temple
22Place - Suite 330, Boston, MA 02111-1307, USA, or go to
23http://www.gnu.org/copyleft/lesser.txt.
24-----------------------------------------------------------------------------
25*/
26
27#include "LexiIntermediateAPI.h"
28
29
30class COgreSkeletonCompiler
31{
32
33
34public:
35        COgreSkeletonCompiler( Ogre::String name, Ogre::MeshPtr ogreMesh );
36        virtual ~COgreSkeletonCompiler();
37        bool WriteOgreSkeleton( const Ogre::String& sFilename );
38        void CreateAnimations( void );
39
40protected:
41
42private:
43
44        void CreateSkeleton( CIntermediateBone* pIBone = NULL );
45
46        CIntermediateSkeleton* m_pISkel;
47        Ogre::SkeletonPtr m_pSkel;
48        Ogre::MeshPtr m_pOgreMesh;
49
50};
Note: See TracBrowser for help on using the repository browser.