source: GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreTypeConverter.h @ 1593

Revision 1593, 1.1 KB checked in by mattausch, 18 years ago (diff)
RevLine 
[860]1#ifndef _OgreTypeConverter_H__
2#define _OgreTypeConverter_H__
[863]3 
4#include "OgreAxisAlignedBox.h"
[860]5#include "AxisAlignedBox3.h"
6#include "Vector3.h"
[1593]7//#include "ManualObject.h"
[860]8
9
10namespace Ogre {
[1593]11
12class SceneManager;
13
[860]14/**
[863]15        Class which converts preprocessor types to OGRE types
[860]16*/
17class __declspec(dllexport) OgreTypeConverter
18{
19public:
[863]20        /** Converts Ogre AABB to preprocessor AABB.
21        */
[860]22        static GtpVisibilityPreprocessor::AxisAlignedBox3 ConvertFromOgre(const AxisAlignedBox &box);
[863]23        /** Converts Ogre vector to preprocessor vector.
24        */
[860]25        static GtpVisibilityPreprocessor::Vector3 ConvertFromOgre(const Vector3 &v);
[863]26        /** Converts preprocessor AABB to Ogre AABB.
27        */
[860]28        static AxisAlignedBox ConvertToOgre(const GtpVisibilityPreprocessor::AxisAlignedBox3 &box);
[863]29        /** Converts preprocessor vector to Ogre vector.
30        */
[860]31        static Vector3 ConvertToOgre(const GtpVisibilityPreprocessor::Vector3 &v);
[1593]32
33        /** The Ogre object will be created from the mesh.
34        */
35        static ManualObject *ConvertToOgre(GtpVisibilityPreprocessor::Mesh *mesh, SceneManager *sceneMgr);
[860]36};
37
38} // namespace Ogre
39
40#endif // PlatformQueryManager
Note: See TracBrowser for help on using the repository browser.