- Timestamp:
- 05/04/06 18:26:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/include/HierarchyInterface.h
r726 r897 19 19 20 20 21 /** Class which implements a hierarchy interface for a scene hierarchy. 21 /** Class which implements a hierarchy interface for a scene hierarchy. It has to be implemented 22 for any rendering engine to use the CHC algorithm. 22 23 */ 23 24 class HierarchyInterface … … 33 34 */ 34 35 virtual bool IsLeaf(HierarchyNode *node) const = 0; 35 /** Traverses and renders the given node.36 /** Traverses and renders the hierarchy from the given node. 36 37 @param node the hierarchy node 37 38 */ 38 39 virtual void TraverseNode(HierarchyNode *node) = 0; 39 /** Renders currenthierarchy node.40 /** Renders the given hierarchy node. 40 41 @param node current hierarchy node to be rendered 41 42 */ … … 47 48 /** Issue a occlusion query for this node. 48 49 @param node the current hierarchy node 50 @param wasVisible if the node was visible in the last frame: based 51 on this the method can decide on the way of querying 49 52 @returns occlusion query for this node 50 53 */ 51 54 virtual OcclusionQuery *IssueNodeOcclusionQuery(HierarchyNode *node, 52 const bool wasVisible = false) = 0;55 const bool wasVisible = false) = 0; 53 56 /** Sets the root of the scene hierarchy. 54 57 @param root the hierarchy root … … 122 125 123 126 /** Visualization of a culled node, dependent on the culling type. 127 @param node the hierarchy node to be visualized 124 128 @param type can be one of FRUSTUM_CULLED, QUERY_CULLED 125 129 */ 126 130 virtual void VisualizeCulledNode(HierarchyNode *node, 127 CullingType type) const = 0;131 CullingType type) const = 0; 128 132 129 133 /** Returns vector of visible hierarchy nodes from previous render.
Note: See TracChangeset
for help on using the changeset viewer.