VTK-m
2.2
|
Mapper that renders the edges of a mesh. More...
#include <MapperWireframer.h>
Public Member Functions | |
MapperWireframer () | |
virtual | ~MapperWireframer () |
virtual vtkm::rendering::Canvas * | GetCanvas () 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::Mapper * | NewCopy () 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_32 > | ColorMap |
bool | LogarithmX = false |
bool | LogarithmY = false |
bool | SortBackToFront = true |
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.
vtkm::rendering::MapperWireframer::MapperWireframer | ( | ) |
|
virtual |
|
overridevirtual |
Implements vtkm::rendering::Mapper.
bool vtkm::rendering::MapperWireframer::GetIsOverlay | ( | ) | const |
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.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
|
overrideprivatevirtual |
Implements vtkm::rendering::Mapper.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
void vtkm::rendering::MapperWireframer::SetCompositeBackground | ( | bool | on | ) |
void vtkm::rendering::MapperWireframer::SetIsOverlay | ( | bool | isOverlay | ) |
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.
|
private |