VTK  9.1.0
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=========================================================================*/
127#ifndef vtkTransformFilter_h
128#define vtkTransformFilter_h
129
130#include "vtkFiltersGeneralModule.h" // For export macro
131#include "vtkPointSetAlgorithm.h"
132
134
135class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
136{
137public:
140 void PrintSelf(ostream& os, vtkIndent indent) override;
141
146
148
152 vtkGetObjectMacro(Transform, vtkAbstractTransform);
154
155 int FillInputPortInformation(int port, vtkInformation* info) override;
156
158
163 vtkSetMacro(OutputPointsPrecision, int);
164 vtkGetMacro(OutputPointsPrecision, int);
166
168
173 vtkSetMacro(TransformAllInputVectors, bool);
174 vtkGetMacro(TransformAllInputVectors, bool);
175 vtkBooleanMacro(TransformAllInputVectors, bool);
177
178protected:
181
183 vtkInformationVector* outputVector) override;
185
187
191
192private:
193 vtkTransformFilter(const vtkTransformFilter&) = delete;
194 void operator=(const vtkTransformFilter&) = delete;
195};
196
197#endif
superclass for all geometric transformations
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
a simple class to control print indentation
Definition: vtkIndent.h:113
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()
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
Methods invoked by print to print information about the object including superclasses.
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:287