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

#include <ConnectivityProxy.h>

Public Types

enum  RenderMode { RenderMode::Volume, RenderMode::Energy }
 

Public Member Functions

 ConnectivityProxy (const vtkm::cont::DataSet &dataset, const std::string &fieldName)
 
 ConnectivityProxy (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField)
 
 ConnectivityProxy ()=delete
 
 ~ConnectivityProxy ()
 
void SetRenderMode (RenderMode mode)
 
void SetSampleDistance (const vtkm::Float32 &)
 
void SetCanvas (vtkm::rendering::Canvas *canvas)
 
void SetScalarField (const std::string &fieldName)
 
void SetEmissionField (const std::string &fieldName)
 
void SetCamera (const vtkm::rendering::Camera &camera)
 
void SetScalarRange (const vtkm::Range &range)
 
void SetColorMap (vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > &colormap)
 
void SetCompositeBackground (bool on)
 
void SetDebugPrints (bool on)
 
void SetUnitScalar (vtkm::Float32 unitScalar)
 
void SetEpsilon (vtkm::Float64 epsilon)
 
vtkm::Bounds GetSpatialBounds ()
 
vtkm::Range GetScalarFieldRange ()
 
vtkm::Range GetScalarRange ()
 
void Trace (const vtkm::rendering::Camera &camera, vtkm::rendering::CanvasRayTracer *canvas)
 
void Trace (vtkm::rendering::raytracing::Ray< vtkm::Float64 > &rays)
 
void Trace (vtkm::rendering::raytracing::Ray< vtkm::Float32 > &rays)
 
PartialVector64 PartialTrace (vtkm::rendering::raytracing::Ray< vtkm::Float64 > &rays)
 
PartialVector32 PartialTrace (vtkm::rendering::raytracing::Ray< vtkm::Float32 > &rays)
 

Protected Attributes

std::shared_ptr< InternalsType > Internals
 

Member Enumeration Documentation

◆ RenderMode

Enumerator
Volume 
Energy 

Constructor & Destructor Documentation

◆ ConnectivityProxy() [1/3]

vtkm::rendering::ConnectivityProxy::ConnectivityProxy ( const vtkm::cont::DataSet dataset,
const std::string &  fieldName 
)

◆ ConnectivityProxy() [2/3]

vtkm::rendering::ConnectivityProxy::ConnectivityProxy ( const vtkm::cont::UnknownCellSet cellset,
const vtkm::cont::CoordinateSystem coords,
const vtkm::cont::Field scalarField 
)

◆ ConnectivityProxy() [3/3]

vtkm::rendering::ConnectivityProxy::ConnectivityProxy ( )
delete

◆ ~ConnectivityProxy()

vtkm::rendering::ConnectivityProxy::~ConnectivityProxy ( )

Member Function Documentation

◆ GetScalarFieldRange()

vtkm::Range vtkm::rendering::ConnectivityProxy::GetScalarFieldRange ( )

◆ GetScalarRange()

vtkm::Range vtkm::rendering::ConnectivityProxy::GetScalarRange ( )

◆ GetSpatialBounds()

vtkm::Bounds vtkm::rendering::ConnectivityProxy::GetSpatialBounds ( )

◆ PartialTrace() [1/2]

PartialVector32 vtkm::rendering::ConnectivityProxy::PartialTrace ( vtkm::rendering::raytracing::Ray< vtkm::Float32 > &  rays)

◆ PartialTrace() [2/2]

PartialVector64 vtkm::rendering::ConnectivityProxy::PartialTrace ( vtkm::rendering::raytracing::Ray< vtkm::Float64 > &  rays)

◆ SetCamera()

void vtkm::rendering::ConnectivityProxy::SetCamera ( const vtkm::rendering::Camera camera)

◆ SetCanvas()

void vtkm::rendering::ConnectivityProxy::SetCanvas ( vtkm::rendering::Canvas canvas)

◆ SetColorMap()

void vtkm::rendering::ConnectivityProxy::SetColorMap ( vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > &  colormap)

◆ SetCompositeBackground()

void vtkm::rendering::ConnectivityProxy::SetCompositeBackground ( bool  on)

◆ SetDebugPrints()

void vtkm::rendering::ConnectivityProxy::SetDebugPrints ( bool  on)

◆ SetEmissionField()

void vtkm::rendering::ConnectivityProxy::SetEmissionField ( const std::string &  fieldName)

◆ SetEpsilon()

void vtkm::rendering::ConnectivityProxy::SetEpsilon ( vtkm::Float64  epsilon)

◆ SetRenderMode()

void vtkm::rendering::ConnectivityProxy::SetRenderMode ( RenderMode  mode)

◆ SetSampleDistance()

void vtkm::rendering::ConnectivityProxy::SetSampleDistance ( const vtkm::Float32 )

◆ SetScalarField()

void vtkm::rendering::ConnectivityProxy::SetScalarField ( const std::string &  fieldName)

◆ SetScalarRange()

void vtkm::rendering::ConnectivityProxy::SetScalarRange ( const vtkm::Range range)

◆ SetUnitScalar()

void vtkm::rendering::ConnectivityProxy::SetUnitScalar ( vtkm::Float32  unitScalar)

◆ Trace() [1/3]

void vtkm::rendering::ConnectivityProxy::Trace ( const vtkm::rendering::Camera camera,
vtkm::rendering::CanvasRayTracer canvas 
)

◆ Trace() [2/3]

void vtkm::rendering::ConnectivityProxy::Trace ( vtkm::rendering::raytracing::Ray< vtkm::Float32 > &  rays)

◆ Trace() [3/3]

void vtkm::rendering::ConnectivityProxy::Trace ( vtkm::rendering::raytracing::Ray< vtkm::Float64 > &  rays)

Member Data Documentation

◆ Internals

std::shared_ptr<InternalsType> vtkm::rendering::ConnectivityProxy::Internals
protected

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