VTK-m  2.0
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 
21 class VTKM_RENDERING_EXPORT MapperGlyphScalar : public vtkm::rendering::MapperGlyphBase
22 {
23 public:
25 
27 
28  vtkm::rendering::GlyphType GetGlyphType() const;
29  void SetGlyphType(vtkm::rendering::GlyphType glyphType);
30 
31  void RenderCells(const vtkm::cont::UnknownCellSet& cellset,
32  const vtkm::cont::CoordinateSystem& coords,
33  const vtkm::cont::Field& scalarField,
34  const vtkm::cont::ColorTable& colorTable,
35  const vtkm::rendering::Camera& camera,
36  const vtkm::Range& scalarRange) override;
37 
38  vtkm::rendering::Mapper* NewCopy() const override;
39 
40 protected:
42 };
43 }
44 } //namespace vtkm::rendering
45 
46 #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::MapperGlyphBase
Definition: MapperGlyphBase.h:26
vtkm::cont::UnknownCellSet
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
vtkm::cont::CoordinateSystem
Definition: CoordinateSystem.h:25
MapperGlyphBase.h
vtkm::rendering::Mapper
Definition: Mapper.h:24
vtkm::rendering::MapperGlyphScalar
Definition: MapperGlyphScalar.h:21
vtkm::cont::Field
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: cont/Field.h:31
GlyphType.h
vtkm::rendering::MapperGlyphScalar::GlyphType
vtkm::rendering::GlyphType GlyphType
Definition: MapperGlyphScalar.h:41
vtkm::rendering::GlyphType
GlyphType
Definition: GlyphType.h:18
vtkm::rendering::Camera
Definition: Camera.h:28
vtkm::Range
Represent a continuous scalar range of values.
Definition: Range.h:31