VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageRange3D.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 =========================================================================*/ 00026 #ifndef vtkImageRange3D_h 00027 #define vtkImageRange3D_h 00028 00029 00030 #include "vtkImagingGeneralModule.h" // For export macro 00031 #include "vtkImageSpatialAlgorithm.h" 00032 00033 class vtkImageEllipsoidSource; 00034 00035 class VTKIMAGINGGENERAL_EXPORT vtkImageRange3D : public vtkImageSpatialAlgorithm 00036 { 00037 public: 00038 static vtkImageRange3D *New(); 00039 vtkTypeMacro(vtkImageRange3D,vtkImageSpatialAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00045 void SetKernelSize(int size0, int size1, int size2); 00046 00047 protected: 00048 vtkImageRange3D(); 00049 ~vtkImageRange3D(); 00050 00051 vtkImageEllipsoidSource *Ellipse; 00052 00053 virtual int RequestInformation (vtkInformation *request, 00054 vtkInformationVector **inputVector, 00055 vtkInformationVector *outputVector); 00056 void ThreadedRequestData(vtkInformation *request, 00057 vtkInformationVector **inputVector, 00058 vtkInformationVector *outputVector, 00059 vtkImageData ***inData, vtkImageData **outData, 00060 int extent[6], int id); 00061 virtual int RequestData(vtkInformation *request, 00062 vtkInformationVector **inputVector, 00063 vtkInformationVector *outputVector); 00064 00065 private: 00066 vtkImageRange3D(const vtkImageRange3D&); // Not implemented. 00067 void operator=(const vtkImageRange3D&); // Not implemented. 00068 }; 00069 00070 #endif