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 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 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 // not threaded because it's too simple a filter 00066 void ExecuteData(vtkDataObject *outData); 00067 private: 00068 vtkImageCursor3D(const vtkImageCursor3D&); // Not implemented. 00069 void operator=(const vtkImageCursor3D&); // Not implemented. 00070 }; 00071 00072 00073 00074 #endif 00075 00076 00077