VTK-m  2.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vtkm::rendering::MapperRayTracer Class Reference

Mapper to render surfaces using ray tracing. More...

#include <MapperRayTracer.h>

Inheritance diagram for vtkm::rendering::MapperRayTracer:
vtkm::rendering::Mapper

Public Member Functions

 MapperRayTracer ()
 
 ~MapperRayTracer ()
 
void SetCanvas (vtkm::rendering::Canvas *canvas) override
 
virtual vtkm::rendering::CanvasGetCanvas () const override
 
void SetCompositeBackground (bool on)
 
vtkm::rendering::MapperNewCopy () const override
 
void SetShadingOn (bool on)
 
- Public Member Functions inherited from vtkm::rendering::Mapper
 Mapper ()
 
virtual ~Mapper ()
 
virtual void RenderCells (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange)
 
void RenderCells (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange, const vtkm::cont::Field &ghostField)
 
virtual void RenderCellsPartitioned (const vtkm::cont::PartitionedDataSet partitionedData, const std::string fieldName, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange)
 
virtual void SetActiveColorTable (const vtkm::cont::ColorTable &ct)
 
virtual void SetLogarithmX (bool l)
 
virtual void SetLogarithmY (bool l)
 

Private Member Functions

void RenderCellsImpl (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange, const vtkm::cont::Field &ghostField) override
 

Private Attributes

std::shared_ptr< InternalsType > Internals
 

Additional Inherited Members

- Protected Attributes inherited from vtkm::rendering::Mapper
vtkm::cont::ArrayHandle< vtkm::Vec4f_32ColorMap
 
bool LogarithmX = false
 
bool LogarithmY = false
 
bool SortBackToFront = true
 

Detailed Description

Mapper to render surfaces using ray tracing.

Provides a "standard" data mapper that uses ray tracing to render the surfaces of DataSet objects.

Constructor & Destructor Documentation

◆ MapperRayTracer()

vtkm::rendering::MapperRayTracer::MapperRayTracer ( )

◆ ~MapperRayTracer()

vtkm::rendering::MapperRayTracer::~MapperRayTracer ( )

Member Function Documentation

◆ GetCanvas()

virtual vtkm::rendering::Canvas* vtkm::rendering::MapperRayTracer::GetCanvas ( ) const
overridevirtual

◆ NewCopy()

vtkm::rendering::Mapper* vtkm::rendering::MapperRayTracer::NewCopy ( ) const
overridevirtual

◆ RenderCellsImpl()

void vtkm::rendering::MapperRayTracer::RenderCellsImpl ( const vtkm::cont::UnknownCellSet cellset,
const vtkm::cont::CoordinateSystem coords,
const vtkm::cont::Field scalarField,
const vtkm::cont::ColorTable colorTable,
const vtkm::rendering::Camera camera,
const vtkm::Range scalarRange,
const vtkm::cont::Field ghostField 
)
overrideprivatevirtual

◆ SetCanvas()

void vtkm::rendering::MapperRayTracer::SetCanvas ( vtkm::rendering::Canvas canvas)
overridevirtual

◆ SetCompositeBackground()

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

◆ SetShadingOn()

void vtkm::rendering::MapperRayTracer::SetShadingOn ( bool  on)

Member Data Documentation

◆ Internals

std::shared_ptr<InternalsType> vtkm::rendering::MapperRayTracer::Internals
private

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