Viskores  1.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
viskores::rendering::MapperQuad Class Reference

A mapper that renderers quad faces from a cell set via ray tracing. More...

#include <MapperQuad.h>

Inheritance diagram for viskores::rendering::MapperQuad:
viskores::rendering::Mapper

Public Member Functions

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

Private Member Functions

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

Private Attributes

std::shared_ptr< InternalsType > Internals
 

Additional Inherited Members

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

Detailed Description

A mapper that renderers quad faces from a cell set via ray tracing.

   As opposed to breaking quads into two trianges, scalars are
   interpolated using all 4 points of the quad resulting in more
   accurate interpolation.

Constructor & Destructor Documentation

◆ MapperQuad()

viskores::rendering::MapperQuad::MapperQuad ( )

◆ ~MapperQuad()

viskores::rendering::MapperQuad::~MapperQuad ( )

Member Function Documentation

◆ GetCanvas()

virtual viskores::rendering::Canvas* viskores::rendering::MapperQuad::GetCanvas ( ) const
overridevirtual

◆ NewCopy()

viskores::rendering::Mapper* viskores::rendering::MapperQuad::NewCopy ( ) const
overridevirtual

◆ RenderCellsImpl()

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

◆ SetCanvas()

void viskores::rendering::MapperQuad::SetCanvas ( viskores::rendering::Canvas canvas)
overridevirtual

◆ SetCompositeBackground()

void viskores::rendering::MapperQuad::SetCompositeBackground ( bool  on)

Member Data Documentation

◆ Internals

std::shared_ptr<InternalsType> viskores::rendering::MapperQuad::Internals
private

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