VTK-m  2.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkm::rendering::Mapper Class Referenceabstract

Converts data into commands to a rendering system. More...

#include <Mapper.h>

Inheritance diagram for vtkm::rendering::Mapper:
vtkm::rendering::MapperConnectivity vtkm::rendering::MapperCylinder vtkm::rendering::MapperGlyphBase vtkm::rendering::MapperPoint vtkm::rendering::MapperQuad vtkm::rendering::MapperRayTracer vtkm::rendering::MapperVolume vtkm::rendering::MapperWireframer

Public Member Functions

 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 SetCanvas (vtkm::rendering::Canvas *canvas)=0
 
virtual vtkm::rendering::CanvasGetCanvas () const =0
 
virtual vtkm::rendering::MapperNewCopy () const =0
 
virtual void SetLogarithmX (bool l)
 
virtual void SetLogarithmY (bool l)
 

Protected Member Functions

virtual 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)=0
 

Protected Attributes

vtkm::cont::ArrayHandle< vtkm::Vec4f_32ColorMap
 
bool LogarithmX = false
 
bool LogarithmY = false
 
bool SortBackToFront = true
 

Detailed Description

Converts data into commands to a rendering system.

This is the base class for all mapper classes in VTK-m. Different concrete derived classes can provide different representations and rendering techniques.

Constructor & Destructor Documentation

◆ Mapper()

vtkm::rendering::Mapper::Mapper ( )
inline

◆ ~Mapper()

virtual vtkm::rendering::Mapper::~Mapper ( )
virtual

Member Function Documentation

◆ GetCanvas()

virtual vtkm::rendering::Canvas* vtkm::rendering::Mapper::GetCanvas ( ) const
pure virtual

◆ NewCopy()

virtual vtkm::rendering::Mapper* vtkm::rendering::Mapper::NewCopy ( ) const
pure virtual

◆ RenderCells() [1/2]

virtual void vtkm::rendering::Mapper::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 
)
virtual

◆ RenderCells() [2/2]

void vtkm::rendering::Mapper::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 
)

◆ RenderCellsImpl()

virtual void vtkm::rendering::Mapper::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 
)
protectedpure virtual

◆ RenderCellsPartitioned()

virtual void vtkm::rendering::Mapper::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

◆ SetActiveColorTable()

virtual void vtkm::rendering::Mapper::SetActiveColorTable ( const vtkm::cont::ColorTable ct)
virtual

◆ SetCanvas()

virtual void vtkm::rendering::Mapper::SetCanvas ( vtkm::rendering::Canvas canvas)
pure virtual

◆ SetLogarithmX()

virtual void vtkm::rendering::Mapper::SetLogarithmX ( bool  l)
virtual

◆ SetLogarithmY()

virtual void vtkm::rendering::Mapper::SetLogarithmY ( bool  l)
virtual

Member Data Documentation

◆ ColorMap

vtkm::cont::ArrayHandle<vtkm::Vec4f_32> vtkm::rendering::Mapper::ColorMap
protected

◆ LogarithmX

bool vtkm::rendering::Mapper::LogarithmX = false
protected

◆ LogarithmY

bool vtkm::rendering::Mapper::LogarithmY = false
protected

◆ SortBackToFront

bool vtkm::rendering::Mapper::SortBackToFront = true
protected

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