Go to the documentation of this file.
10 #ifndef vtk_m_rendering_raytracing_Sphere_Intersector_h
11 #define vtk_m_rendering_raytracing_Sphere_Intersector_h
41 template <
typename Precision>
45 template <
typename Precision>
63 #endif //vtk_m_rendering_raytracing_Shape_Intersector_h
void IntersectRaysImp(Ray< Precision > &rays, bool returnCellIndex)
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Id GetNumberOfShapes() const override
vtkm::cont::ArrayHandle< vtkm::Float32 > Radii
Definition: SphereIntersector.h:26
void IntersectRays(Ray< vtkm::Float32 > &rays, bool returnCellIndex=false) override
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: CoordinateSystem.h:25
virtual ~SphereIntersector() override
void IntersectionDataImp(Ray< Precision > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange)
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: cont/Field.h:31
vtkm::cont::ArrayHandle< vtkm::Id > PointIds
Definition: SphereIntersector.h:25
void IntersectionData(Ray< vtkm::Float32 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange) override
void SetData(const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Id > pointIds, vtkm::cont::ArrayHandle< vtkm::Float32 > radii)
Definition: ShapeIntersector.h:24
Definition: SphereIntersector.h:22
Represent a continuous scalar range of values.
Definition: Range.h:31