VTK
9.5.20251124
Filters
General
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
140
141
#ifndef vtkTransformFilter_h
142
#define vtkTransformFilter_h
143
144
#include "vtkFiltersGeneralModule.h"
// For export macro
145
#include "
vtkPointSetAlgorithm.h
"
146
147
VTK_ABI_NAMESPACE_BEGIN
148
class
vtkAbstractTransform
;
149
150
class
VTKFILTERSGENERAL_EXPORT
vtkTransformFilter
:
public
vtkPointSetAlgorithm
151
{
152
public
:
154
158
static
vtkTransformFilter
*
New
();
159
vtkTypeMacro(
vtkTransformFilter
,
vtkPointSetAlgorithm
);
160
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
162
166
vtkMTimeType
GetMTime
()
override
;
167
169
172
virtual
void
SetTransform
(
vtkAbstractTransform
*);
173
vtkGetObjectMacro(
Transform
,
vtkAbstractTransform
);
175
177
182
vtkSetMacro(
OutputPointsPrecision
,
int
);
183
vtkGetMacro(
OutputPointsPrecision
,
int
);
185
187
193
vtkSetMacro(
TransformAllInputVectors
,
bool
);
194
vtkGetMacro(
TransformAllInputVectors
,
bool
);
195
vtkBooleanMacro(
TransformAllInputVectors
,
bool
);
197
198
protected
:
199
vtkTransformFilter
();
200
~vtkTransformFilter
()
override
;
201
202
int
RequestDataObject
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
203
vtkInformationVector
* outputVector)
override
;
204
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
205
206
// Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
207
// and vtkRectilinearGrid.
208
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
209
210
vtkDataArray
*
CreateNewDataArray
(
vtkDataArray
* input =
nullptr
);
211
212
vtkAbstractTransform
*
Transform
;
213
int
OutputPointsPrecision
;
214
bool
TransformAllInputVectors
;
215
216
private
:
217
vtkTransformFilter
(
const
vtkTransformFilter
&) =
delete
;
218
void
operator=(
const
vtkTransformFilter
&) =
delete
;
219
};
220
221
VTK_ABI_NAMESPACE_END
222
#endif
vtkAbstractTransform
superclass for all geometric transformations
Definition
vtkAbstractTransform.h:40
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkPointSetAlgorithm::vtkPointSetAlgorithm
vtkPointSetAlgorithm()
vtkTransformFilter::~vtkTransformFilter
~vtkTransformFilter() override
vtkTransformFilter::Transform
vtkAbstractTransform * Transform
Definition
vtkTransformFilter.h:212
vtkTransformFilter::New
static vtkTransformFilter * New()
Standard methods for instantiation, obtaining type information, and printing.
vtkTransformFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTransformFilter::vtkTransformFilter
vtkTransformFilter()
vtkTransformFilter::TransformAllInputVectors
bool TransformAllInputVectors
Definition
vtkTransformFilter.h:214
vtkTransformFilter::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTransformFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTransformFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
vtkTransformFilter::OutputPointsPrecision
int OutputPointsPrecision
Definition
vtkTransformFilter.h:213
vtkTransformFilter::CreateNewDataArray
vtkDataArray * CreateNewDataArray(vtkDataArray *input=nullptr)
vtkTransformFilter::SetTransform
virtual void SetTransform(vtkAbstractTransform *)
Specify the transform object used to transform points.
vtkTransformFilter::GetMTime
vtkMTimeType GetMTime() override
Return the MTime also considering the transform.
vtkDataArray
#define vtkDataArray
Definition
vtkCharArray.h:59
vtkPointSetAlgorithm.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:322
Generated on Mon Nov 24 2025 08:32:11 for VTK by
1.13.2