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

Mapper that renders the edges of a mesh. More...

#include <MapperWireframer.h>

Inheritance diagram for viskores::rendering::MapperWireframer:
viskores::rendering::Mapper

Public Member Functions

 MapperWireframer ()
 
virtual ~MapperWireframer ()
 
virtual viskores::rendering::CanvasGetCanvas () const override
 
virtual void SetCanvas (viskores::rendering::Canvas *canvas) override
 
bool GetShowInternalZones () const
 Specify whether to show interior edges. More...
 
void SetShowInternalZones (bool showInternalZones)
 Specify whether to show interior edges. More...
 
void SetCompositeBackground (bool on)
 
bool GetIsOverlay () const
 
void SetIsOverlay (bool isOverlay)
 
virtual 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

virtual 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 that renders the edges of a mesh.

Each edge in the mesh is rendered as a line, which provides a wireframe representation of the data.

Constructor & Destructor Documentation

◆ MapperWireframer()

viskores::rendering::MapperWireframer::MapperWireframer ( )

◆ ~MapperWireframer()

virtual viskores::rendering::MapperWireframer::~MapperWireframer ( )
virtual

Member Function Documentation

◆ GetCanvas()

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

◆ GetIsOverlay()

bool viskores::rendering::MapperWireframer::GetIsOverlay ( ) const

◆ GetShowInternalZones()

bool viskores::rendering::MapperWireframer::GetShowInternalZones ( ) const

Specify whether to show interior edges.

When rendering a 3D volume of data, the MapperWireframer can show either the wireframe of the external surface of the data (the default) or render the entire wireframe including the internal edges.

◆ NewCopy()

virtual viskores::rendering::Mapper* viskores::rendering::MapperWireframer::NewCopy ( ) const
overridevirtual

◆ RenderCellsImpl()

virtual void viskores::rendering::MapperWireframer::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()

virtual void viskores::rendering::MapperWireframer::SetCanvas ( viskores::rendering::Canvas canvas)
overridevirtual

◆ SetCompositeBackground()

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

◆ SetIsOverlay()

void viskores::rendering::MapperWireframer::SetIsOverlay ( bool  isOverlay)

◆ SetShowInternalZones()

void viskores::rendering::MapperWireframer::SetShowInternalZones ( bool  showInternalZones)

Specify whether to show interior edges.

When rendering a 3D volume of data, the MapperWireframer can show either the wireframe of the external surface of the data (the default) or render the entire wireframe including the internal edges.

Member Data Documentation

◆ Internals

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

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