VTK-m
2.2
|
This mapper renders points from a cell set. More...
#include <MapperPoint.h>
Public Member Functions | |
MapperPoint () | |
~MapperPoint () | |
void | SetCanvas (vtkm::rendering::Canvas *canvas) override |
virtual vtkm::rendering::Canvas * | GetCanvas () const override |
virtual vtkm::cont::Field::Association | GetAssociation () const |
Specify the elements the points will be associated with. More... | |
virtual void | SetAssociation (vtkm::cont::Field::Association association) |
Specify the elements the points will be associated with. More... | |
virtual bool | GetUseCells () const |
Specify the elements the points will be associated with. More... | |
virtual void | SetUseCells () |
Specify the elements the points will be associated with. More... | |
virtual bool | GetUsePoints () const |
Specify the elements the points will be associated with. More... | |
virtual void | SetUsePoints () |
Specify the elements the points will be associated with. More... | |
void | UseCells () |
void | UseNodes () |
void | UseVariableRadius (bool useVariableRadius) |
Render points using a variable radius based on the scalar field. More... | |
void | SetRadius (const vtkm::Float32 &radius) |
Set a base raidus for all points. More... | |
void | SetRadiusDelta (const vtkm::Float32 &delta) |
When using a variable raidus for all points, the radius delta controls how much larger and smaller radii become based on the scalar field. More... | |
void | SetCompositeBackground (bool on) |
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 | |
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 |
This mapper renders points from a cell set.
This mapper can natively create points from vertex cell shapes as well as use the points defined by a coordinate system.
vtkm::rendering::MapperPoint::MapperPoint | ( | ) |
vtkm::rendering::MapperPoint::~MapperPoint | ( | ) |
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
|
overrideprivatevirtual |
Implements vtkm::rendering::Mapper.
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
void vtkm::rendering::MapperPoint::SetCompositeBackground | ( | bool | on | ) |
void vtkm::rendering::MapperPoint::SetRadius | ( | const vtkm::Float32 & | radius | ) |
Set a base raidus for all points.
If a radius is never specified the default heuristic is used.
void vtkm::rendering::MapperPoint::SetRadiusDelta | ( | const vtkm::Float32 & | delta | ) |
When using a variable raidus for all points, the radius delta controls how much larger and smaller radii become based on the scalar field.
If the delta is 0 all points will have the same radius. If the delta is 0.5 then the max/min scalar values would have a radii of base +/- base * 0.5.
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
|
virtual |
Specify the elements the points will be associated with.
The point mapper will place visible points over locations specified by either the points or the cells of a mesh.
void vtkm::rendering::MapperPoint::UseCells | ( | ) |
void vtkm::rendering::MapperPoint::UseNodes | ( | ) |
void vtkm::rendering::MapperPoint::UseVariableRadius | ( | bool | useVariableRadius | ) |
Render points using a variable radius based on the scalar field.
The default is false.
|
private |