VTK-m  2.0
Classes | Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
vtkm::rendering::raytracing::Ray< Precision > Class Template Reference

#include <Ray.h>

Classes

struct  EnableIntersectionDataFunctor
 
struct  ResizeFunctor
 

Public Member Functions

VTKM_CONT Ray ()
 
void EnableIntersectionData ()
 
template<typename Device >
void EnableIntersectionData (Device)
 
void DisableIntersectionData ()
 
template<typename Device >
VTKM_CONT Ray (const vtkm::Int32 size, Device, bool enableIntersectionData=false)
 
VTKM_CONT void Resize (const vtkm::Int32 size)
 
template<typename Device >
VTKM_CONT void Resize (const vtkm::Int32 size, Device)
 
VTKM_CONT void AddBuffer (const vtkm::Int32 numChannels, const std::string name)
 
VTKM_CONT bool HasBuffer (const std::string name)
 
VTKM_CONT ChannelBuffer< Precision > & GetBuffer (const std::string name)
 
void PrintRay (vtkm::Id pixelId)
 

Public Attributes

vtkm::cont::ArrayHandleCompositeVector< vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision > > Intersection
 
vtkm::cont::ArrayHandleCompositeVector< vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision > > Normal
 
vtkm::cont::ArrayHandleCompositeVector< vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision > > Origin
 
vtkm::cont::ArrayHandleCompositeVector< vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision >, vtkm::cont::ArrayHandle< Precision > > Dir
 
vtkm::cont::ArrayHandle< Precision > IntersectionX
 
vtkm::cont::ArrayHandle< Precision > IntersectionY
 
vtkm::cont::ArrayHandle< Precision > IntersectionZ
 
vtkm::cont::ArrayHandle< Precision > OriginX
 
vtkm::cont::ArrayHandle< Precision > OriginY
 
vtkm::cont::ArrayHandle< Precision > OriginZ
 
vtkm::cont::ArrayHandle< Precision > DirX
 
vtkm::cont::ArrayHandle< Precision > DirY
 
vtkm::cont::ArrayHandle< Precision > DirZ
 
vtkm::cont::ArrayHandle< Precision > U
 
vtkm::cont::ArrayHandle< Precision > V
 
vtkm::cont::ArrayHandle< Precision > NormalX
 
vtkm::cont::ArrayHandle< Precision > NormalY
 
vtkm::cont::ArrayHandle< Precision > NormalZ
 
vtkm::cont::ArrayHandle< Precision > Scalar
 
vtkm::cont::ArrayHandle< Precision > Distance
 
vtkm::cont::ArrayHandle< vtkm::IdHitIdx
 
vtkm::cont::ArrayHandle< vtkm::IdPixelIdx
 
vtkm::cont::ArrayHandle< Precision > MinDistance
 
vtkm::cont::ArrayHandle< Precision > MaxDistance
 
vtkm::cont::ArrayHandle< vtkm::UInt8Status
 
std::vector< ChannelBuffer< Precision > > Buffers
 
vtkm::Id DebugWidth
 
vtkm::Id DebugHeight
 
vtkm::Id NumRays
 

Protected Attributes

bool IntersectionDataEnabled
 

Friends

class RayOperations
 

Constructor & Destructor Documentation

◆ Ray() [1/2]

template<typename Precision >
VTKM_CONT vtkm::rendering::raytracing::Ray< Precision >::Ray ( )
inline

◆ Ray() [2/2]

template<typename Precision >
template<typename Device >
VTKM_CONT vtkm::rendering::raytracing::Ray< Precision >::Ray ( const vtkm::Int32  size,
Device  ,
bool  enableIntersectionData = false 
)
inline

Member Function Documentation

◆ AddBuffer()

template<typename Precision >
VTKM_CONT void vtkm::rendering::raytracing::Ray< Precision >::AddBuffer ( const vtkm::Int32  numChannels,
const std::string  name 
)
inline

◆ DisableIntersectionData()

template<typename Precision >
void vtkm::rendering::raytracing::Ray< Precision >::DisableIntersectionData ( )
inline

◆ EnableIntersectionData() [1/2]

