VTK  9.4.20250205
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
131#ifndef vtkTransformFilter_h
132#define vtkTransformFilter_h
133
134#include "vtkFiltersGeneralModule.h" // For export macro
135#include "vtkPointSetAlgorithm.h"
136
137VTK_ABI_NAMESPACE_BEGIN
139
140class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
141{
142public:
144
150 void PrintSelf(ostream& os, vtkIndent indent) override;
152
157
159
163 vtkGetObjectMacro(Transform, vtkAbstractTransform);
165
167
172 vtkSetMacro(OutputPointsPrecision, int);
173 vtkGetMacro(OutputPointsPrecision, int);
175
177
183 vtkSetMacro(TransformAllInputVectors, bool);
184 vtkGetMacro(TransformAllInputVectors, bool);
185 vtkBooleanMacro(TransformAllInputVectors, bool);
187
188protected:
191
193 vtkInformationVector* outputVector) override;
195
196 // Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
197 // and vtkRectilinearGrid.
198 int FillInputPortInformation(int port, vtkInformation* info) override;
199
201
205
206private:
207 vtkTransformFilter(const vtkTransformFilter&) = delete;
208 void operator=(const vtkTransformFilter&) = delete;
209};
210
211VTK_ABI_NAMESPACE_END
212#endif
superclass for all geometric transformations
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:108
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