Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImageRectilinearWipe.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageRectilinearWipe.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 =========================================================================*/ 00049 #ifndef __vtkImageRectilinearWipe_h 00050 #define __vtkImageRectilinearWipe_h 00051 00052 #include "vtkImageTwoInputFilter.h" 00053 00054 #define VTK_WIPE_QUAD 0 00055 #define VTK_WIPE_HORIZONTAL 1 00056 #define VTK_WIPE_VERTICAL 2 00057 #define VTK_WIPE_LOWER_LEFT 3 00058 #define VTK_WIPE_LOWER_RIGHT 4 00059 #define VTK_WIPE_UPPER_LEFT 5 00060 #define VTK_WIPE_UPPER_RIGHT 6 00061 00062 class VTK_IMAGING_EXPORT vtkImageRectilinearWipe : public vtkImageTwoInputFilter 00063 { 00064 public: 00065 static vtkImageRectilinearWipe *New(); 00066 vtkTypeRevisionMacro(vtkImageRectilinearWipe,vtkImageTwoInputFilter); 00067 void PrintSelf(ostream& os, vtkIndent indent); 00068 00070 00071 vtkSetVector2Macro(Position,int); 00072 vtkGetVectorMacro(Position,int,2); 00074 00076 00090 vtkSetClampMacro(Wipe,int, 00091 VTK_WIPE_QUAD,VTK_WIPE_UPPER_RIGHT); 00092 vtkGetMacro(Wipe,int); 00093 void SetWipeToQuad() 00094 {this->SetWipe(VTK_WIPE_QUAD);} 00095 void SetWipeToHorizontal() 00096 {this->SetWipe(VTK_WIPE_HORIZONTAL);} 00097 void SetWipeToVertical() 00098 {this->SetWipe(VTK_WIPE_VERTICAL);} 00099 void SetWipeToLowerLeft() 00100 {this->SetWipe(VTK_WIPE_LOWER_LEFT);} 00101 void SetWipeToLowerRight() 00102 {this->SetWipe(VTK_WIPE_LOWER_RIGHT);} 00103 void SetWipeToUpperLeft() 00104 {this->SetWipe(VTK_WIPE_UPPER_LEFT);} 00105 void SetWipeToUpperRight() 00106 {this->SetWipe(VTK_WIPE_UPPER_RIGHT);} 00108 00109 protected: 00110 vtkImageRectilinearWipe(); 00111 ~vtkImageRectilinearWipe() {}; 00112 00113 void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData, 00114 int extent[6], int id); 00115 int Position[2]; 00116 int Wipe; 00117 private: 00118 vtkImageRectilinearWipe(const vtkImageRectilinearWipe&); // Not implemented. 00119 void operator=(const vtkImageRectilinearWipe&); // Not implemented. 00120 }; 00121 00122 #endif