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

#include <QuadIntersector.h>

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

Public Member Functions

 QuadIntersector ()
 
virtual ~QuadIntersector () override
 
void SetData (const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Id, 5 >> quadIds)
 
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::Vec< vtkm::Id, 5 > > QuadIds
 
- 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

◆ QuadIntersector()

vtkm::rendering::raytracing::QuadIntersector::QuadIntersector ( )

◆ ~QuadIntersector()

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

Member Function Documentation

◆ GetNumberOfShapes()

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

◆ IntersectionData() [1/2]

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

◆ IntersectionData() [2/2]

void vtkm::rendering::raytracing::QuadIntersector::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::QuadIntersector::IntersectionDataImp ( Ray< Precision > &  rays,
const vtkm::cont::Field  scalarField,
const vtkm::Range scalarRange 
)

◆ IntersectRays() [1/2]

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

◆ IntersectRays() [2/2]

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

◆ IntersectRaysImp()

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

◆ SetData()

void vtkm::rendering::raytracing::QuadIntersector::SetData ( const vtkm::cont::CoordinateSystem coords,
vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Id, 5 >>  quadIds 
)

Member Data Documentation

◆ QuadIds

vtkm::cont::ArrayHandle<vtkm::Vec<vtkm::Id, 5> > vtkm::rendering::raytracing::QuadIntersector::QuadIds
protected

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