00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageRange3D.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 =========================================================================*/ 00037 #ifndef __vtkImageRange3D_h 00038 #define __vtkImageRange3D_h 00039 00040 00041 #include "vtkImageSpatialFilter.h" 00042 00043 class vtkImageEllipsoidSource; 00044 00045 class VTK_IMAGING_EXPORT vtkImageRange3D : public vtkImageSpatialFilter 00046 { 00047 public: 00048 static vtkImageRange3D *New(); 00049 vtkTypeRevisionMacro(vtkImageRange3D,vtkImageSpatialFilter); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00055 void SetKernelSize(int size0, int size1, int size2); 00056 00057 protected: 00058 vtkImageRange3D(); 00059 ~vtkImageRange3D(); 00060 00061 vtkImageEllipsoidSource *Ellipse; 00062 00063 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData); 00064 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();}; 00065 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00066 int extent[6], int id); 00067 private: 00068 vtkImageRange3D(const vtkImageRange3D&); // Not implemented. 00069 void operator=(const vtkImageRange3D&); // Not implemented. 00070 }; 00071 00072 #endif 00073 00074 00075