VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkTransformPolyDataFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransformPolyDataFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
42 #ifndef __vtkTransformPolyDataFilter_h
43 #define __vtkTransformPolyDataFilter_h
44 
45 #include "vtkFiltersGeneralModule.h" // For export macro
46 #include "vtkPolyDataAlgorithm.h"
47 
48 class vtkAbstractTransform;
49 
50 class VTKFILTERSGENERAL_EXPORT vtkTransformPolyDataFilter : public vtkPolyDataAlgorithm
51 {
52 public:
53  static vtkTransformPolyDataFilter *New();
54  vtkTypeMacro(vtkTransformPolyDataFilter,vtkPolyDataAlgorithm);
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58  unsigned long GetMTime();
59 
61 
62  virtual void SetTransform(vtkAbstractTransform*);
63  vtkGetObjectMacro(Transform,vtkAbstractTransform);
65 
66 protected:
69 
70  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
71  vtkAbstractTransform *Transform;
72 private:
73  vtkTransformPolyDataFilter(const vtkTransformPolyDataFilter&); // Not implemented.
74  void operator=(const vtkTransformPolyDataFilter&); // Not implemented.
75 };
76 
77 #endif
transform points and associated normals and vectors for polygonal dataset