VTK  9.4.20241227
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
17#include "vtkImagingHybridModule.h" // For export macro
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKIMAGINGHYBRID_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
21{
22public:
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
52protected:
54 ~vtkImageCursor3D() override = default;
55
56 double CursorPosition[3];
59
60 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
61 vtkInformationVector* outputVector) override;
62
63private:
64 vtkImageCursor3D(const vtkImageCursor3D&) = delete;
65 void operator=(const vtkImageCursor3D&) = delete;
66};
67
68VTK_ABI_NAMESPACE_END
69#endif
Paints a cursor on top of an image or volume.
static vtkImageCursor3D * New()
~vtkImageCursor3D() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.