Ignore:
Timestamp:
08/24/06 18:05:53 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h

    r1259 r1279  
    8989        friend OspTree; 
    9090        friend BvHierarchy; 
     91        friend ViewCellsParseHandlers; 
    9192 
    9293public: 
    93         /** Constructor taking an object space partition and a view space partition tree. 
    94         */ 
    95         HierarchyManager(VspTree &vspTree, OspTree &ospTree); 
     94        /** Constructor with the object space hierarchy type as argument. 
     95        */ 
     96        HierarchyManager(VspTree *vspTree, const int objectSpaceHierarchyType); 
     97        /** Hack: OspTree will copy the content from this kd tree. 
     98                Only view space hierarchy will be constructed. 
     99        */ 
     100        HierarchyManager(VspTree *vspTree, KdTree *kdTree); 
    96101 
    97102        /** Constructs the view space and object space subdivision from a given set of rays 
     
    130135        } 
    131136         
     137        void SetViewCellsManager(ViewCellsManager *vcm); 
     138 
     139        void SetViewCellsTree(ViewCellsTree *vcTree); 
     140 
     141        void ExportObjectSpaceHierarchy(OUT_STREAM &stream); 
     142 
     143        bool AddSampleToPvs( 
     144                Intersectable *obj,  
     145                const Vector3 &hitPoint, 
     146                ViewCell *vc, 
     147                const float pdf,  
     148                float &contribution) const; 
     149 
     150        void PrintObjectSpaceHierarchyStatistics(ofstream &stream) const; 
     151 
     152        VspTree *GetVspTree() { return mVspTree; } 
     153 
     154        void ExportObjectSpaceHierarchyForViz(const ObjectContainer &objects) const; 
     155 
    132156protected: 
    133157 
Note: See TracChangeset for help on using the changeset viewer.