VTK-m  2.0
Static Public Member Functions | List of all members
vtkm::rendering::raytracing::RayOperations Class Reference

#include <RayOperations.h>

Static Public Member Functions

template<typename T >
static void ResetStatus (Ray< T > &rays, vtkm::UInt8 status)
 
template<typename Device , typename T >
static void UpdateRayStatus (Ray< T > &rays, Device)
 
template<typename T >
static void UpdateRayStatus (Ray< T > &rays)
 
static VTKM_RENDERING_EXPORT void MapCanvasToRays (Ray< vtkm::Float32 > &rays, const vtkm::rendering::Camera &camera, const vtkm::rendering::CanvasRayTracer &canvas)
 
template<typename T >
static vtkm::Id RaysInMesh (Ray< T > &rays)
 
template<typename T >
static vtkm::Id GetStatusCount (Ray< T > &rays, vtkm::Id status)
 
template<typename T >
static vtkm::Id RaysProcessed (Ray< T > &rays)
 
template<typename T >
static vtkm::cont::ArrayHandle< vtkm::UInt8CompactActiveRays (Ray< T > &rays)
 
template<typename Device , typename T >
static void Resize (Ray< T > &rays, const vtkm::Int32 newSize, Device)
 
template<typename T >
static void CopyDistancesToMin (Ray< T > rays, const T offset=0.f)
 

Member Function Documentation

◆ CompactActiveRays()

template<typename T >
static vtkm::cont::ArrayHandle<vtkm::UInt8> vtkm::rendering::raytracing::RayOperations::CompactActiveRays ( Ray< T > &  rays)
inlinestatic

◆ CopyDistancesToMin()

template<typename T >
static void vtkm::rendering::raytracing::RayOperations::CopyDistancesToMin ( Ray< T >  rays,
const T  offset = 0.f 
)
inlinestatic

◆ GetStatusCount()

template<typename T >
static vtkm::Id vtkm::rendering::raytracing::RayOperations::GetStatusCount ( Ray< T > &  rays,
vtkm::Id  status 
)
inlinestatic

◆ MapCanvasToRays()

static VTKM_RENDERING_EXPORT void vtkm::rendering::raytracing::RayOperations::MapCanvasToRays ( Ray< vtkm::Float32 > &  rays,
const vtkm::rendering::Camera camera,
const vtkm::rendering::CanvasRayTracer canvas 
)
static

◆ RaysInMesh()

template<typename T >
static vtkm::Id vtkm::rendering::raytracing::RayOperations::RaysInMesh ( Ray< T > &  rays)
inlinestatic

◆ RaysProcessed()

template<typename T >
static vtkm::Id vtkm::rendering::raytracing::RayOperations::RaysProcessed ( Ray< T > &  rays)
inlinestatic

◆ ResetStatus()

template<typename T >
static void vtkm::rendering::raytracing::RayOperations::ResetStatus ( Ray< T > &  rays,
vtkm::UInt8  status 
)
inlinestatic

◆ Resize()

template<typename Device , typename T >
static void vtkm::rendering::raytracing::RayOperations::Resize ( Ray< T > &  rays,
const vtkm::Int32  newSize,
Device   
)
inlinestatic

◆ UpdateRayStatus() [1/2]

template<typename T >
static void vtkm::rendering::raytracing::RayOperations::UpdateRayStatus ( Ray< T > &  rays)
inlinestatic

◆ UpdateRayStatus() [2/2]

template<typename Device , typename T >
static void vtkm::rendering::raytracing::RayOperations::UpdateRayStatus ( Ray< T > &  rays,
Device   
)
inlinestatic

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