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 =========================================================================*/
53 #ifndef vtkTransformFilter_h
54 #define vtkTransformFilter_h
55 
56 #include "vtkFiltersGeneralModule.h" // For export macro
57 #include "vtkPointSetAlgorithm.h"
58 
60 
61 class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
62 {
63 public:
65 
71  void PrintSelf(ostream& os, vtkIndent indent) override;
73 
77  vtkMTimeType GetMTime() override;
78 
80 
84  vtkGetObjectMacro(Transform, vtkAbstractTransform);
86 
88 
93  vtkSetMacro(OutputPointsPrecision, int);
94  vtkGetMacro(OutputPointsPrecision, int);
96 
98 
104  vtkSetMacro(TransformAllInputVectors, bool);
105  vtkGetMacro(TransformAllInputVectors, bool);
106  vtkBooleanMacro(TransformAllInputVectors, bool);
108 
109 protected:
112 
114  vtkInformationVector* outputVector) override;
116 
117  // Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
118  // and vtkRectilinearGrid.
120 
122 
126 
127 private:
128  vtkTransformFilter(const vtkTransformFilter&) = delete;
129  void operator=(const vtkTransformFilter&) = delete;
130 };
131 
132 #endif
superclass for all geometric transformations
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:65
a simple class to control print indentation
Definition: vtkIndent.h:49
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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkTransformFilter * New()
Standard methods for instantiation, obtaining type information, and printing.
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.
virtual void SetTransform(vtkAbstractTransform *)
Specify the transform object used to transform points.
vtkMTimeType GetMTime() override
Return the MTime also considering the transform.
vtkDataArray * CreateNewDataArray(vtkDataArray *input=nullptr)
@ Transform
Definition: vtkX3D.h:47
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287