VTK
9.5.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
Examples
File List
File Members
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
31
32
#ifndef vtkTransformFilter_h
33
#define vtkTransformFilter_h
34
35
#include "vtkFiltersGeneralModule.h"
// For export macro
36
#include "
vtkPointSetAlgorithm.h
"
37
38
VTK_ABI_NAMESPACE_BEGIN
39
class
vtkAbstractTransform
;
40
41
class
VTKFILTERSGENERAL_EXPORT
vtkTransformFilter
:
public
vtkPointSetAlgorithm
42
{
43
public
:
45
49
static
vtkTransformFilter
*
New
();
50
vtkTypeMacro(
vtkTransformFilter
,
vtkPointSetAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
53
57
vtkMTimeType
GetMTime
()
override
;
58
60
63
virtual
void
SetTransform
(
vtkAbstractTransform
*);
64
vtkGetObjectMacro(
Transform
,
vtkAbstractTransform
);
66
68
73
vtkSetMacro(
OutputPointsPrecision
,
int
);
74
vtkGetMacro(
OutputPointsPrecision
,
int
);
76
78
84
vtkSetMacro(
TransformAllInputVectors
,
bool
);
85
vtkGetMacro(
TransformAllInputVectors
,
bool
);
86
vtkBooleanMacro(
TransformAllInputVectors
,
bool
);
88
89
protected
:
90
vtkTransformFilter
();
91
~vtkTransformFilter
()
override
;
92
93
int
RequestDataObject
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
94
vtkInformationVector
* outputVector)
override
;
95
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
96
97
// Specifies that the filter only takes input dataset types of vtkPointSet, vtkImageData,
98
// and vtkRectilinearGrid.
99
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
100
101
vtkDataArray
*
CreateNewDataArray
(
vtkDataArray
* input =
nullptr
);
102
103
vtkAbstractTransform
*
Transform
;
104
int
OutputPointsPrecision
;
105
bool
TransformAllInputVectors
;
106
107
private
:
108
vtkTransformFilter
(
const
vtkTransformFilter
&) =
delete
;
109
void
operator=(
const
vtkTransformFilter
&) =
delete
;
110
};
111
112
VTK_ABI_NAMESPACE_END
113
#endif
vtkAbstractTransform
superclass for all geometric transformations
Definition
vtkAbstractTransform.h:40
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:61
vtkPointSetAlgorithm::vtkPointSetAlgorithm
vtkPointSetAlgorithm()
vtkTransformFilter::~vtkTransformFilter
~vtkTransformFilter() override
vtkTransformFilter::Transform
vtkAbstractTransform * Transform
Definition
vtkTransformFilter.h:103
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:105
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
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:104
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:37
vtkPointSetAlgorithm.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:287
Generated on
for VTK by
1.15.0