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

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

#include <MapperWireframer.h>

Inheritance diagram for vtkm::rendering::MapperWireframer:
vtkm::rendering::Mapper

Public Member Functions

 MapperWireframer ()
 
virtual ~MapperWireframer ()
 
virtual vtkm::rendering::CanvasGetCanvas () const override
 
virtual void SetCanvas (vtkm::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 vtkm::rendering::MapperNewCopy () const override
 
- 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

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

vtkm::rendering::MapperWireframer::MapperWireframer ( )

◆ ~MapperWireframer()

virtual vtkm::rendering::MapperWireframer::~MapperWireframer ( )
virtual

Member Function Documentation

◆ GetCanvas()

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

◆ GetIsOverlay()

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

◆ GetShowInternalZones()

bool vtkm::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 vtkm::rendering::Mapper* vtkm::rendering::MapperWireframer::NewCopy ( ) const
overridevirtual

◆ RenderCellsImpl()

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

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

◆ SetCompositeBackground()

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

◆ SetIsOverlay()

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

◆ SetShowInternalZones()

void vtkm::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> vtkm::rendering::MapperWireframer::Internals
private

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