VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkTransformFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransformFilter.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 =========================================================================*/
40 #ifndef __vtkTransformFilter_h
41 #define __vtkTransformFilter_h
42 
43 #include "vtkFiltersGeneralModule.h" // For export macro
44 #include "vtkPointSetAlgorithm.h"
45 
46 class vtkAbstractTransform;
47 
48 class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
49 {
50 public:
51  static vtkTransformFilter *New();
52  vtkTypeMacro(vtkTransformFilter,vtkPointSetAlgorithm);
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  unsigned long GetMTime();
57 
59 
60  virtual void SetTransform(vtkAbstractTransform*);
61  vtkGetObjectMacro(Transform,vtkAbstractTransform);
63 
64  virtual int FillInputPortInformation(int port, vtkInformation *info);
65 
66 protected:
69 
70  int RequestDataObject(vtkInformation *request,
71  vtkInformationVector **inputVector,
72  vtkInformationVector *outputVector);
73  int RequestData(vtkInformation *,
74  vtkInformationVector **,
75  vtkInformationVector *);
76  vtkAbstractTransform *Transform;
77 private:
78  vtkTransformFilter(const vtkTransformFilter&); // Not implemented.
79  void operator=(const vtkTransformFilter&); // Not implemented.
80 };
81 
82 #endif
vtkAbstractTransform * Transform
transform points and associated normals and vectors