Ignore:
Timestamp:
11/06/05 01:24:55 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h

    r379 r383  
    459459                @returns true if plane contributes to the cell. 
    460460        */ 
    461         bool ComputeChildrenGeometry(PolygonContainer &newCell, 
    462                                                         const PolygonContainer &cell, 
    463                                                         const vector<Plane3> &planes, 
    464                                                         const vector<bool> &sides, 
    465                                                         const Plane3 &splitPlane, 
    466                                                         const bool side) const; 
     461        bool ConstructChildGeometry(PolygonContainer &newCell, 
     462                                                            const PolygonContainer &cell, 
     463                                                            const vector<Plane3 *> &planes, 
     464                                                            const vector<bool> &sides, 
     465                                                            const Plane3 &splitPlane, 
     466                                                            const bool side) const; 
    467467 
    468468 
     
    540540                @returns the cost of the candidate split plane 
    541541        */ 
    542         float SplitPlaneCost(const Plane3 &candidatePlane, 
     542        float SplitPlaneCost(BspLeaf *leaf,  
     543                                 const Plane3 &candidatePlane, 
    543544                                                 const PolygonContainer &polys,                                                   
    544545                                                 const BoundedRayContainer &rays) const; 
     
    548549                @returns the cost of the candidate split plane 
    549550        */ 
    550         float SplitPlaneCost(const Plane3 &candidatePlane, 
     551        float SplitPlaneCost(BspLeaf *leaf,  
     552                                 const Plane3 &candidatePlane, 
    551553                                                 const PolygonContainer &polys) const; 
    552554 
     
    555557                @returns the cost of the candidate split plane 
    556558        */ 
    557         float SplitPlaneCost(const Plane3 &candidatePlane, 
     559        float SplitPlaneCost(BspLeaf *leaf, 
     560                                 const Plane3 &candidatePlane, 
    558561                                                 const BoundedRayContainer &polys) const; 
    559562 
     
    608611                @param maxRayCandidates the maximal number of ray candidates 
    609612        */ 
    610         Plane3 SelectPlaneHeuristics(PolygonContainer &polys,  
     613        Plane3 SelectPlaneHeuristics(BspLeaf *leaf, 
     614                                         PolygonContainer &polys,  
    611615                                                                 const BoundedRayContainer &rays, 
    612616                                                                 const int maxPolyCandidates, 
Note: See TracChangeset for help on using the changeset viewer.