VTK
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 =========================================================================*/
41 #ifndef vtkTransformFilter_h
42 #define vtkTransformFilter_h
43 
44 #include "vtkFiltersGeneralModule.h" // For export macro
45 #include "vtkPointSetAlgorithm.h"
46 
48 
49 class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
50 {
51 public:
52  static vtkTransformFilter *New();
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
59  vtkMTimeType GetMTime() VTK_OVERRIDE;
60 
62 
65  virtual void SetTransform(vtkAbstractTransform*);
66  vtkGetObjectMacro(Transform,vtkAbstractTransform);
68 
69  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
70 
72 
77  vtkSetMacro(OutputPointsPrecision,int);
78  vtkGetMacro(OutputPointsPrecision,int);
80 
81 protected:
83  ~vtkTransformFilter() VTK_OVERRIDE;
84 
85  int RequestDataObject(vtkInformation *request,
86  vtkInformationVector **inputVector,
87  vtkInformationVector *outputVector) VTK_OVERRIDE;
88  int RequestData(vtkInformation *,
90  vtkInformationVector *) VTK_OVERRIDE;
91 
92  vtkAbstractTransform *Transform;
93  int OutputPointsPrecision;
94 private:
95  vtkTransformFilter(const vtkTransformFilter&) VTK_DELETE_FUNCTION;
96  void operator=(const vtkTransformFilter&) VTK_DELETE_FUNCTION;
97 };
98 
99 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
a simple class to control print indentation
Definition: vtkIndent.h:39
superclass for all geometric transformations
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce output of the same type as input.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPointSetAlgorithm * New()
transform points and associated normals and vectors
Store zero or more vtkInformation instances.
Transform
Definition: ADIOSDefs.h:39