Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImageCursor3D.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageCursor3D.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00028 #ifndef __vtkImageCursor3D_h 00029 #define __vtkImageCursor3D_h 00030 00031 #include "vtkImageInPlaceFilter.h" 00032 00033 class VTK_IMAGING_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter 00034 { 00035 public: 00036 static vtkImageCursor3D *New(); 00037 vtkTypeRevisionMacro(vtkImageCursor3D,vtkImageInPlaceFilter); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 00042 00043 vtkSetVector3Macro(CursorPosition, float); 00044 vtkGetVector3Macro(CursorPosition, float); 00046 00048 00049 vtkSetMacro(CursorValue, float); 00050 vtkGetMacro(CursorValue, float); 00052 00054 00056 vtkSetMacro(CursorRadius, int); 00057 vtkGetMacro(CursorRadius, int); 00059 00060 00061 protected: 00062 vtkImageCursor3D(); 00063 ~vtkImageCursor3D() {}; 00064 00065 float CursorPosition[3]; 00066 float CursorValue; 00067 int CursorRadius; 00068 00069 // not threaded because it's too simple a filter 00070 void ExecuteData(vtkDataObject *outData); 00071 private: 00072 vtkImageCursor3D(const vtkImageCursor3D&); // Not implemented. 00073 void operator=(const vtkImageCursor3D&); // Not implemented. 00074 }; 00075 00076 00077 00078 #endif 00079 00080 00081