VTK  9.2.5
vtkMatrixToLinearTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMatrixToLinearTransform.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 =========================================================================*/
15 
32 #ifndef vtkMatrixToLinearTransform_h
33 #define vtkMatrixToLinearTransform_h
34 
35 #include "vtkCommonTransformsModule.h" // For export macro
36 #include "vtkLinearTransform.h"
37 
38 class vtkMatrix4x4;
39 
40 class VTKCOMMONTRANSFORMS_EXPORT vtkMatrixToLinearTransform : public vtkLinearTransform
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
52  virtual void SetInput(vtkMatrix4x4*);
53  vtkGetObjectMacro(Input, vtkMatrix4x4);
55 
60  void Inverse() override;
61 
65  vtkMTimeType GetMTime() override;
66 
71 
72 protected:
75 
76  void InternalUpdate() override;
77  void InternalDeepCopy(vtkAbstractTransform* transform) override;
78 
81 
82 private:
84  void operator=(const vtkMatrixToLinearTransform&) = delete;
85 };
86 
87 #endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:119
abstract superclass for linear transformations
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:151
convert a matrix to a transform
void InternalUpdate() override
Perform any subclass-specific Update.
virtual void SetInput(vtkMatrix4x4 *)
Set the input matrix.
vtkAbstractTransform * MakeTransform() override
Make a new transform of the same type.
~vtkMatrixToLinearTransform() override
static vtkMatrixToLinearTransform * New()
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287