VTK  9.5.20251201
vtkPointsMatchingTransformFilter.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
14
15#ifndef vtkPointsMatchingTransformFilter_h
16#define vtkPointsMatchingTransformFilter_h
17
18#include "vtkFiltersGeneralModule.h" // For export macro
20
21#include "vtkMatrix4x4.h" // For vtkMatrix4x4
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkMatrix3x3;
25
26class VTKFILTERSGENERAL_EXPORT vtkPointsMatchingTransformFilter : public vtkPointSetAlgorithm
27{
28public:
30
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
45 void SetSourcePoint1(double x, double y, double z);
46 void SetSourcePoint2(double x, double y, double z);
47 void SetSourcePoint3(double x, double y, double z);
48 void SetSourcePoint4(double x, double y, double z);
49 void SetTargetPoint1(double x, double y, double z);
50 void SetTargetPoint2(double x, double y, double z);
51 void SetTargetPoint3(double x, double y, double z);
52 void SetTargetPoint4(double x, double y, double z);
53 void SetSourcePoint(int index, double x, double y, double z);
54 void SetTargetPoint(int index, double x, double y, double z);
56
58
62 vtkGetObjectMacro(SourceMatrix, vtkMatrix4x4);
64
66
70 vtkGetObjectMacro(TargetMatrix, vtkMatrix4x4);
72
74
78 vtkSetMacro(RigidTransform, bool);
79 vtkGetMacro(RigidTransform, bool);
80 vtkBooleanMacro(RigidTransform, bool);
82
87
88protected:
91
93
94private:
96 void operator=(const vtkPointsMatchingTransformFilter&) = delete;
97
100 bool RigidTransform = false;
101};
102
103VTK_ABI_NAMESPACE_END
104#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3x3 transformation matrices
represent and manipulate 4x4 transformation matrices
~vtkPointsMatchingTransformFilter() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
void SetSourcePoint(int index, double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetSourcePoint2(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
vtkMTimeType GetMTime() override
Return the mtime also considering the source and target matrices.
void SetTargetPoint4(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetTargetPoint(int index, double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetTargetMatrix(vtkMatrix4x4 *)
Set/Get the target matrix.
void SetTargetPoint3(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetTargetPoint2(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetSourcePoint4(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetTargetPoint1(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetSourcePoint1(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
void SetSourcePoint3(double x, double y, double z)
Sets one of the four point pairs that define the transformation.
static vtkPointsMatchingTransformFilter * New()
Standard methods for instantiation, obtaining type information, and printing.
void SetSourceMatrix(vtkMatrix4x4 *)
Set/Get the source matrix.
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:322