Viskores  1.0
MapperGlyphVector.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_rendering_MapperGlyphVector_h
19 #define viskores_rendering_MapperGlyphVector_h
20 
23 
24 namespace viskores
25 {
26 namespace rendering
27 {
28 
34 class VISKORES_RENDERING_EXPORT MapperGlyphVector : public viskores::rendering::MapperGlyphBase
35 {
36 public:
38 
40 
42  viskores::rendering::GlyphType GetGlyphType() const;
44  void SetGlyphType(viskores::rendering::GlyphType glyphType);
45 
46  viskores::rendering::Mapper* NewCopy() const override;
47 
48 protected:
50 
51  void RenderCellsImpl(const viskores::cont::UnknownCellSet& cellset,
53  const viskores::cont::Field& scalarField,
54  const viskores::cont::ColorTable& colorTable,
55  const viskores::rendering::Camera& camera,
56  const viskores::Range& scalarRange,
57  const viskores::cont::Field& ghostField) override;
58 };
59 }
60 } //namespace viskores::rendering
61 
62 #endif //viskores_rendering_MapperGlyphVector_h
viskores::rendering::MapperGlyphBase
Base class for glyph mappers.
Definition: MapperGlyphBase.h:39
viskores::cont::CoordinateSystem
Manages a coordinate system for a DataSet.
Definition: CoordinateSystem.h:38
viskores::rendering::MapperGlyphVector
A mapper that produces oriented glyphs.
Definition: MapperGlyphVector.h:34
MapperGlyphBase.h
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::cont::ColorTable
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:97
GlyphType.h
viskores::rendering::GlyphType
GlyphType
Glyph shapes supported by glyphing mappers.
Definition: GlyphType.h:27
viskores::rendering::Mapper
Converts data into commands to a rendering system.
Definition: Mapper.h:37
viskores::rendering::MapperGlyphVector::GlyphType
viskores::rendering::GlyphType GlyphType
Definition: MapperGlyphVector.h:49
viskores::Range
Represent a continuous scalar range of values.
Definition: Range.h:39
viskores::cont::UnknownCellSet
A CellSet of an unknown type.
Definition: UnknownCellSet.h:56
viskores::rendering::Camera
Specifies the viewport for a rendering.
Definition: Camera.h:45
viskores::cont::Field
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: Field.h:39