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