VTK  9.0.1
vtkMarkerUtilities.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMarkerUtilities.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
28 #ifndef vtkMarkerUtilities_h
29 #define vtkMarkerUtilities_h
30 
31 #include "vtkRenderingContext2DModule.h" // For export macro
32 
33 #include "vtkObject.h"
34 
35 class vtkImageData;
36 
37 class VTKRENDERINGCONTEXT2D_EXPORT vtkMarkerUtilities : public vtkObject
38 {
39 public:
40  vtkTypeMacro(vtkMarkerUtilities, vtkObject);
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  enum
47  {
48  NONE = 0,
53  DIAMOND
54  };
55 
59  static void GenerateMarker(vtkImageData* data, int style, int width);
60 
61 protected:
63  ~vtkMarkerUtilities() override;
64 
65 private:
66  vtkMarkerUtilities(const vtkMarkerUtilities&) = delete;
67  void operator=(const vtkMarkerUtilities&) = delete;
68 };
69 
70 #endif // vtkMarkerUtilities_h
vtkMarkerUtilities
Utilities for generating marker images.
Definition: vtkMarkerUtilities.h:37
vtkX3D::data
@ data
Definition: vtkX3D.h:321
vtkX3D::style
@ style
Definition: vtkX3D.h:498
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkMarkerUtilities::SQUARE
@ SQUARE
Definition: vtkMarkerUtilities.h:51
vtkMarkerUtilities::PLUS
@ PLUS
Definition: vtkMarkerUtilities.h:50
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkMarkerUtilities::CIRCLE
@ CIRCLE
Definition: vtkMarkerUtilities.h:52
vtkMarkerUtilities::CROSS
@ CROSS
Definition: vtkMarkerUtilities.h:49