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

#include <GlyphIntersectorVector.h>

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

Public Member Functions

 GlyphIntersectorVector (vtkm::rendering::GlyphType glyphType)
 
virtual ~GlyphIntersectorVector () override
 
void SetGlyphType (vtkm::rendering::GlyphType glyphType)
 
void SetData (const vtkm::cont::CoordinateSystem &coords, vtkm::cont::ArrayHandle< vtkm::Id > pointIds, vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Float32, 3 >> 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 field, const vtkm::Range &range)
 
void IntersectionData (Ray< vtkm::Float32 > &rays, const vtkm::cont::Field field, const vtkm::Range &range) override
 
void IntersectionData (Ray< vtkm::Float64 > &rays, const vtkm::cont::Field field, const vtkm::Range &range) override
 
vtkm::Id GetNumberOfShapes () const override
 
void SetArrowRadii (vtkm::Float32 bodyRadius, vtkm::Float32 headRadius)
 
- 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::Vec3f_32Sizes
 
vtkm::cont::ArrayHandle< vtkm::Vec3f_32Normals
 
vtkm::rendering::GlyphType GlyphType
 
vtkm::Float32 ArrowBodyRadius
 
vtkm::Float32 ArrowHeadRadius
 
- 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

◆ GlyphIntersectorVector()

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

◆ ~GlyphIntersectorVector()

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

Member Function Documentation

◆ GetNumberOfShapes()

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

◆ IntersectionData() [1/2]

void vtkm::rendering::raytracing::GlyphIntersectorVector::IntersectionData ( Ray< vtkm::Float32 > &  rays,
const vtkm::cont::Field  field,
const vtkm::Range range 
)
overridevirtual

◆ IntersectionData() [2/2]

void vtkm::rendering::raytracing::GlyphIntersectorVector::IntersectionData ( Ray< vtkm::Float64 > &  rays,
const vtkm::cont::Field  field,
const vtkm::Range range 
)
overridevirtual

◆ IntersectionDataImp()

template<typename Precision >
void vtkm::rendering::raytracing::GlyphIntersectorVector::IntersectionDataImp ( Ray< Precision > &  rays,
const vtkm::cont::Field  field,
const vtkm::Range range 
)

◆ IntersectRays() [1/2]

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

◆ IntersectRays() [2/2]

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

◆ IntersectRaysImp()

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

◆ SetArrowRadii()

void vtkm::rendering::raytracing::GlyphIntersectorVector::SetArrowRadii ( vtkm::Float32  bodyRadius,
vtkm::Float32  headRadius 
)

◆ SetData()

void vtkm::rendering::raytracing::GlyphIntersectorVector::SetData ( const vtkm::cont::CoordinateSystem coords,
vtkm::cont::ArrayHandle< vtkm::Id pointIds,
vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Float32, 3 >>  sizes 
)

◆ SetGlyphType()

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

Member Data Documentation

◆ ArrowBodyRadius

vtkm::Float32 vtkm::rendering::raytracing::GlyphIntersectorVector::ArrowBodyRadius
protected

◆ ArrowHeadRadius

vtkm::Float32 vtkm::rendering::raytracing::GlyphIntersectorVector::ArrowHeadRadius
protected

◆ GlyphType

vtkm::rendering::GlyphType vtkm::rendering::raytracing::GlyphIntersectorVector::GlyphType
protected

◆ Normals

vtkm::cont::ArrayHandle<vtkm::Vec3f_32> vtkm::rendering::raytracing::GlyphIntersectorVector::Normals
protected

◆ PointIds

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

◆ Sizes

vtkm::cont::ArrayHandle<vtkm::Vec3f_32> vtkm::rendering::raytracing::GlyphIntersectorVector::Sizes
protected

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