VTK-m  2.2
MapperGlyphVector.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_MapperGlyphVector_h
11 #define vtk_m_rendering_MapperGlyphVector_h
12 
15 
16 namespace vtkm
17 {
18 namespace rendering
19 {
20 
27 {
28 public:
30 
32 
34  vtkm::rendering::GlyphType GetGlyphType() const;
36  void SetGlyphType(vtkm::rendering::GlyphType glyphType);
37 
38  vtkm::rendering::Mapper* NewCopy() const override;
39 
40 protected:
42 
43  void RenderCellsImpl(const vtkm::cont::UnknownCellSet& cellset,
44  const vtkm::cont::CoordinateSystem& coords,
45  const vtkm::cont::Field& scalarField,
46  const vtkm::cont::ColorTable& colorTable,
47  const vtkm::rendering::Camera& camera,
48  const vtkm::Range& scalarRange,
49  const vtkm::cont::Field& ghostField) override;
50 };
51 }
52 } //namespace vtkm::rendering
53 
54 #endif //vtk_m_rendering_MapperGlyphVector_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::MapperGlyphVector
A mapper that produces oriented glyphs.
Definition: MapperGlyphVector.h:26
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::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::MapperGlyphVector::GlyphType
vtkm::rendering::GlyphType GlyphType
Definition: MapperGlyphVector.h:41
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