00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTransformPolyDataFilter.h 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 =========================================================================*/ 00042 #ifndef __vtkTransformPolyDataFilter_h 00043 #define __vtkTransformPolyDataFilter_h 00044 00045 #include "vtkPolyDataAlgorithm.h" 00046 00047 class vtkAbstractTransform; 00048 00049 class VTK_GRAPHICS_EXPORT vtkTransformPolyDataFilter : public vtkPolyDataAlgorithm 00050 { 00051 public: 00052 static vtkTransformPolyDataFilter *New(); 00053 vtkTypeMacro(vtkTransformPolyDataFilter,vtkPolyDataAlgorithm); 00054 void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 unsigned long GetMTime(); 00058 00060 00061 virtual void SetTransform(vtkAbstractTransform*); 00062 vtkGetObjectMacro(Transform,vtkAbstractTransform); 00064 00065 protected: 00066 vtkTransformPolyDataFilter(); 00067 ~vtkTransformPolyDataFilter(); 00068 00069 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00070 vtkAbstractTransform *Transform; 00071 private: 00072 vtkTransformPolyDataFilter(const vtkTransformPolyDataFilter&); // Not implemented. 00073 void operator=(const vtkTransformPolyDataFilter&); // Not implemented. 00074 }; 00075 00076 #endif