Changeset 2292 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 03/26/07 18:49:17 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBvHierarchyInterface.h
r2280 r2292 95 95 96 96 void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const {} 97 void TraverseNode2(GtpVisibility::HierarchyNode *node) {}97 98 98 bool IsNodeFullyVisible(GtpVisibility::HierarchyNode *node) const { return false;} 99 99 100 GtpVisibility::HierarchyNode *GetRandomLeaf(GtpVisibility::HierarchyNode *root) { return NULL;} 101 102 void CollectLeaves(GtpVisibility::HierarchyNode *root, 103 GtpVisibility::HierarchyNodeContainer &nodes) {}; 104 105 void RenderNodeRecursive(GtpVisibility::HierarchyNode *node) {}; 100 106 }; 101 107 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBvHierarchySceneNode.h
r2280 r2292 23 23 SceneNode(creator) {}; 24 24 25 BvHierarchySceneNode(SceneManager *creator, const String& name):25 BvHierarchySceneNode(SceneManager *creator, const String& name): 26 26 SceneNode(creator, name) {}; 27 27 28 ~BvHierarchySceneNode() {};28 ~BvHierarchySceneNode() {}; 29 29 30 // gather info for kd-tree creation 31 virtual void computeScene(BvhPlaneEventList& events, AxisAlignedBox& aabb, int& nObjects, bool includeChildren = true); 30 // gather info for kd-tree creation 31 virtual void computeScene(BvhPlaneEventList& events, AxisAlignedBox& aabb, 32 int& nObjects, 33 bool includeChildren = true); 32 34 33 // add all contained objects to render queue34 virtual void queueObjects(Camera* cam, RenderQueue* queue, bool onlyShadowCasters);35 // add all contained objects to render queue 36 virtual void queueObjects(Camera* cam, RenderQueue* queue, bool onlyShadowCasters); 35 37 36 // place all entities in geometry queue (for CHC)37 virtual void getGeometryList(GeometryVector *geometryList);38 // place all entities in geometry queue (for CHC) 39 virtual void getGeometryList(GeometryVector *geometryList); 38 40 39 // return a bounding box enclosing all objects40 virtual AxisAlignedBox getBoundingBox(void) const;41 // return a bounding box enclosing all objects 42 virtual AxisAlignedBox getBoundingBox(void) const; 41 43 42 // DEBUG 43 String dumpToString(void); 44 // DEBUG 45 String dumpToString(void); 46 44 47 protected: 45 48 virtual void _updateBounds(void); -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTreeHierarchyInterface.h
r2280 r2292 96 96 void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const {} 97 97 98 void TraverseNode2(GtpVisibility::HierarchyNode *node) {}99 100 98 GtpVisibility::HierarchyNode *GetRandomLeaf(GtpVisibility::HierarchyNode *root) { return NULL;} 101 99 102 100 bool IsNodeFullyVisible(GtpVisibility::HierarchyNode *node) const { return false;} 103 101 102 void CollectLeaves(GtpVisibility::HierarchyNode *root, 103 GtpVisibility::HierarchyNodeContainer &nodes) {}; 104 105 void RenderNodeRecursive(GtpVisibility::HierarchyNode *node) {}; 104 106 }; 105 107 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreOctreeHierarchyInterface.h
r2280 r2292 54 54 void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const; 55 55 56 void TraverseNode2(GtpVisibility::HierarchyNode *node);57 58 56 GtpVisibility::HierarchyNode *GetRandomLeaf(GtpVisibility::HierarchyNode *node); 59 57 … … 62 60 void RenderNodeRecursive(GtpVisibility::HierarchyNode *node); 63 61 62 void CollectLeaves(GtpVisibility::HierarchyNode *root, 63 GtpVisibility::HierarchyNodeContainer &nodes); 64 64 65 65 protected: -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreSceneNodeHierarchyInterface.h
r2280 r2292 47 47 48 48 void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const {} 49 void TraverseNode2(GtpVisibility::HierarchyNode *node) {} 49 50 50 GtpVisibility::HierarchyNode *GetRandomLeaf(GtpVisibility::HierarchyNode *root) { return NULL;} 51 51 52 bool IsNodeFullyVisible(GtpVisibility::HierarchyNode *node) const { return false;} 52 53 54 void CollectLeaves(GtpVisibility::HierarchyNode *root, GtpVisibility::HierarchyNodeContainer &nodes) {}; 53 55 }; 54 56
Note: See TracChangeset
for help on using the changeset viewer.