6 #ifndef _INC_cSpatialTest_H
7 #define _INC_cSpatialTest_H
30 virtual bool ObjectIntersect(cSpatialObject* pObj) = 0;
34 virtual bool ObjectIntersectSphere(cSpatialObject* pObj,
const cSpheref& sphere) = 0;
35 virtual bool ObjectIntersectBounds(cSpatialObject* pObj,
const cBounds3f& bbox) = 0;
36 virtual bool ObjectIntersectSegment(cSpatialObject* pObj,
const cSegment3f& segment) = 0;
88 template<
class _TYPE = cSpatialObject >
114 virtual bool TraverseIntersectBounds(
ISpatialTestVisitor * pResults,
const cBounds3f & bbox)
const = 0;
115 virtual bool TraverseIntersectHex(
ISpatialTestVisitor* pResults,
const cHexahedron& frustum) = 0;
116 virtual bool TraverseIntersectSegment(
ISpatialTestVisitor* pResults,
const cSegment3f& segment) = 0;
#define IGNORE_WARN_INTERFACE(c)
Definition: GrayCore.h:79
#define CHECKPTR_CAST(t, p)
Definition: PtrCast.h:50
#define UNREFERENCED_PARAMETER(P)
< _WIN32 type thing. get rid of stupid warning.
Definition: SysTypes.h:299
#define UNREFERENCED_REFERENCE(x)
Definition: SysTypes.h:318
#define ASSERT(exp)
Definition: cDebugAssert.h:87
Definition: cSpatialObject.h:21
Definition: cSpatialTest.h:92
virtual bool ObjectIntersect(cSpatialObject *pObj) override
Definition: cSpatialTest.h:97
Definition: cSpatialTest.h:41
UINT _Count
Definition: cSpatialTest.h:49
virtual ~cSpatialTestVisitor()
Definition: cSpatialTest.h:52
virtual bool ObjectIntersectHex(cSpatialObject *pObj, const cHexahedron &frustum, cHexahedron::PLANES_MASK_t planes) override
Definition: cSpatialTest.h:79
virtual bool ObjectIntersectSphere(cSpatialObject *pObj, const cSpheref &sphere) override
Definition: cSpatialTest.h:61
virtual bool ObjectIntersectSegment(cSpatialObject *pObj, const cSegment3f &segment) override
Definition: cSpatialTest.h:73
virtual bool ObjectIntersect(cSpatialObject *pObj) override
Definition: cSpatialTest.h:54
virtual bool ObjectIntersectBounds(cSpatialObject *pObj, const cBounds3f &bbox) override
Definition: cSpatialTest.h:67
Definition: cHexahedron.h:18
UINT PLANES_MASK_t
Bit Mask of the 6 planes.
Definition: cHexahedron.h:24
Definition: cSegment3.h:20
ITERATE_t AddTail(TYPE * newElement)
Definition: cArray.h:666
Definition: cSpatialTest.h:19
Definition: cSpatialTest.h:106
Definition: Gray3D.cpp:12
DECLARE_INTERFACE(ISpatialTestVisitor)
int ITERATE_t
like size_t but signed
Definition: Index.h:28