VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTransformFilter.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 =========================================================================*/ 00040 #ifndef __vtkTransformFilter_h 00041 #define __vtkTransformFilter_h 00042 00043 #include "vtkFiltersGeneralModule.h" // For export macro 00044 #include "vtkPointSetAlgorithm.h" 00045 00046 class vtkAbstractTransform; 00047 00048 class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm 00049 { 00050 public: 00051 static vtkTransformFilter *New(); 00052 vtkTypeMacro(vtkTransformFilter,vtkPointSetAlgorithm); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 unsigned long GetMTime(); 00057 00059 00060 virtual void SetTransform(vtkAbstractTransform*); 00061 vtkGetObjectMacro(Transform,vtkAbstractTransform); 00063 00064 virtual int FillInputPortInformation(int port, vtkInformation *info); 00065 00066 protected: 00067 vtkTransformFilter(); 00068 ~vtkTransformFilter(); 00069 00070 int RequestDataObject(vtkInformation *request, 00071 vtkInformationVector **inputVector, 00072 vtkInformationVector *outputVector); 00073 int RequestData(vtkInformation *, 00074 vtkInformationVector **, 00075 vtkInformationVector *); 00076 vtkAbstractTransform *Transform; 00077 private: 00078 vtkTransformFilter(const vtkTransformFilter&); // Not implemented. 00079 void operator=(const vtkTransformFilter&); // Not implemented. 00080 }; 00081 00082 #endif