Go to the documentation of this file.
10 #ifndef vtk_m_rendering_raytracing_Shape_Intersector_h
11 #define vtk_m_rendering_raytracing_Shape_Intersector_h
30 void SetAABBs(
AABBs& aabbs);
43 virtual void IntersectRays(
Ray<vtkm::Float32>& rays,
bool returnCellIndex =
false) = 0;
46 virtual void IntersectRays(
Ray<vtkm::Float64>& rays,
bool returnCellIndex =
false) = 0;
63 template <
typename Precision>
69 virtual vtkm::Id GetNumberOfShapes()
const = 0;
74 #endif //vtk_m_rendering_raytracing_Shape_Intersector_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::CoordinateSystem CoordsHandle
Definition: ShapeIntersector.h:28
Definition: BoundingVolumeHierarchy.h:24
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: CoordinateSystem.h:25
vtkm::Bounds ShapeBounds
Definition: ShapeIntersector.h:29
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: cont/Field.h:31
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
LinearBVH BVH
Definition: ShapeIntersector.h:27
Definition: ShapeIntersector.h:24
Definition: BoundingVolumeHierarchy.h:37
Represent a continuous scalar range of values.
Definition: Range.h:31