Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ColladaPlugin/include/OgreColladaPrerequisites.h @ 21

Last change on this file since 21 was 21, checked in by nicolasc, 17 years ago

added ogreode and Colladaplugin

File size: 2.2 KB
Line 
1/**
2 * This source file is part of OgreColladaPlugin
3 * an addon for OGRE (Object-oriented Graphics Rendering Engine)
4 * For the latest info, see http://www.ogre3d.org/
5 *
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by the Free Software
8 * Foundation; either version 2 of the License, or (at your option) any later
9 * version.
10
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14
15 * You should have received a copy of the GNU Lesser General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place - Suite 330, Boston, MA 02111-1307, USA, or go to
18 * http://www.gnu.org/copyleft/lesser.txt.
19 *
20 * @author      Philipp Hartl
21 * @see         README
22 */
23
24#ifndef __COLLADA_PREREQUISITES_H__
25#define __COLLADA_PREREQUISITES_H__
26
27// libxml stuff
28// #define LIBXML_STATIC
29#include <libxml/parser.h>
30#include <libxml/tree.h>
31
32// Ogre stuff
33#include "OgreLogManager.h"
34// std includes
35//#include <vector>
36
37namespace Ogre
38{
39    #define COLLADA_VERSION_MAJOR 1
40    #define COLLADA_VERSION_MINOR 3
41    #define COLLADA_VERSION_PATCH 1
42
43        /**
44         * typedefs
45         */
46        typedef std::vector<xmlNode *> xmlNodePtrVector;
47        typedef std::vector<int> intVector;
48        typedef std::vector<float> floatVector;
49
50    enum UpAxis
51    {
52        X_UP = 0,
53        Y_UP,
54        Z_UP
55    };
56
57        /**
58         * pre-declared structures
59         */
60       
61        class ColladaEntity;
62        template <class T> class ColladaLibrary;
63
64        class ColladaBoundingBox;
65        class ColladaCamera;
66        class ColladaDocument;
67        class ColladaGeometry;
68        class ColladaImage;
69        class ColladaLibraryContainer;
70        class ColladaLight;
71        class ColladaMaterial;
72        class ColladaTexture;
73        class ColladaSceneNode;
74    class ColladaAsset;
75}
76
77#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(__MINGW32__)
78#   ifdef PLUGIN_COLLADA_EXPORT
79#       define _OgreColladaExport __declspec(dllexport)
80#   else
81#       define _OgreColladaExport __declspec(dllimport)
82#   endif
83#else
84#   define _OgreColladaExport
85#endif
86
87#endif // __COLLADA_PREREQUISITES_H__
Note: See TracBrowser for help on using the repository browser.