vtkImageAppend.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00042 #ifndef __vtkImageAppend_h
00043 #define __vtkImageAppend_h
00044
00045
00046 #include "vtkImageMultipleInputFilter.h"
00047
00048 class VTK_IMAGING_EXPORT vtkImageAppend : public vtkImageMultipleInputFilter
00049 {
00050 public:
00051 static vtkImageAppend *New();
00052 vtkTypeRevisionMacro(vtkImageAppend,vtkImageMultipleInputFilter);
00053 void PrintSelf(ostream& os, vtkIndent indent);
00054
00056
00059 vtkSetMacro(AppendAxis, int);
00060 vtkGetMacro(AppendAxis, int);
00062
00064
00070 vtkSetMacro(PreserveExtents, int);
00071 vtkGetMacro(PreserveExtents, int);
00072 vtkBooleanMacro(PreserveExtents, int);
00074
00075 protected:
00076 vtkImageAppend();
00077 ~vtkImageAppend();
00078
00079 int PreserveExtents;
00080 int AppendAxis;
00081
00082 int *Shifts;
00083
00084 void ExecuteInformation(vtkImageData **inputs, vtkImageData *output);
00085 void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int whichInput);
00086 void ExecuteInformation(){this->vtkImageMultipleInputFilter::ExecuteInformation();};
00087
00088 void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00089 int extent[6], int id);
00090
00091 void InitOutput(int outExt[6], vtkImageData *outData);
00092 private:
00093 vtkImageAppend(const vtkImageAppend&);
00094 void operator=(const vtkImageAppend&);
00095 };
00096
00097 #endif
00098
00099
00100
00101