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

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 =========================================================================*/
00036 #ifndef __vtkImageCursor3D_h
00037 #define __vtkImageCursor3D_h
00038 
00039 #include "vtkImageInPlaceFilter.h"
00040 
00041 class VTK_IMAGING_EXPORT vtkImageCursor3D : public vtkImageInPlaceFilter
00042 {
00043 public:
00044   static vtkImageCursor3D *New();
00045   vtkTypeRevisionMacro(vtkImageCursor3D,vtkImageInPlaceFilter);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00048 
00050 
00051   vtkSetVector3Macro(CursorPosition, double);
00052   vtkGetVector3Macro(CursorPosition, double);
00054 
00056 
00057   vtkSetMacro(CursorValue, double);
00058   vtkGetMacro(CursorValue, double);
00060   
00062 
00064   vtkSetMacro(CursorRadius, int);
00065   vtkGetMacro(CursorRadius, int);
00067   
00068   
00069 protected:
00070   vtkImageCursor3D();
00071   ~vtkImageCursor3D() {};
00072 
00073   double CursorPosition[3];
00074   double CursorValue;
00075   int CursorRadius;
00076   
00077   // not threaded because it's too simple a filter
00078   void ExecuteData(vtkDataObject *outData);
00079 private:
00080   vtkImageCursor3D(const vtkImageCursor3D&);  // Not implemented.
00081   void operator=(const vtkImageCursor3D&);  // Not implemented.
00082 };
00083 
00084 
00085 
00086 #endif
00087 
00088 
00089