Changeset 2380 for GTP/trunk/Lib/Vis/Preprocessing/src
- Timestamp:
- 05/16/07 09:18:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h
r2342 r2380 246 246 virtual bool IsLeaf() const = 0; 247 247 248 staticbool SmallerPvs(const ViewCell *a, const ViewCell *b)248 inline bool SmallerPvs(const ViewCell *a, const ViewCell *b) 249 249 { 250 250 // HACK: take scalar value because pvs may not have been stored properly … … 256 256 } 257 257 258 staticbool GreaterOrEqualPvs(const ViewCell *a, const ViewCell *b)258 inline bool GreaterOrEqualPvs(const ViewCell *a, const ViewCell *b) 259 259 { 260 260 return !SmallerPvs(a, b); 261 261 } 262 262 263 staticbool SmallerRenderCost(const ViewCell *a, const ViewCell *b)263 inline bool SmallerRenderCost(const ViewCell *a, const ViewCell *b) 264 264 { 265 265 return a->GetRenderCost() < b->GetRenderCost(); 266 266 } 267 267 268 staticbool LargerRenderCost(const ViewCell *a, const ViewCell *b)268 inline bool LargerRenderCost(const ViewCell *a, const ViewCell *b) 269 269 { 270 270 return a->GetRenderCost() > b->GetRenderCost();
Note: See TracChangeset
for help on using the changeset viewer.