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 00067 00070 vtkSetMacro(OutputPointsPrecision,int); 00071 vtkGetMacro(OutputPointsPrecision,int); 00073 00074 protected: 00075 vtkTransformFilter(); 00076 ~vtkTransformFilter(); 00077 00078 int RequestDataObject(vtkInformation *request, 00079 vtkInformationVector **inputVector, 00080 vtkInformationVector *outputVector); 00081 int RequestData(vtkInformation *, 00082 vtkInformationVector **, 00083 vtkInformationVector *); 00084 00085 vtkAbstractTransform *Transform; 00086 int OutputPointsPrecision; 00087 private: 00088 vtkTransformFilter(const vtkTransformFilter&); // Not implemented. 00089 void operator=(const vtkTransformFilter&); // Not implemented. 00090 }; 00091 00092 #endif