VTK  9.4.20250102
vtkMatrixToLinearTransform.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
3
20#ifndef vtkMatrixToLinearTransform_h
21#define vtkMatrixToLinearTransform_h
22
23#include "vtkCommonTransformsModule.h" // For export macro
24#include "vtkLinearTransform.h"
25
26VTK_ABI_NAMESPACE_BEGIN
27class vtkMatrix4x4;
28
29class VTKCOMMONTRANSFORMS_EXPORT vtkMatrixToLinearTransform : public vtkLinearTransform
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
41 virtual void SetInput(vtkMatrix4x4*);
42 vtkGetObjectMacro(Input, vtkMatrix4x4);
44
49 void Inverse() override;
50
55
60
61protected:
64
65 void InternalUpdate() override;
66 void InternalDeepCopy(vtkAbstractTransform* transform) override;
67
70
71private:
73 void operator=(const vtkMatrixToLinearTransform&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif
superclass for all geometric transformations
a simple class to control print indentation
Definition vtkIndent.h:108
abstract superclass for linear transformations
represent and manipulate 4x4 transformation matrices
convert a matrix to a transform
void InternalUpdate() override
Perform any subclass-specific Update.
virtual void SetInput(vtkMatrix4x4 *)
Set the input matrix.
~vtkMatrixToLinearTransform() override
vtkAbstractTransform * MakeTransform() override
Make a new transform of the same type.
void Inverse() override
The input matrix is left as-is, but the transformation matrix is inverted.
void InternalDeepCopy(vtkAbstractTransform *transform) override
Perform any subclass-specific DeepCopy.
vtkMTimeType GetMTime() override
Get the MTime: this is the bit of magic that makes everything work.
static vtkMatrixToLinearTransform * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270