VTK  9.2.6
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=========================================================================*/
38#ifndef vtkTransformFilter_h
39#define vtkTransformFilter_h
40
41#include "vtkFiltersGeneralModule.h" // For export macro
43
45
46class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
47{
48public:
50
56 void PrintSelf(ostream& os, vtkIndent indent) override;
58
63
65
69 vtkGetObjectMacro(Transform, vtkAbstractTransform);
71
73
78 vtkSetMacro(OutputPointsPrecision, int);
79 vtkGetMacro(OutputPointsPrecision, int);
81
83
89 vtkSetMacro(TransformAllInputVectors, bool);
90 vtkGetMacro(TransformAllInputVectors, bool);
91 vtkBooleanMacro(TransformAllInputVectors, bool);
93
94protected:
97
99 vtkInformationVector* outputVector) override;
101
102 // Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
103 // and vtkRectilinearGrid.
104 int FillInputPortInformation(int port, vtkInformation* info) override;
105
107
111
112private:
113 vtkTransformFilter(const vtkTransformFilter&) = delete;
114 void operator=(const vtkTransformFilter&) = delete;
115};
116
117#endif
superclass for all geometric transformations
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:34
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:287