VTK  9.1.0
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=========================================================================*/
22#ifndef vtkImageCursor3D_h
23#define vtkImageCursor3D_h
24
26#include "vtkImagingHybridModule.h" // For export macro
27
28class VTKIMAGINGHYBRID_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
36
39 vtkSetVector3Macro(CursorPosition, double);
40 vtkGetVector3Macro(CursorPosition, double);
42
44
47 vtkSetMacro(CursorValue, double);
48 vtkGetMacro(CursorValue, double);
50
52
56 vtkSetMacro(CursorRadius, int);
57 vtkGetMacro(CursorRadius, int);
59
60protected:
62 ~vtkImageCursor3D() override = default;
63
64 double CursorPosition[3];
67
68 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
69 vtkInformationVector* outputVector) override;
70
71private:
72 vtkImageCursor3D(const vtkImageCursor3D&) = delete;
73 void operator=(const vtkImageCursor3D&) = delete;
74};
75
76#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.