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

#include <TriangleIntersector.h>

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

Public Member Functions

 TriangleIntersector ()
 
void SetUseWaterTight (bool useIt)
 
void SetData (const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Id4 > triangles)
 
vtkm::cont::ArrayHandle< vtkm::Id4GetTriangles ()
 
vtkm::Id GetNumberOfShapes () const override
 
VTKM_CONT void IntersectRays (Ray< vtkm::Float32 > &rays, bool returnCellIndex=false) override
 
VTKM_CONT void IntersectRays (Ray< vtkm::Float64 > &rays, bool returnCellIndex=false) override
 
VTKM_CONT void IntersectionData (Ray< vtkm::Float32 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range()) override
 
VTKM_CONT void IntersectionData (Ray< vtkm::Float64 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange=vtkm::Range()) override
 
template<typename Precision >
VTKM_CONT void IntersectRaysImp (Ray< Precision > &rays, bool returnCellIndex)
 
template<typename Precision >
VTKM_CONT void IntersectionDataImp (Ray< Precision > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange)
 
- 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::Id4Triangles
 
bool UseWaterTight
 
- 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

◆ TriangleIntersector()

vtkm::rendering::raytracing::TriangleIntersector::TriangleIntersector ( )

Member Function Documentation

◆ GetNumberOfShapes()

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

◆ GetTriangles()

vtkm::cont::ArrayHandle<vtkm::Id4> vtkm::rendering::raytracing::TriangleIntersector::GetTriangles ( )

◆ IntersectionData() [1/2]

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

◆ IntersectionData() [2/2]

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

◆ IntersectionDataImp()

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

◆ IntersectRays() [1/2]

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

◆ IntersectRays() [2/2]

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

◆ IntersectRaysImp()

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

◆ SetData()

void vtkm::rendering::raytracing::TriangleIntersector::SetData ( const vtkm::cont::CoordinateSystem coords,
vtkm::cont::ArrayHandle< vtkm::Id4 triangles 
)

◆ SetUseWaterTight()

void vtkm::rendering::raytracing::TriangleIntersector::SetUseWaterTight ( bool  useIt)

Member Data Documentation

◆ Triangles

vtkm::cont::ArrayHandle<vtkm::Id4> vtkm::rendering::raytracing::TriangleIntersector::Triangles
protected

◆ UseWaterTight

bool vtkm::rendering::raytracing::TriangleIntersector::UseWaterTight
protected

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