Changeset 1284 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h
- Timestamp:
- 08/25/06 10:14:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h
r1264 r1284 191 191 bool AddPvsSample(Intersectable *sample, const float pdf, float &contribution); 192 192 193 194 193 /// Rays piercing this view cell. 195 RayContainer mPiercingRays; 196 194 //RayContainer mPiercingRays; 197 195 198 196 /** if this is a view cell correspending to a leaf in a hierarchy. … … 294 292 { 295 293 friend class ViewCellsManager; 294 296 295 public: 297 296 ViewCellInterior(); … … 300 299 ViewCellInterior(Mesh *mesh); 301 300 302 303 301 /** Sets pointer from parent to child and vice versa. 304 302 */ … … 307 305 bool IsLeaf() const; 308 306 309 ViewCellContainer mChildren; 310 311 void SetCost(const float c) { 312 mCost = c; 313 } 314 float GetCost() const { 315 return mCost; 316 } 307 void SetCost(const float c) { 308 mCost = c; 309 } 310 311 float GetCost() const { 312 return mCost; 313 } 317 314 315 ViewCellContainer mChildren; 316 318 317 protected: 319 318 /** overall cost resulting from the merge */
Note: See TracChangeset
for help on using the changeset viewer.