Ignore:
Timestamp:
10/21/05 19:53:30 (19 years ago)
Author:
mattausch
Message:

fixed bug in chc when traversing node two times because of priority queue. left debug info in there

Location:
trunk/VUT/GtpVisibility/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/CoherentHierarchicalCullingManager.h

    r155 r345  
    2727                if 0, the visibility is tested deterministically for each frame. 
    2828        */ 
    29         void SetAssumedVisibility(unsigned int assumedVisibility); 
     29        void SetAssumedVisibility(const unsigned int assumedVisibility); 
    3030 
    3131protected: 
     
    4040        /** Skip query for this node. 
    4141        */ 
    42         void SkipQuery(HierarchyNode *node); 
     42        void SkipQuery(HierarchyNode *node) const; 
    4343 
    4444 
  • trunk/VUT/GtpVisibility/include/HierarchyInterface.h

    r175 r345  
    4242                @param node the current node  
    4343        */ 
    44         virtual void PullUpVisibility(HierarchyNode *node) = 0; 
     44        virtual void PullUpVisibility(HierarchyNode *node) const = 0; 
    4545        /** Issue a occlusion query for this node.  
    4646                @param node the current hierarchy node 
     
    9696                @param visible the visible flag 
    9797        */ 
    98         virtual void SetNodeVisible(HierarchyNode *node, const bool visible) = 0; 
     98        virtual void SetNodeVisible(HierarchyNode *node, const bool visible) const = 0; 
    9999        /** Returns true if node has the visible flag set. See set 
    100100        */ 
     
    105105        */ 
    106106        virtual void SetLastVisited(HierarchyNode *node,  
    107                                                                 const unsigned int frameId) = 0; 
     107                                                                const unsigned int frameId) const = 0; 
    108108        /** Returns frame id when this node was last visited by the traverser. See set 
    109109        */ 
     
    122122        */ 
    123123        virtual void VisualizeCulledNode(HierarchyNode *node,  
    124                 CullingType type) = NULL; 
     124                CullingType type) const = 0; 
    125125 
    126126        /** Returns vector of visible hierarchy nodes from previous render. 
Note: See TracChangeset for help on using the changeset viewer.