source: GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/VisibilityMesh.h @ 2280

Revision 2280, 746 bytes checked in by mattausch, 18 years ago (diff)

removed dependency on ogre in gtpvisibility

Line 
1#ifndef _VisibilityMesh_H__
2#define _VisibilityMesh_H__
3
4
5#include <OgreEntity.h>
6#include "VisibilityInfo.h"
7
8namespace GtpVisibility {
9  typedef Ogre::Entity Mesh;
10  typedef Ogre::SubEntity Patch;
11}
12
13
14typedef std::vector<GtpVisibility::Mesh *> GeometryVector;
15typedef std::vector<GtpVisibility::Patch *> PatchVector;
16
17
18typedef GtpVisibility::VisibilityInfo<GtpVisibility::Patch *> PatchInfo;
19typedef GtpVisibility::VisibilityInfo<GtpVisibility::Mesh *> MeshInfo;
20typedef GtpVisibility::VisibilityInfo<GtpVisibility::HierarchyNode *> NodeInfo;
21
22
23typedef std::vector<PatchInfo> PatchInfoContainer;
24typedef std::vector<MeshInfo> MeshInfoContainer;
25typedef std::vector<NodeInfo> NodeInfoContainer;
26
27
28#endif // VisibilityMesh.h
Note: See TracBrowser for help on using the repository browser.