00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTransformPolyDataFilter.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 =========================================================================*/ 00055 #ifndef __vtkTransformPolyDataFilter_h 00056 #define __vtkTransformPolyDataFilter_h 00057 00058 #include "vtkPolyDataToPolyDataFilter.h" 00059 00060 class vtkAbstractTransform; 00061 00062 class VTK_GRAPHICS_EXPORT vtkTransformPolyDataFilter : public vtkPolyDataToPolyDataFilter 00063 { 00064 public: 00065 static vtkTransformPolyDataFilter *New(); 00066 vtkTypeRevisionMacro(vtkTransformPolyDataFilter,vtkPolyDataToPolyDataFilter); 00067 void PrintSelf(ostream& os, vtkIndent indent); 00068 00070 unsigned long GetMTime(); 00071 00073 00074 virtual void SetTransform(vtkAbstractTransform*); 00075 vtkGetObjectMacro(Transform,vtkAbstractTransform); 00077 00078 protected: 00079 vtkTransformPolyDataFilter(); 00080 ~vtkTransformPolyDataFilter(); 00081 00082 void Execute(); 00083 vtkAbstractTransform *Transform; 00084 private: 00085 vtkTransformPolyDataFilter(const vtkTransformPolyDataFilter&); // Not implemented. 00086 void operator=(const vtkTransformPolyDataFilter&); // Not implemented. 00087 }; 00088 00089 #endif 00090 00091