- Timestamp:
- 08/29/06 18:28:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTree.h
r1250 r1296 561 561 //void findVisibleNodes(NodeList& visibleNodes, Camera * cam); 562 562 563 /** Recurses the kdtree, adding any nodes intersecting with the 564 box/sphere/volume/ray into the given list. 565 It ignores the exclude scene node. 566 */ 567 void findNodesIn(const AxisAlignedBox &box, std::list<SceneNode *> &list, SceneNode *exclude = 0); 568 void findNodesIn(const Sphere &sphere, std::list<SceneNode *> &list, SceneNode *exclude = 0); 569 void findNodesIn(const PlaneBoundedVolume &volume, std::list<SceneNode *> &list, SceneNode *exclude = 0); 570 void findNodesIn(const Ray &ray, std::list<SceneNode *> &list, SceneNode *exclude = 0); 571 563 572 // self-explanatory ... 564 573 int getMaxDepth(void) { return mMaxDepth; }; 565 StatsgetStats(void) const { return mStats; };574 const Stats& getStats(void) const { return mStats; }; 566 575 AxisAlignedBox getBox(void) { if (mKdRoot) return mKdRoot->mAABB; else return AxisAlignedBox(); }; 567 576 void setBuildMethod(BuildMethod bm) { mBuildMethod = bm; } … … 598 607 //void recFindVisibleNodes(KdTree::Node * node, NodeList& visibleNodes, Camera * cam); 599 608 609 /** Recurses the kdtree, adding any nodes intersecting with the 610 box/sphere/volume/ray into the given list. 611 It ignores the exclude scene node. 612 */ 613 void recFindNodesIn(const AxisAlignedBox &box, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full = false); 614 void recFindNodesIn(const Sphere &sphere, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full = false); 615 void recFindNodesIn(const PlaneBoundedVolume &volume, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full = false); 616 void recFindNodesIn(const Ray &ray, std::list<SceneNode *> &list, SceneNode *exclude, Node * node, bool full = false); 617 600 618 // the root node of the kdtree 601 619 KdTree::Node * mKdRoot;
Note: See TracChangeset
for help on using the changeset viewer.