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

#include <GlyphIntersector.h>

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

Public Member Functions

 GlyphIntersector (vtkm::rendering::GlyphType glyphType)
 
virtual ~GlyphIntersector () override
 
void SetGlyphType (vtkm::rendering::GlyphType glyphType)
 
void SetData (const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Id > pointIds, vtkm::cont::ArrayHandle< vtkm::Float32 > sizes)
 
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) override
 
void IntersectionData (Ray< vtkm::Float64 > &rays, const vtkm::cont::Field scalarField, const vtkm::Range &scalarRange) 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::IdPointIds
 
vtkm::cont::ArrayHandle< vtkm::Float32Sizes
 
vtkm::rendering::GlyphType GlyphType
 
- 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

◆ GlyphIntersector()

vtkm::rendering::raytracing::GlyphIntersector::GlyphIntersector ( vtkm::rendering::GlyphType  glyphType)

◆ ~GlyphIntersector()

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

Member Function Documentation

◆ GetNumberOfShapes()

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

◆ IntersectionData() [1/2]

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

◆ IntersectionData() [2/2]

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

◆ IntersectionDataImp()

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

◆ IntersectRays() [1/2]

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

◆ IntersectRays() [2/2]

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

◆ IntersectRaysImp()

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

◆ SetData()

void vtkm::rendering::raytracing::GlyphIntersector::SetData ( const vtkm::cont::CoordinateSystem coords,
vtkm::cont::ArrayHandle< vtkm::Id pointIds,
vtkm::cont::ArrayHandle< vtkm::Float32 sizes 
)

◆ SetGlyphType()

void vtkm::rendering::raytracing::GlyphIntersector::SetGlyphType ( vtkm::rendering::GlyphType  glyphType)

Member Data Documentation

◆ GlyphType

vtkm::rendering::GlyphType vtkm::rendering::raytracing::GlyphIntersector::GlyphType
protected

◆ PointIds

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::rendering::raytracing::GlyphIntersector::PointIds
protected

◆ Sizes

vtkm::cont::ArrayHandle<vtkm::Float32> vtkm::rendering::raytracing::GlyphIntersector::Sizes
protected

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