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

#include <ScalarRenderer.h>

Public Member Functions

VTKM_CONT ScalarRenderer ()
 
VTKM_CONT ~ScalarRenderer ()
 
VTKM_CONT void SetShapeIntersector (std::shared_ptr< ShapeIntersector > intersector)
 
VTKM_CONT void AddField (const vtkm::cont::Field &scalarField)
 
VTKM_CONT void Render (vtkm::rendering::raytracing::Ray< vtkm::Float32 > &rays, vtkm::Float32 missScalar, vtkm::rendering::raytracing::Camera &cam)
 
VTKM_CONT void Render (vtkm::rendering::raytracing::Ray< vtkm::Float64 > &rays, vtkm::Float64 missScalar, vtkm::rendering::raytracing::Camera &cam)
 

Protected Member Functions

template<typename Precision >
void RenderOnDevice (Ray< Precision > &rays, Precision missScalar, vtkm::rendering::raytracing::Camera &cam)
 
template<typename Precision >
void AddBuffer (Ray< Precision > &rays, Precision missScalar, const std::string name)
 
template<typename Precision >
void AddDepthBuffer (Ray< Precision > &rays)
 

Protected Attributes

std::shared_ptr< ShapeIntersectorIntersector
 
std::vector< vtkm::cont::FieldFields
 
bool IntersectorValid
 

Constructor & Destructor Documentation

◆ ScalarRenderer()

VTKM_CONT vtkm::rendering::raytracing::ScalarRenderer::ScalarRenderer ( )

◆ ~ScalarRenderer()

VTKM_CONT vtkm::rendering::raytracing::ScalarRenderer::~ScalarRenderer ( )

Member Function Documentation

◆ AddBuffer()

template<typename Precision >
void vtkm::rendering::raytracing::ScalarRenderer::AddBuffer ( Ray< Precision > &  rays,
Precision  missScalar,
const std::string  name 
)
protected

◆ AddDepthBuffer()

template<typename Precision >
void vtkm::rendering::raytracing::ScalarRenderer::AddDepthBuffer ( Ray< Precision > &  rays)
protected

◆ AddField()

VTKM_CONT void vtkm::rendering::raytracing::ScalarRenderer::AddField ( const vtkm::cont::Field scalarField)

◆ Render() [1/2]

VTKM_CONT void vtkm::rendering::raytracing::ScalarRenderer::Render ( vtkm::rendering::raytracing::Ray< vtkm::Float32 > &  rays,
vtkm::Float32  missScalar,
vtkm::rendering::raytracing::Camera cam 
)

◆ Render() [2/2]

VTKM_CONT void vtkm::rendering::raytracing::ScalarRenderer::Render ( vtkm::rendering::raytracing::Ray< vtkm::Float64 > &  rays,
vtkm::Float64  missScalar,
vtkm::rendering::raytracing::Camera cam 
)

◆ RenderOnDevice()

template<typename Precision >
void vtkm::rendering::raytracing::ScalarRenderer::RenderOnDevice ( Ray< Precision > &  rays,
Precision  missScalar,
vtkm::rendering::raytracing::Camera cam 
)
protected

◆ SetShapeIntersector()

VTKM_CONT void vtkm::rendering::raytracing::ScalarRenderer::SetShapeIntersector ( std::shared_ptr< ShapeIntersector intersector)

Member Data Documentation

◆ Fields

std::vector<vtkm::cont::Field> vtkm::rendering::raytracing::ScalarRenderer::Fields
protected

◆ Intersector

std::shared_ptr<ShapeIntersector> vtkm::rendering::raytracing::ScalarRenderer::Intersector
protected

◆ IntersectorValid

bool vtkm::rendering::raytracing::ScalarRenderer::IntersectorValid
protected

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