Ignore:
Timestamp:
05/04/06 18:26:23 (18 years ago)
Author:
mattausch
Message:

updated to ogre 1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/include/HierarchyInterface.h

    r726 r897  
    1919 
    2020 
    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. 
    2223*/ 
    2324class HierarchyInterface 
     
    3334        */ 
    3435    virtual bool IsLeaf(HierarchyNode *node) const = 0; 
    35         /** Traverses and renders the given node.  
     36        /** Traverses and renders the hierarchy from the given node.  
    3637                @param node the hierarchy node 
    3738        */ 
    3839        virtual void TraverseNode(HierarchyNode *node) = 0; 
    39         /** Renders current hierarchy node. 
     40        /** Renders the given hierarchy node. 
    4041                @param node current hierarchy node to be rendered 
    4142        */ 
     
    4748        /** Issue a occlusion query for this node.  
    4849                @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 
    4952                @returns occlusion query for this node 
    5053        */ 
    5154        virtual OcclusionQuery *IssueNodeOcclusionQuery(HierarchyNode *node,  
    52                 const bool wasVisible = false) = 0; 
     55                                                                                                        const bool wasVisible = false) = 0; 
    5356        /** Sets the root of the scene hierarchy. 
    5457                @param root the hierarchy root 
     
    122125 
    123126        /** Visualization of a culled node, dependent on the culling type.  
     127                @param node the hierarchy node to be visualized 
    124128                @param type can be one of FRUSTUM_CULLED, QUERY_CULLED 
    125129        */ 
    126130        virtual void VisualizeCulledNode(HierarchyNode *node,  
    127                 CullingType type) const = 0; 
     131                                                                         CullingType type) const = 0; 
    128132 
    129133        /** Returns vector of visible hierarchy nodes from previous render. 
Note: See TracChangeset for help on using the changeset viewer.