00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00037 #ifndef __vtkImageSimpleMIP_h
00038 #define __vtkImageSimpleMIP_h
00039
00040 #include "vtkThreadedImageAlgorithm.h"
00041
00042 class VTK_IMAGING_EXPORT vtkImageSimpleMIP : public vtkThreadedImageAlgorithm
00043 {
00044 public:
00045 vtkTypeRevisionMacro(vtkImageSimpleMIP,vtkThreadedImageAlgorithm);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00049 static vtkImageSimpleMIP *New();
00050
00051
00052
00053 protected:
00054 vtkImageSimpleMIP();
00055 ~vtkImageSimpleMIP() {};
00056 int SplitExtent(int splitExt[6],
00057 int startExt[6],
00058 int num, int total);
00059
00060
00061 virtual int RequestInformation (vtkInformation *, vtkInformationVector **,
00062 vtkInformationVector *);
00063
00064 virtual int RequestUpdateExtent (
00065 vtkInformation* vtkNotUsed(request),
00066 vtkInformationVector** inputVector,
00067 vtkInformationVector* outputVector);
00068
00069
00070 void ThreadedRequestData (vtkInformation* request,
00071 vtkInformationVector** inputVector,
00072 vtkInformationVector* outputVector,
00073 vtkImageData ***inData, vtkImageData **outData,
00074 int ext[6], int id);
00075
00076
00077 virtual int FillInputPortInformation(int, vtkInformation*);
00078
00079 private:
00080 vtkImageSimpleMIP(const vtkImageSimpleMIP&);
00081 void operator=(const vtkImageSimpleMIP&);
00082 };
00083
00084 #endif
00085
00086