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 "vtkImageInPlaceFilter.h"
28 
30 {
31 public:
32  static vtkImageCursor3D *New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36 
38 
39  vtkSetVector3Macro(CursorPosition, double);
40  vtkGetVector3Macro(CursorPosition, double);
42 
44 
45  vtkSetMacro(CursorValue, double);
46  vtkGetMacro(CursorValue, double);
48 
50 
52  vtkSetMacro(CursorRadius, int);
53  vtkGetMacro(CursorRadius, int);
55 
56 
57 protected:
60 
61  double CursorPosition[3];
62  double CursorValue;
64 
65  virtual int RequestData(vtkInformation *request,
66  vtkInformationVector** inputVector,
67  vtkInformationVector* outputVector);
68 
69 private:
70  vtkImageCursor3D(const vtkImageCursor3D&); // Not implemented.
71  void operator=(const vtkImageCursor3D&); // Not implemented.
72 };
73 
74 
75 
76 #endif
77 
78 
79 
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:37
#define VTK_IMAGING_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()