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

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

#include <MapperRayTracer.h>

Inheritance diagram for viskores::rendering::MapperRayTracer:
viskores::rendering::Mapper

Public Member Functions

 MapperRayTracer ()
 
 ~MapperRayTracer ()
 
void SetCanvas (viskores::rendering::Canvas *canvas) override
 
virtual viskores::rendering::CanvasGetCanvas () const override
 
void SetCompositeBackground (bool on)
 
viskores::rendering::MapperNewCopy () const override
 
void SetShadingOn (bool on)
 
- 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

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()

viskores::rendering::MapperRayTracer::MapperRayTracer ( )

◆ ~MapperRayTracer()

viskores::rendering::MapperRayTracer::~MapperRayTracer ( )

Member Function Documentation

◆ GetCanvas()

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

◆ NewCopy()

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

◆ RenderCellsImpl()

void viskores::rendering::MapperRayTracer::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::MapperRayTracer::SetCanvas ( viskores::rendering::Canvas canvas)
overridevirtual

◆ SetCompositeBackground()

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

◆ SetShadingOn()

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

Member Data Documentation

◆ Internals

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

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