VTK
dox/Graphics/vtkTransformFilter.h
Go to the documentation of this file.
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 "vtkPointSetAlgorithm.h"
00044 
00045 class vtkAbstractTransform;
00046 
00047 class VTK_GRAPHICS_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
00048 {
00049 public:
00050   static vtkTransformFilter *New();
00051   vtkTypeMacro(vtkTransformFilter,vtkPointSetAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055   unsigned long GetMTime();
00056 
00058 
00059   virtual void SetTransform(vtkAbstractTransform*);
00060   vtkGetObjectMacro(Transform,vtkAbstractTransform);
00062 
00063   virtual int FillInputPortInformation(int port, vtkInformation *info);
00064 
00065 protected:
00066   vtkTransformFilter();
00067   ~vtkTransformFilter();
00068 
00069   int RequestDataObject(vtkInformation *request,
00070                         vtkInformationVector **inputVector,
00071                         vtkInformationVector *outputVector);
00072   int RequestData(vtkInformation *,
00073                   vtkInformationVector **,
00074                   vtkInformationVector *);
00075   vtkAbstractTransform *Transform;
00076 private:
00077   vtkTransformFilter(const vtkTransformFilter&);  // Not implemented.
00078   void operator=(const vtkTransformFilter&);  // Not implemented.
00079 };
00080 
00081 #endif