Imaging/vtkImageRectilinearWipe.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00050 #ifndef __vtkImageRectilinearWipe_h
00051 #define __vtkImageRectilinearWipe_h
00052
00053 #include "vtkImageTwoInputFilter.h"
00054
00055 #define VTK_WIPE_QUAD 0
00056 #define VTK_WIPE_HORIZONTAL 1
00057 #define VTK_WIPE_VERTICAL 2
00058 #define VTK_WIPE_LOWER_LEFT 3
00059 #define VTK_WIPE_LOWER_RIGHT 4
00060 #define VTK_WIPE_UPPER_LEFT 5
00061 #define VTK_WIPE_UPPER_RIGHT 6
00062
00063 class VTK_IMAGING_EXPORT vtkImageRectilinearWipe : public vtkImageTwoInputFilter
00064 {
00065 public:
00066 static vtkImageRectilinearWipe *New();
00067 vtkTypeRevisionMacro(vtkImageRectilinearWipe,vtkImageTwoInputFilter);
00068 void PrintSelf(ostream& os, vtkIndent indent);
00069
00071
00072 vtkSetVector2Macro(Position,int);
00073 vtkGetVectorMacro(Position,int,2);
00075
00077
00091 vtkSetClampMacro(Wipe,int,
00092 VTK_WIPE_QUAD,VTK_WIPE_UPPER_RIGHT);
00093 vtkGetMacro(Wipe,int);
00094 void SetWipeToQuad()
00095 {this->SetWipe(VTK_WIPE_QUAD);}
00096 void SetWipeToHorizontal()
00097 {this->SetWipe(VTK_WIPE_HORIZONTAL);}
00098 void SetWipeToVertical()
00099 {this->SetWipe(VTK_WIPE_VERTICAL);}
00100 void SetWipeToLowerLeft()
00101 {this->SetWipe(VTK_WIPE_LOWER_LEFT);}
00102 void SetWipeToLowerRight()
00103 {this->SetWipe(VTK_WIPE_LOWER_RIGHT);}
00104 void SetWipeToUpperLeft()
00105 {this->SetWipe(VTK_WIPE_UPPER_LEFT);}
00106 void SetWipeToUpperRight()
00107 {this->SetWipe(VTK_WIPE_UPPER_RIGHT);}
00109
00110 protected:
00111 vtkImageRectilinearWipe();
00112 ~vtkImageRectilinearWipe() {};
00113
00114 void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00115 int extent[6], int id);
00116 int Position[2];
00117 int Wipe;
00118 private:
00119 vtkImageRectilinearWipe(const vtkImageRectilinearWipe&);
00120 void operator=(const vtkImageRectilinearWipe&);
00121 };
00122
00123 #endif