7 #ifndef __viewer_RayIntersectors_h__ 8 #define __viewer_RayIntersectors_h__ 16 class FE_DL_EXPORT WorldSphereIntersector :
17 virtual public IntersectorI
20 WorldSphereIntersector(
void);
21 virtual ~WorldSphereIntersector(
void);
23 virtual bool intersect( Real &a_distance,
25 const Vector2 &a_projected,
26 const SpatialVector &a_root,
27 const SpatialVector &a_direction);
28 virtual AccessorSet &filter(
void);
31 AsSelWorldSphere m_asSelSphere;
34 class FE_DL_EXPORT WorldTriangleIntersector :
35 virtual public IntersectorI
38 WorldTriangleIntersector(
void);
39 virtual ~WorldTriangleIntersector(
void);
41 virtual bool intersect( Real &a_distance,
43 const Vector2 &a_projected,
44 const SpatialVector &a_root,
45 const SpatialVector &a_direction);
46 virtual AccessorSet &filter(
void);
49 AsSelWorldTriangle m_asSelTri;
52 class FE_DL_EXPORT ScreenTriangleIntersector :
53 virtual public IntersectorI
56 ScreenTriangleIntersector(
void);
57 virtual ~ScreenTriangleIntersector(
void);
59 virtual bool intersect( Real &a_distance,
61 const Vector2 &a_projected,
62 const SpatialVector &a_root,
63 const SpatialVector &a_direction);
64 virtual AccessorSet &filter(
void);
67 AsSelScreenTriangle m_asSelTri;
71 class FE_DL_EXPORT IntersectRaySphere :
72 virtual public IntersectRayI
75 IntersectRaySphere(
void);
76 virtual ~IntersectRaySphere(
void);
78 virtual Record intersect( Real &a_distance,
79 sp<RecordGroup> rg_output,
80 sp<RecordGroup> rg_input,
81 const SpatialVector &a_root,
82 const SpatialVector &a_direction);
85 AsSelWorldSphere m_asSelSphere;
88 class FE_DL_EXPORT IntersectPointTriangle :
89 virtual public IntersectPointI
92 IntersectPointTriangle(
void);
93 virtual ~IntersectPointTriangle(
void);
95 virtual Record intersect( Real &a_distance,
96 sp<RecordGroup> rg_output,
97 sp<RecordGroup> rg_input,
98 const Vector2 &a_projected);
101 AsSelScreenTriangle m_asSelTri;
104 class FE_DL_EXPORT IntersectRectPoint :
105 virtual public IntersectRectI
108 IntersectRectPoint(
void);
109 virtual ~IntersectRectPoint(
void);
110 virtual void intersect( sp<RecordGroup> rg_output,
111 sp<RecordGroup> rg_input,
112 const Vector2 &a_box_lo,
113 const Vector2 &a_box_hi,
117 AsProjected m_asProjected;
kernel
Definition: namespace.dox:3