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