Changeset 863 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 04/29/06 19:11:23 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreOcclusionCullingSceneManager.h
r828 r863 12 12 #include "VisibilityManager.h" 13 13 #include "ViewCellsManager.h" 14 15 //class GtpVisibilityPreprocessor::ViewCellsManager; 14 16 15 17 … … 118 120 void InitVisibilityCulling(Camera *cam); 119 121 122 /** Finds object corresponding to this bounding box in the scene. 123 */ 124 MovableObject *FindCorrespondingObject(const AxisAlignedBox &box); 125 126 /** Identifies objects in the scene and gives them unique ids that 127 correspond to preprocessor ids. 128 */ 129 void IdentifyObjects(GtpVisibilityPreprocessor::ObjectContainer &objects); 130 120 131 /// the interface to the scene hierarchy. 121 132 OctreeHierarchyInterface *mHierarchyInterface; … … 164 175 /// Always execute the vertex program of a pass, e.g., for the depth pass or item buffer 165 176 bool mExecuteVertexProgramForAllPasses; 166 177 /// if hierarchical culling is currently in use 167 178 bool mIsHierarchicalCulling; 168 179 169 ViewCellsManager *mViewCellsManager;180 GtpVisibilityPreprocessor::ViewCellsManager *mViewCellsManager; 170 181 }; 171 182 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreTypeConverter.h
r860 r863 1 1 #ifndef _OgreTypeConverter_H__ 2 2 #define _OgreTypeConverter_H__ 3 3 4 #include "OgreAxisAlignedBox.h" 4 5 #include "AxisAlignedBox3.h" 5 #include "OgreAxisAlignedBox.h"6 6 #include "Vector3.h" 7 #include "OgreVector3.h"8 7 9 8 10 9 namespace Ogre { 11 10 12 11 /** 13 Class which converts our types to OGRE types12 Class which converts preprocessor types to OGRE types 14 13 */ 15 14 class __declspec(dllexport) OgreTypeConverter 16 15 { 17 16 public: 18 17 /** Converts Ogre AABB to preprocessor AABB. 18 */ 19 19 static GtpVisibilityPreprocessor::AxisAlignedBox3 ConvertFromOgre(const AxisAlignedBox &box); 20 /** Converts Ogre vector to preprocessor vector. 21 */ 20 22 static GtpVisibilityPreprocessor::Vector3 ConvertFromOgre(const Vector3 &v); 21 23 /** Converts preprocessor AABB to Ogre AABB. 24 */ 22 25 static AxisAlignedBox ConvertToOgre(const GtpVisibilityPreprocessor::AxisAlignedBox3 &box); 26 /** Converts preprocessor vector to Ogre vector. 27 */ 23 28 static Vector3 ConvertToOgre(const GtpVisibilityPreprocessor::Vector3 &v); 24 29 }; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreVisibilityOctreeSceneManager.h
r828 r863 104 104 void InitVisibilityCulling(Camera *cam); 105 105 106 107 106 108 /// the interface to the scene hierarchy. 107 109 OctreeHierarchyInterface *mHierarchyInterface;
Note: See TracChangeset
for help on using the changeset viewer.