|
| MapperGlyphBase () |
|
virtual | ~MapperGlyphBase () |
|
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 glyphs will be associated with. More...
|
|
virtual void | SetAssociation (vtkm::cont::Field::Association association) |
| Specify the elements the glyphs will be associated with. More...
|
|
virtual bool | GetUseCells () const |
| Specify the elements the glyphs will be associated with. More...
|
|
virtual void | SetUseCells () |
| Specify the elements the glyphs will be associated with. More...
|
|
virtual bool | GetUsePoints () const |
| Specify the elements the glyphs will be associated with. More...
|
|
virtual void | SetUsePoints () |
| Specify the elements the glyphs will be associated with. More...
|
|
virtual bool | GetUseNodes () const |
|
virtual void | SetUseNodes () |
|
virtual bool | GetUseStride () const |
|
virtual void | SetUseStride (bool on) |
|
virtual vtkm::Id | GetStride () const |
|
virtual void | SetStride (vtkm::Id stride) |
|
virtual vtkm::Float32 | GetBaseSize () const |
| Specify the size of each glyph (before scaling). More...
|
|
virtual void | SetBaseSize (vtkm::Float32 size) |
| Specify the size of each glyph (before scaling). More...
|
|
virtual bool | GetScaleByValue () const |
| Specify whether to scale the glyphs by a field. More...
|
|
virtual void | SetScaleByValue (bool on) |
| Specify whether to scale the glyphs by a field. More...
|
|
virtual vtkm::Float32 | GetScaleDelta () const |
| Specify the range of values to scale the glyphs. More...
|
|
virtual void | SetScaleDelta (vtkm::Float32 delta) |
| Specify the range of values to scale the glyphs. More...
|
|
virtual void | SetCompositeBackground (bool on) |
|
| 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 vtkm::rendering::Mapper * | NewCopy () const =0 |
|
virtual void | SetLogarithmX (bool l) |
|
virtual void | SetLogarithmY (bool l) |
|
Base class for glyph mappers.
Glyph mappers place 3D icons at various places in the mesh. The icons are placed based on the location of points or cells in the mesh.
virtual vtkm::Float32 vtkm::rendering::MapperGlyphBase::GetScaleDelta |
( |
| ) |
const |
|
virtual |
Specify the range of values to scale the glyphs.
When ScaleByValue
is on, the glyphs will be scaled proportionally to the field magnitude. The ScaleDelta
determines how big and small they get. For a ScaleDelta
of one, the smallest field values will have glyphs of zero size and the maximum field values will be twice the base size. A ScaleDelta
of 0.5 will result in glyphs sized in the range of 0.5 times the base size to 1.5 times the base size. ScaleDelta
outside the range [0, 1] is undefined.
virtual void vtkm::rendering::MapperGlyphBase::SetScaleDelta |
( |
vtkm::Float32 |
delta | ) |
|
|
virtual |
Specify the range of values to scale the glyphs.
When ScaleByValue
is on, the glyphs will be scaled proportionally to the field magnitude. The ScaleDelta
determines how big and small they get. For a ScaleDelta
of one, the smallest field values will have glyphs of zero size and the maximum field values will be twice the base size. A ScaleDelta
of 0.5 will result in glyphs sized in the range of 0.5 times the base size to 1.5 times the base size. ScaleDelta
outside the range [0, 1] is undefined.