VTK-m  2.2
MapperGlyphScalar.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_rendering_MapperGlyphScalar_h
11 #define vtk_m_rendering_MapperGlyphScalar_h
12 
15 
16 namespace vtkm
17 {
18 namespace rendering
19 {
20 
26 {
27 public:
29 
31 
33  vtkm::rendering::GlyphType GetGlyphType() const;
35  void SetGlyphType(vtkm::rendering::GlyphType glyphType);
36 
37  vtkm::rendering::Mapper* NewCopy() const override;
38 
39 protected:
41 
42  void RenderCellsImpl(const vtkm::cont::UnknownCellSet& cellset,
43  const vtkm::cont::CoordinateSystem& coords,
44  const vtkm::cont::Field& scalarField,
45  const vtkm::cont::ColorTable& colorTable,
46  const vtkm::rendering::Camera& camera,
47  const vtkm::Range& scalarRange,
48  const vtkm::cont::Field& ghostField) override;
49 };
50 }
51 } //namespace vtkm::rendering
52 
53 #endif //vtk_m_rendering_MapperGlyphScalar_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::ColorTable
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:89
VTKM_RENDERING_EXPORT
#define VTKM_RENDERING_EXPORT
Definition: vtkm_rendering_export.h:44
vtkm::rendering::MapperGlyphBase
Base class for glyph mappers.
Definition: MapperGlyphBase.h:31
vtkm::cont::UnknownCellSet
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
vtkm::cont::CoordinateSystem
Manages a coordinate system for a DataSet.
Definition: CoordinateSystem.h:30
MapperGlyphBase.h
vtkm::rendering::Mapper
Converts data into commands to a rendering system.
Definition: Mapper.h:29
vtkm::rendering::MapperGlyphScalar
A mapper that produces unoriented glyphs.
Definition: MapperGlyphScalar.h:25
vtkm::cont::Field
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: Field.h:31
GlyphType.h
vtkm::rendering::MapperGlyphScalar::GlyphType
vtkm::rendering::GlyphType GlyphType
Definition: MapperGlyphScalar.h:40
vtkm::rendering::GlyphType
GlyphType
Glyph shapes supported by glyphing mappers.
Definition: GlyphType.h:19
vtkm::rendering::Camera
Specifies the viewport for a rendering.
Definition: Camera.h:37
vtkm::Range
Represent a continuous scalar range of values.
Definition: Range.h:31