VTK-m  2.0
Public Member Functions | Protected Attributes | List of all members
vtkm::rendering::raytracing::CylinderIntersector Class Reference

#include <CylinderIntersector.h>

Inheritance diagram for vtkm::rendering::raytracing::CylinderIntersector:
vtkm::rendering::raytracing::ShapeIntersector

Public Member Functions

 CylinderIntersector ()
 
virtual ~CylinderIntersector () override
 
void SetData (const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Id3 > cylIds, vtkm::cont::ArrayHandle< vtkm::Float32 > radii)
 
void IntersectRays (Ray< vtkm::Float32 > &rays, bool returnCellIndex=false) override
 
void IntersectRays (Ray< vtkm::Float64 > &rays, bool returnCellIndex=false) override
 
template<typename Precision >
void IntersectRaysImp (Ray< Precision > &rays, bool returnCellIndex)
 
template<typename Precision >
void IntersectionDataImp (Ray< Precision > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange)
 
void IntersectionData (Ray< vtkm::Float32 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range()) override
 
void IntersectionData (Ray< vtkm::Float64 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range()) override
 
vtkm::Id GetNumberOfShapes () const override
 
- Public Member Functions inherited from vtkm::rendering::raytracing::ShapeIntersector
 ShapeIntersector ()
 
virtual ~ShapeIntersector ()
 
template<typename Precision >
void IntersectionPointImp (Ray< Precision > &rays)
 
void IntersectionPoint (Ray< vtkm::Float32 > &rays)
 
void IntersectionPoint (Ray< vtkm::Float64 > &rays)
 
vtkm::Bounds GetShapeBounds () const
 

Protected Attributes

vtkm::cont::ArrayHandle< vtkm::Id3CylIds
 
vtkm::cont::ArrayHandle< vtkm::Float32Radii
 
- Protected Attributes inherited from vtkm::rendering::raytracing::ShapeIntersector
LinearBVH BVH
 
vtkm::cont::CoordinateSystem CoordsHandle
 
vtkm::Bounds ShapeBounds
 

Additional Inherited Members

- Protected Member Functions inherited from vtkm::rendering::raytracing::ShapeIntersector
void SetAABBs (AABBs &aabbs)
 

Constructor & Destructor Documentation

◆ CylinderIntersector()

vtkm::rendering::raytracing::CylinderIntersector::CylinderIntersector ( )

◆ ~CylinderIntersector()

virtual vtkm::rendering::raytracing::CylinderIntersector::~CylinderIntersector ( )
overridevirtual

Member Function Documentation

◆ GetNumberOfShapes()

vtkm::Id vtkm::rendering::raytracing::CylinderIntersector::GetNumberOfShapes ( ) const
overridevirtual

◆ IntersectionData() [1/2]

void vtkm::rendering::raytracing::CylinderIntersector::IntersectionData ( Ray< vtkm::Float32 > &  rays,
const vtkm::cont::Field  scalarField,
const vtkm::Range scalarRange = vtkm::Range() 
)
overridevirtual

◆ IntersectionData() [2/2]

void vtkm::rendering::raytracing::CylinderIntersector::IntersectionData ( Ray< vtkm::Float64 > &  rays,
const vtkm::cont::Field  scalarField,
const vtkm::Range scalarRange = vtkm::Range() 
)
overridevirtual

◆ IntersectionDataImp()

template<typename Precision >
void vtkm::rendering::raytracing::CylinderIntersector::IntersectionDataImp ( Ray< Precision > &  rays,
const vtkm::cont::Field  scalarField,
const vtkm::Range scalarRange 
)

◆ IntersectRays() [1/2]

void vtkm::rendering::raytracing::CylinderIntersector::IntersectRays ( Ray< vtkm::Float32 > &  rays,
bool  returnCellIndex = false 
)
overridevirtual

◆ IntersectRays() [2/2]

void vtkm::rendering::raytracing::CylinderIntersector::IntersectRays ( Ray< vtkm::Float64 > &  rays,
bool  returnCellIndex = false 
)
overridevirtual

◆ IntersectRaysImp()

template<typename Precision >
void vtkm::rendering::raytracing::CylinderIntersector::IntersectRaysImp ( Ray< Precision > &  rays,
bool  returnCellIndex 
)

◆ SetData()

void vtkm::rendering::raytracing::CylinderIntersector::SetData ( const vtkm::cont::CoordinateSystem coords,
vtkm::cont::ArrayHandle< vtkm::Id3 cylIds,
vtkm::cont::ArrayHandle< vtkm::Float32 radii 
)

Member Data Documentation

◆ CylIds

vtkm::cont::ArrayHandle<vtkm::Id3> vtkm::rendering::raytracing::CylinderIntersector::CylIds
protected

◆ Radii

vtkm::cont::ArrayHandle<vtkm::Float32> vtkm::rendering::raytracing::CylinderIntersector::Radii
protected

The documentation for this class was generated from the following file: