VTK  9.3.0
vtkTransformFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
32#ifndef vtkTransformFilter_h
33#define vtkTransformFilter_h
34
35#include "vtkFiltersGeneralModule.h" // For export macro
37
38VTK_ABI_NAMESPACE_BEGIN
40
41class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
42{
43public:
45
51 void PrintSelf(ostream& os, vtkIndent indent) override;
53
58
60
64 vtkGetObjectMacro(Transform, vtkAbstractTransform);
66
68
73 vtkSetMacro(OutputPointsPrecision, int);
74 vtkGetMacro(OutputPointsPrecision, int);
76
78
84 vtkSetMacro(TransformAllInputVectors, bool);
85 vtkGetMacro(TransformAllInputVectors, bool);
86 vtkBooleanMacro(TransformAllInputVectors, bool);
88
89protected:
92
94 vtkInformationVector* outputVector) override;
96
97 // Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
98 // and vtkRectilinearGrid.
99 int FillInputPortInformation(int port, vtkInformation* info) override;
100
102
106
107private:
108 vtkTransformFilter(const vtkTransformFilter&) = delete;
109 void operator=(const vtkTransformFilter&) = delete;
110};
111
112VTK_ABI_NAMESPACE_END
113#endif
superclass for all geometric transformations
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
transform points and associated normals and vectors
~vtkTransformFilter() override
vtkAbstractTransform * Transform
static vtkTransformFilter * New()
Standard methods for instantiation, obtaining type information, and printing.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
vtkDataArray * CreateNewDataArray(vtkDataArray *input=nullptr)
virtual void SetTransform(vtkAbstractTransform *)
Specify the transform object used to transform points.
vtkMTimeType GetMTime() override
Return the MTime also considering the transform.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270