- Timestamp:
- 02/12/07 08:37:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/IntersectableWrapper.h
r2069 r2113 10 10 11 11 12 struct VssRayContainer;13 12 class KdNode; 14 //class BvhNode;15 13 class BvhLeaf; 16 14 class Ray; 17 15 class KdTree; 16 struct VssRayContainer; 17 struct Triangle3; 18 18 struct Face; 19 struct Triangle3; 20 21 class KdTree; 22 23 24 /** 25 Wrapper used for creating a PVS compliant intersectable. 19 20 /** Wrapper used for creating a PVS compliant intersectable. 26 21 */ 27 22 template<typename T> … … 219 214 220 215 216 /** Intersectable acting as a proxy. 217 */ 221 218 class DummyIntersectable: public IntersectableWrapper<int> 222 219 { 223 220 public: 224 225 IntersectableWrapper<int>(item) {}221 DummyIntersectable(const int item): 222 IntersectableWrapper<int>(item) {} 226 223 227 224 int Type() const … … 231 228 }; 232 229 230 231 /** Intersectable wrapping is a group of objects. 232 */ 233 class ContainerIntersectable: public GtpVisibilityPreprocessor::IntersectableWrapper<ObjectContainer *> 234 { 235 public: 236 ContainerIntersectable(ObjectContainer *item): 237 IntersectableWrapper<ObjectContainer *>(item) {} 238 239 // hack 240 ContainerIntersectable::~ContainerIntersectable() 241 { 242 delete mItem; 243 } 244 245 int Type() const 246 { 247 return Intersectable::CONTAINER_INTERSECTABLE; 248 } 249 }; 250 233 251 } 234 252
Note: See TracChangeset
for help on using the changeset viewer.