Changeset 1181 for GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
- Timestamp:
- 08/03/06 15:38:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
r1180 r1181 918 918 float maxBand); 919 919 920 /** Evaluate pvs size associated with the rays. 921 */ 922 int EvalPvsSize(const RayInfoContainer &rays) const; 923 920 924 /** Computes pvs increase with respect to the previous pvs for heuristics. 921 925 */ … … 991 995 float &totalPvs) const; 992 996 993 994 /** Computes PVS size induced by the rays.995 */996 int ComputePvsSize(const RayInfoContainer &rays) const;997 998 997 /** Collects pvs from rays. 999 998 */ … … 1056 1055 /** Rays will be clipped to the bounding box. 1057 1056 */ 1058 void PreprocessRays(const VssRayContainer &sampleRays, 1059 RayInfoContainer &rays); 1057 void PreprocessRays(const VssRayContainer &sampleRays, RayInfoContainer &rays); 1060 1058 1061 1059 /** Evaluate subdivision statistics. … … 1406 1404 1407 1405 1408 /** Compute "pvs size" of this object container1409 @note not really pvs size just weighted sum of object taking their1410 appearances in pvss into account1411 */1412 int ComputePvsSize(const ObjectContainer &objects) const;1413 1414 1406 /** Returns kd leaf the point pt lies in, starting from root. 1415 1407 */ … … 1417 1409 1418 1410 1419 /// pointer to the hierarchy of view cells 1420 ViewCellsTree *mViewCellsTree; 1411 ViewCellsTree *GetViewCellsTree() const { return mViewCellsTree; } 1412 1413 void SetViewCellsTree(ViewCellsTree *vt) { mViewCellsTree = vt; } 1421 1414 1422 1415 … … 1704 1697 float &volRight); 1705 1698 1706 float EvalViewCellsVolume( const RayInfoContainer &rays) const;1699 float EvalViewCellsVolume(KdLeaf *leaf, const RayInfoContainer &rays) const; 1707 1700 1708 1701 1709 1702 protected: 1703 1704 /// pointer to the hierarchy of view cells 1705 ViewCellsTree *mViewCellsTree; 1710 1706 1711 1707 VspTree *mVspTree;
Note: See TracChangeset
for help on using the changeset viewer.