00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTransformFilter.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 =========================================================================*/ 00050 #ifndef __vtkTransformFilter_h 00051 #define __vtkTransformFilter_h 00052 00053 #include "vtkPointSetToPointSetFilter.h" 00054 00055 class vtkAbstractTransform; 00056 00057 class VTK_GRAPHICS_EXPORT vtkTransformFilter : public vtkPointSetToPointSetFilter 00058 { 00059 public: 00060 static vtkTransformFilter *New(); 00061 vtkTypeRevisionMacro(vtkTransformFilter,vtkPointSetToPointSetFilter); 00062 void PrintSelf(ostream& os, vtkIndent indent); 00063 00065 unsigned long GetMTime(); 00066 00068 00069 virtual void SetTransform(vtkAbstractTransform*); 00070 vtkGetObjectMacro(Transform,vtkAbstractTransform); 00072 00073 protected: 00074 vtkTransformFilter(); 00075 ~vtkTransformFilter(); 00076 00077 void Execute(); 00078 vtkAbstractTransform *Transform; 00079 private: 00080 vtkTransformFilter(const vtkTransformFilter&); // Not implemented. 00081 void operator=(const vtkTransformFilter&); // Not implemented. 00082 }; 00083 00084 #endif