VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageCursor3D.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00024 #ifndef __vtkImageCursor3D_h 00025 #define __vtkImageCursor3D_h 00026 00027 #include "vtkImagingHybridModule.h" // For export macro 00028 #include "vtkImageInPlaceFilter.h" 00029 00030 class VTKIMAGINGHYBRID_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter 00031 { 00032 public: 00033 static vtkImageCursor3D *New(); 00034 vtkTypeMacro(vtkImageCursor3D,vtkImageInPlaceFilter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00037 00039 00040 vtkSetVector3Macro(CursorPosition, double); 00041 vtkGetVector3Macro(CursorPosition, double); 00043 00045 00046 vtkSetMacro(CursorValue, double); 00047 vtkGetMacro(CursorValue, double); 00049 00051 00053 vtkSetMacro(CursorRadius, int); 00054 vtkGetMacro(CursorRadius, int); 00056 00057 00058 protected: 00059 vtkImageCursor3D(); 00060 ~vtkImageCursor3D() {} 00061 00062 double CursorPosition[3]; 00063 double CursorValue; 00064 int CursorRadius; 00065 00066 virtual int RequestData(vtkInformation *request, 00067 vtkInformationVector** inputVector, 00068 vtkInformationVector* outputVector); 00069 00070 private: 00071 vtkImageCursor3D(const vtkImageCursor3D&); // Not implemented. 00072 void operator=(const vtkImageCursor3D&); // Not implemented. 00073 }; 00074 00075 00076 00077 #endif 00078 00079 00080