Changeset 2292 for GTP/trunk/Lib/Vis/OnlineCullingCHC/include
- Timestamp:
- 03/26/07 18:49:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/include/HierarchyInterface.h
r2280 r2292 19 19 typedef std::queue<PendingQuery> PendingQueue; 20 20 21 typedef std::vector<HierarchyNode *> HierarchyNodeContainer; 21 22 22 /** Class which implements a hierarchy interface for a scene hierarchy. It has to be implemented 23 for any rendering engine to use the CHC algorithm. 23 24 /** Class which implements an interface for the operations on a hierarchy 25 of a scene. 26 It has to be implemented for any rendering engine to use the CHC algorithm. 24 27 */ 25 28 class HierarchyInterface … … 153 156 virtual void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const = 0; 154 157 155 virtual void TraverseNode2(GtpVisibility::HierarchyNode *node) = 0;156 157 158 virtual HierarchyNode *GetRandomLeaf(HierarchyNode *root) = 0; 158 159 virtual bool IsNodeFullyVisible(GtpVisibility::HierarchyNode *node) const = 0; 160 161 virtual void CollectLeaves(HierarchyNode *root, HierarchyNodeContainer &nodes) = 0; 162 163 virtual void RenderNodeRecursive(HierarchyNode *node) = 0; 159 164 160 165 protected:
Note: See TracChangeset
for help on using the changeset viewer.