VTK
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 =========================================================================*/
24 #ifndef vtkImageCursor3D_h
25 #define vtkImageCursor3D_h
26 
27 #include "vtkImagingHybridModule.h" // For export macro
28 #include "vtkImageInPlaceFilter.h"
29 
31 {
32 public:
33  static vtkImageCursor3D *New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37 
39 
40  vtkSetVector3Macro(CursorPosition, double);
41  vtkGetVector3Macro(CursorPosition, double);
43 
45 
46  vtkSetMacro(CursorValue, double);
47  vtkGetMacro(CursorValue, double);
49 
51 
53  vtkSetMacro(CursorRadius, int);
54  vtkGetMacro(CursorRadius, int);
56 
57 
58 protected:
61 
62  double CursorPosition[3];
63  double CursorValue;
65 
66  virtual int RequestData(vtkInformation *request,
67  vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector);
69 
70 private:
71  vtkImageCursor3D(const vtkImageCursor3D&); // Not implemented.
72  void operator=(const vtkImageCursor3D&); // Not implemented.
73 };
74 
75 
76 
77 #endif
78 
79 
80 
Filter that operates in place.
Paints a cursor on top of an image or volume.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
#define VTKIMAGINGHYBRID_EXPORT