template<typename Precision >
void vtkm::rendering::raytracing::Ray< Precision >::EnableIntersectionData ( )
inline

◆ EnableIntersectionData() [2/2]

template<typename Precision >
template<typename Device >
void vtkm::rendering::raytracing::Ray< Precision >::EnableIntersectionData ( Device  )
inline

◆ GetBuffer()

template<typename Precision >
VTKM_CONT ChannelBuffer<Precision>& vtkm::rendering::raytracing::Ray< Precision >::GetBuffer ( const std::string  name)
inline

◆ HasBuffer()

template<typename Precision >
VTKM_CONT bool vtkm::rendering::raytracing::Ray< Precision >::HasBuffer ( const std::string  name)
inline

◆ PrintRay()

template<typename Precision >
void vtkm::rendering::raytracing::Ray< Precision >::PrintRay ( vtkm::Id  pixelId)
inline

◆ Resize() [1/2]

template<typename Precision >
VTKM_CONT void vtkm::rendering::raytracing::Ray< Precision >::Resize ( const vtkm::Int32  size)
inline

◆ Resize() [2/2]

template<typename Precision >
template<typename Device >
VTKM_CONT void vtkm::rendering::raytracing::Ray< Precision >::Resize ( const vtkm::Int32  size,
Device   
)
inline

Friends And Related Function Documentation

◆ RayOperations

template<typename Precision >
friend class RayOperations
friend

Member Data Documentation

◆ Buffers

template<typename Precision >
std::vector<ChannelBuffer<Precision> > vtkm::rendering::raytracing::Ray< Precision >::Buffers

◆ DebugHeight

template<typename Precision >
vtkm::Id vtkm::rendering::raytracing::Ray< Precision >::DebugHeight

◆ DebugWidth

template<typename Precision >
vtkm::Id vtkm::rendering::raytracing::Ray< Precision >::DebugWidth

◆ Dir

◆ DirX

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::DirX

◆ DirY

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::DirY

◆ DirZ

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::DirZ

◆ Distance

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::Distance

◆ HitIdx

template<typename Precision >
vtkm::cont::ArrayHandle<vtkm::Id> vtkm::rendering::raytracing::Ray< Precision >::HitIdx

◆ Intersection

template<typename Precision >
vtkm::cont::ArrayHandleCompositeVector<vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision> > vtkm::rendering::raytracing::Ray< Precision >::Intersection

◆ IntersectionDataEnabled

template<typename Precision >
bool vtkm::rendering::raytracing::Ray< Precision >::IntersectionDataEnabled
protected

◆ IntersectionX

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::IntersectionX

◆ IntersectionY

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::IntersectionY

◆ IntersectionZ

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::IntersectionZ

◆ MaxDistance

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::MaxDistance

◆ MinDistance

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::MinDistance

◆ Normal

template<typename Precision >
vtkm::cont::ArrayHandleCompositeVector<vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision> > vtkm::rendering::raytracing::Ray< Precision >::Normal

◆ NormalX

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::NormalX

◆ NormalY

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::NormalY

◆ NormalZ

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::NormalZ

◆ NumRays

template<typename Precision >
vtkm::Id vtkm::rendering::raytracing::Ray< Precision >::NumRays

◆ Origin

template<typename Precision >
vtkm::cont::ArrayHandleCompositeVector<vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision>, vtkm::cont::ArrayHandle<Precision> > vtkm::rendering::raytracing::Ray< Precision >::Origin

◆ OriginX

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::OriginX

◆ OriginY

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::OriginY

◆ OriginZ

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::OriginZ

◆ PixelIdx

template<typename Precision >
vtkm::cont::ArrayHandle<vtkm::Id> vtkm::rendering::raytracing::Ray< Precision >::PixelIdx

◆ Scalar

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::Scalar

◆ Status

template<typename Precision >
vtkm::cont::ArrayHandle<vtkm::UInt8> vtkm::rendering::raytracing::Ray< Precision >::Status

◆ U

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::U

◆ V

template<typename Precision >
vtkm::cont::ArrayHandle<Precision> vtkm::rendering::raytracing::Ray< Precision >::V

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