Ignore:
Timestamp:
03/26/07 18:49:17 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2280 r2292  
    1919typedef std::queue<PendingQuery> PendingQueue; 
    2020 
     21typedef std::vector<HierarchyNode *> HierarchyNodeContainer; 
    2122 
    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. 
    2427*/ 
    2528class HierarchyInterface 
     
    153156        virtual void DetermineFullVisibility(GtpVisibility::HierarchyNode *node) const = 0; 
    154157 
    155         virtual void TraverseNode2(GtpVisibility::HierarchyNode *node) = 0; 
    156  
    157158        virtual HierarchyNode *GetRandomLeaf(HierarchyNode *root) = 0; 
    158159        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; 
    159164 
    160165protected: 
Note: See TracChangeset for help on using the changeset viewer.