00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00024 #ifndef __vtkImageCursor3D_h
00025 #define __vtkImageCursor3D_h
00026
00027 #include "vtkImageInPlaceFilter.h"
00028
00029 class VTK_IMAGING_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
00030 {
00031 public:
00032 static vtkImageCursor3D *New();
00033 vtkTypeRevisionMacro(vtkImageCursor3D,vtkImageInPlaceFilter);
00034 void PrintSelf(ostream& os, vtkIndent indent);
00035
00036
00038
00039 vtkSetVector3Macro(CursorPosition, double);
00040 vtkGetVector3Macro(CursorPosition, double);
00042
00044
00045 vtkSetMacro(CursorValue, double);
00046 vtkGetMacro(CursorValue, double);
00048
00050
00052 vtkSetMacro(CursorRadius, int);
00053 vtkGetMacro(CursorRadius, int);
00055
00056
00057 protected:
00058 vtkImageCursor3D();
00059 ~vtkImageCursor3D() {};
00060
00061 double CursorPosition[3];
00062 double CursorValue;
00063 int CursorRadius;
00064
00065 virtual int RequestData(vtkInformation *request,
00066 vtkInformationVector** inputVector,
00067 vtkInformationVector* outputVector);
00068
00069 private:
00070 vtkImageCursor3D(const vtkImageCursor3D&);
00071 void operator=(const vtkImageCursor3D&);
00072 };
00073
00074
00075
00076 #endif
00077
00078
00079