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

#include <VolumeRendererStructured.h>

Classes

struct  RenderFunctor
 

Public Types

using DefaultHandle = vtkm::cont::ArrayHandle< vtkm::FloatDefault >
 
using CartesianArrayHandle = vtkm::cont::ArrayHandleCartesianProduct< DefaultHandle, DefaultHandle, DefaultHandle >
 

Public Member Functions

VTKM_CONT VolumeRendererStructured ()
 
VTKM_CONT void EnableCompositeBackground ()
 
VTKM_CONT void DisableCompositeBackground ()
 
VTKM_CONT void SetColorMap (const vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > &colorMap)
 
VTKM_CONT void SetData (const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::CellSetStructured< 3 > &cellset, const vtkm::Range &scalarRange)
 
VTKM_CONT void Render (vtkm::rendering::raytracing::Ray< vtkm::Float32 > &rays)
 
VTKM_CONT void SetSampleDistance (const vtkm::Float32 &distance)
 void Render(vtkm::rendering::raytracing::Ray<vtkm::Float64>& rays); More...
 

Protected Member Functions

template<typename Precision , typename Device >
VTKM_CONT void RenderOnDevice (vtkm::rendering::raytracing::Ray< Precision > &rays, Device)
 

Protected Attributes

bool IsSceneDirty
 
bool IsUniformDataSet
 
vtkm::Bounds SpatialExtent
 
vtkm::cont::CoordinateSystem Coordinates
 
vtkm::cont::CellSetStructured< 3 > Cellset
 
const vtkm::cont::FieldScalarField
 
vtkm::cont::ArrayHandle< vtkm::Vec4f_32ColorMap
 
vtkm::Float32 SampleDistance
 
vtkm::Range ScalarRange
 

Member Typedef Documentation

◆ CartesianArrayHandle

◆ DefaultHandle

Constructor & Destructor Documentation

◆ VolumeRendererStructured()

VTKM_CONT vtkm::rendering::raytracing::VolumeRendererStructured::VolumeRendererStructured ( )

Member Function Documentation

◆ DisableCompositeBackground()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::DisableCompositeBackground ( )

◆ EnableCompositeBackground()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::EnableCompositeBackground ( )

◆ Render()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::Render ( vtkm::rendering::raytracing::Ray< vtkm::Float32 > &  rays)

◆ RenderOnDevice()

template<typename Precision , typename Device >
VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::RenderOnDevice ( vtkm::rendering::raytracing::Ray< Precision > &  rays,
Device   
)
protected

◆ SetColorMap()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::SetColorMap ( const vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > &  colorMap)

◆ SetData()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::SetData ( const vtkm::cont::CoordinateSystem coords,
const vtkm::cont::Field scalarField,
const vtkm::cont::CellSetStructured< 3 > &  cellset,
const vtkm::Range scalarRange 
)

◆ SetSampleDistance()

VTKM_CONT void vtkm::rendering::raytracing::VolumeRendererStructured::SetSampleDistance ( const vtkm::Float32 distance)

void Render(vtkm::rendering::raytracing::Ray<vtkm::Float64>& rays);

Member Data Documentation

◆ Cellset

vtkm::cont::CellSetStructured<3> vtkm::rendering::raytracing::VolumeRendererStructured::Cellset
protected

◆ ColorMap

vtkm::cont::ArrayHandle<vtkm::Vec4f_32> vtkm::rendering::raytracing::VolumeRendererStructured::ColorMap
protected

◆ Coordinates

vtkm::cont::CoordinateSystem vtkm::rendering::raytracing::VolumeRendererStructured::Coordinates
protected

◆ IsSceneDirty

bool vtkm::rendering::raytracing::VolumeRendererStructured::IsSceneDirty
protected

◆ IsUniformDataSet

bool vtkm::rendering::raytracing::VolumeRendererStructured::IsUniformDataSet
protected

◆ SampleDistance

vtkm::Float32 vtkm::rendering::raytracing::VolumeRendererStructured::SampleDistance
protected

◆ ScalarField

const vtkm::cont::Field* vtkm::rendering::raytracing::VolumeRendererStructured::ScalarField
protected

◆ ScalarRange

vtkm::Range vtkm::rendering::raytracing::VolumeRendererStructured::ScalarRange
protected

◆ SpatialExtent

vtkm::Bounds vtkm::rendering::raytracing::VolumeRendererStructured::SpatialExtent
protected

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