VTK  9.3.20240328
vtkImageCursor3D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkImageCursor3D_h
14 #define vtkImageCursor3D_h
15 
16 #include "vtkImageInPlaceFilter.h"
17 #include "vtkImagingHybridModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class VTKIMAGINGHYBRID_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
21 {
22 public:
23  static vtkImageCursor3D* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
31  vtkSetVector3Macro(CursorPosition, double);
32  vtkGetVector3Macro(CursorPosition, double);
34 
36 
39  vtkSetMacro(CursorValue, double);
40  vtkGetMacro(CursorValue, double);
42 
44 
48  vtkSetMacro(CursorRadius, int);
49  vtkGetMacro(CursorRadius, int);
51 
52 protected:
54  ~vtkImageCursor3D() override = default;
55 
56  double CursorPosition[3];
57  double CursorValue;
59 
60  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
61  vtkInformationVector* outputVector) override;
62 
63 private:
64  vtkImageCursor3D(const vtkImageCursor3D&) = delete;
65  void operator=(const vtkImageCursor3D&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
Paints a cursor on top of an image or volume.
~vtkImageCursor3D() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageCursor3D * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
Filter that operates in place.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.