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

#include <ShapeIntersector.h>

Inheritance diagram for vtkm::rendering::raytracing::ShapeIntersector:
vtkm::rendering::raytracing::CylinderIntersector vtkm::rendering::raytracing::GlyphIntersector vtkm::rendering::raytracing::GlyphIntersectorVector vtkm::rendering::raytracing::QuadIntersector vtkm::rendering::raytracing::SphereIntersector vtkm::rendering::raytracing::TriangleIntersector

Public Member Functions

 ShapeIntersector ()
 
virtual ~ShapeIntersector ()
 
virtual void IntersectRays (Ray< vtkm::Float32 > &rays, bool returnCellIndex=false)=0
 
virtual void IntersectRays (Ray< vtkm::Float64 > &rays, bool returnCellIndex=false)=0
 
virtual void IntersectionData (Ray< vtkm::Float32 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range())=0
 
virtual void IntersectionData (Ray< vtkm::Float64 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range())=0
 
template<typename Precision >
void IntersectionPointImp (Ray< Precision > &rays)
 
void IntersectionPoint (Ray< vtkm::Float32 > &rays)
 
void IntersectionPoint (Ray< vtkm::Float64 > &rays)
 
vtkm::Bounds GetShapeBounds () const
 
virtual vtkm::Id GetNumberOfShapes () const =0
 

Protected Member Functions

void SetAABBs (AABBs &aabbs)
 

Protected Attributes

LinearBVH BVH
 
vtkm::cont::CoordinateSystem CoordsHandle
 
vtkm::Bounds ShapeBounds
 

Constructor & Destructor Documentation

◆ ShapeIntersector()

vtkm::rendering::raytracing::ShapeIntersector::ShapeIntersector ( )

◆ ~ShapeIntersector()

virtual vtkm::rendering::raytracing::ShapeIntersector::~ShapeIntersector ( )
virtual

Member Function Documentation

◆ GetNumberOfShapes()

virtual vtkm::Id vtkm::rendering::raytracing::ShapeIntersector::GetNumberOfShapes ( ) const
pure virtual

◆ GetShapeBounds()

vtkm::Bounds vtkm::rendering::raytracing::ShapeIntersector::GetShapeBounds ( ) const

◆ IntersectionData() [1/2]

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

◆ IntersectionData() [2/2]

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

◆ IntersectionPoint() [1/2]

void vtkm::rendering::raytracing::ShapeIntersector::IntersectionPoint ( Ray< vtkm::Float32 > &  rays)

◆ IntersectionPoint() [2/2]

void vtkm::rendering::raytracing::ShapeIntersector::IntersectionPoint ( Ray< vtkm::Float64 > &  rays)

◆ IntersectionPointImp()

template<typename Precision >
void vtkm::rendering::raytracing::ShapeIntersector::IntersectionPointImp ( Ray< Precision > &  rays)

◆ IntersectRays() [1/2]

virtual void vtkm::rendering::raytracing::ShapeIntersector::IntersectRays ( Ray< vtkm::Float32 > &  rays,
bool  returnCellIndex = false 
)
pure virtual

◆ IntersectRays() [2/2]

virtual void vtkm::rendering::raytracing::ShapeIntersector::IntersectRays ( Ray< vtkm::Float64 > &  rays,
bool  returnCellIndex = false 
)
pure virtual

◆ SetAABBs()

void vtkm::rendering::raytracing::ShapeIntersector::SetAABBs ( AABBs aabbs)
protected

Member Data Documentation

◆ BVH

LinearBVH vtkm::rendering::raytracing::ShapeIntersector::BVH
protected

◆ CoordsHandle

vtkm::cont::CoordinateSystem vtkm::rendering::raytracing::ShapeIntersector::CoordsHandle
protected

◆ ShapeBounds

vtkm::Bounds vtkm::rendering::raytracing::ShapeIntersector::ShapeBounds
protected

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