source: OGRE/trunk/ogrenew/Tools/MayaExport/maya2ogre/include/OgreMayaScene.h @ 657

Revision 657, 2.0 KB checked in by mattausch, 19 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1/*
2============================================================================
3This source file is part of the Ogre-Maya Tools.
4Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
5Copyright (C) 2003 Fifty1 Software Inc., Bytelords
6
7This program is free software; you can redistribute it and/or
8modify it under the terms of the GNU General Public License
9as published by the Free Software Foundation; either version 2
10of the License, or (at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20or go to http://www.gnu.org/licenses/gpl.txt
21============================================================================
22*/
23#ifndef _OGREMAYA_SCENE_H_
24#define _OGREMAYA_SCENE_H_
25
26#include "OgreMayaCommon.h"
27
28#include <maya/MString.h>
29
30#include <string>
31
32namespace OgreMaya {
33
34//    using namespace std;     
35
36        //      ===========================================================================
37        /** \class              SceneMgr
38                \author         John Van Vliet, Fifty1 Software Inc.
39                \version        1.0
40                \date           June 2003
41
42                Loads and unloads a Maya scene for non-plugin exporters. Initializes the
43                Maya library if required on the first load, and cleans up the Maya library
44                in the destructor.
45        */     
46        //      ===========================================================================
47        class SceneMgr {
48        public:
49
50                /// Constructor.
51                SceneMgr();
52               
53                /// Destructor.
54                virtual ~SceneMgr();
55               
56                /// Load the Maya scene file defined in the options (initializes Maya library first if required)
57                bool load();
58
59
60        protected:
61                bool          mbInitialized;
62        };
63}
64
65#endif
Note: See TracBrowser for help on using the repository browser.