Changeset 1666 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 10/23/06 15:37:18 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r1662 r1666 1083 1083 1084 1084 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); 1105 1103 1106 1104 protected: … … 1112 1110 /** Exports view cell geometry. 1113 1111 */ 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; 1124 1119 1125 1120 void CollectViewCells(); … … 1135 1130 /** Exports visualization of the PVS. 1136 1131 */ 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); 1141 1135 1142 1136 /////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.