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 "vtkImageInPlaceFilter.h" 00028 00029 class VTK_IMAGING_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter 00030 { 00031 public: 00032 static vtkImageCursor3D *New(); 00033 vtkTypeMacro(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&); // Not implemented. 00071 void operator=(const vtkImageCursor3D&); // Not implemented. 00072 }; 00073 00074 00075 00076 #endif 00077 00078 00079