VTK  9.2.6
vtkImageCursor3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageCursor3D.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 =========================================================================*/
25 #ifndef vtkImageCursor3D_h
26 #define vtkImageCursor3D_h
27 
28 #include "vtkImageInPlaceFilter.h"
29 #include "vtkImagingHybridModule.h" // For export macro
30 
31 class VTKIMAGINGHYBRID_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
32 {
33 public:
34  static vtkImageCursor3D* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
42  vtkSetVector3Macro(CursorPosition, double);
43  vtkGetVector3Macro(CursorPosition, double);
45 
47 
50  vtkSetMacro(CursorValue, double);
51  vtkGetMacro(CursorValue, double);
53 
55 
59  vtkSetMacro(CursorRadius, int);
60  vtkGetMacro(CursorRadius, int);
62 
63 protected:
65  ~vtkImageCursor3D() override = default;
66 
67  double CursorPosition[3];
68  double CursorValue;
70 
71  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
72  vtkInformationVector* outputVector) override;
73 
74 private:
75  vtkImageCursor3D(const vtkImageCursor3D&) = delete;
76  void operator=(const vtkImageCursor3D&) = delete;
77 };
78 
79 #endif
Filter that operates in place.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Paints a cursor on top of an image or volume.
Store vtkAlgorithm input/output information.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()