Ignore:
Timestamp:
10/23/06 15:37:18 (18 years ago)
Author:
mattausch
Message:

working on render cost evaluation framework for interleaved splits

File:
1 edited

Legend:

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

    r1662 r1666  
    10831083 
    10841084        ViewCellsManager *LoadViewCells(const string &filename,  
    1085                 ObjectContainer *objects, 
    1086                 const bool finalizeViewCells, 
    1087                 BoundingBoxConverter *bconverter); 
    1088  
    1089         bool AddSampleToPvs( 
    1090                 Intersectable *obj,  
    1091                 const Vector3 &hitPoint, 
    1092                 ViewCell *vc, 
    1093                 const float pdf,  
    1094         float &contribution) const; 
    1095  
    1096         void ExportSingleViewCells( 
    1097                 const ObjectContainer &objects, 
    1098                 const int maxViewCells, 
    1099                 const bool sortViewCells, 
    1100                 const bool exportPvs, 
    1101                 const bool exportRays, 
    1102                 const int maxRays, 
    1103                 const string prefix, 
    1104                 VssRayContainer *visRays = NULL); 
     1085                                                                        ObjectContainer *objects, 
     1086                                                                        const bool finalizeViewCells, 
     1087                                                                        BoundingBoxConverter *bconverter); 
     1088 
     1089        bool AddSampleToPvs(Intersectable *obj,  
     1090                                                const Vector3 &hitPoint, 
     1091                                                ViewCell *vc, 
     1092                                                const float pdf,  
     1093                                                float &contribution) const; 
     1094 
     1095        void ExportSingleViewCells(const ObjectContainer &objects, 
     1096                                                           const int maxViewCells, 
     1097                                                           const bool sortViewCells, 
     1098                                                           const bool exportPvs, 
     1099                                                           const bool exportRays, 
     1100                                                           const int maxRays, 
     1101                                                           const string prefix, 
     1102                                                           VssRayContainer *visRays = NULL); 
    11051103 
    11061104protected: 
     
    11121110        /** Exports view cell geometry. 
    11131111        */ 
    1114         void ExportViewCellGeometry( 
    1115                 Exporter *exporter, 
    1116                 ViewCell *vc, 
    1117                 const AxisAlignedBox3 *box, 
    1118                 const AxisAlignedPlane *clipPlane = NULL 
    1119                 ) const; 
    1120  
    1121         int ComputeBoxIntersections( 
    1122                 const AxisAlignedBox3 &box,  
    1123                 ViewCellContainer &viewCells) const; 
     1112        void ExportViewCellGeometry(Exporter *exporter, 
     1113                                                                ViewCell *vc, 
     1114                                                                const AxisAlignedBox3 *box, 
     1115                                                                const AxisAlignedPlane *clipPlane = NULL) const; 
     1116 
     1117        int ComputeBoxIntersections(const AxisAlignedBox3 &box,  
     1118                                                                ViewCellContainer &viewCells) const; 
    11241119         
    11251120        void CollectViewCells(); 
     
    11351130        /** Exports visualization of the PVS. 
    11361131        */ 
    1137         void ExportPvs( 
    1138                 const ObjectContainer &objects, 
    1139                 const VssRayContainer &rays); 
    1140  
     1132        void ExportPvs(const ObjectContainer &objects, const VssRayContainer &rays); 
     1133 
     1134        void ExportStats(const string &mergeStats); 
    11411135 
    11421136        ///////////////////////////////////////// 
Note: See TracChangeset for help on using the changeset viewer.