VTK
|
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 "vtkFiltersGeneralModule.h" // For export macro 00046 #include "vtkPolyDataAlgorithm.h" 00047 00048 class vtkAbstractTransform; 00049 00050 class VTKFILTERSGENERAL_EXPORT vtkTransformPolyDataFilter : public vtkPolyDataAlgorithm 00051 { 00052 public: 00053 static vtkTransformPolyDataFilter *New(); 00054 vtkTypeMacro(vtkTransformPolyDataFilter,vtkPolyDataAlgorithm); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00058 unsigned long GetMTime(); 00059 00061 00062 virtual void SetTransform(vtkAbstractTransform*); 00063 vtkGetObjectMacro(Transform,vtkAbstractTransform); 00065 00067 00070 vtkSetMacro(OutputPointsPrecision,int); 00071 vtkGetMacro(OutputPointsPrecision,int); 00073 00074 protected: 00075 vtkTransformPolyDataFilter(); 00076 ~vtkTransformPolyDataFilter(); 00077 00078 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00079 00080 vtkAbstractTransform *Transform; 00081 int OutputPointsPrecision; 00082 private: 00083 vtkTransformPolyDataFilter(const vtkTransformPolyDataFilter&); // Not implemented. 00084 void operator=(const vtkTransformPolyDataFilter&); // Not implemented. 00085 }; 00086 00087 #endif