VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Transforms
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
29
#ifndef vtkMatrixToLinearTransform_h
30
#define vtkMatrixToLinearTransform_h
31
32
#include "vtkCommonTransformsModule.h"
// For export macro
33
#include "
vtkLinearTransform.h
"
34
35
class
vtkMatrix4x4
;
36
37
class
VTKCOMMONTRANSFORMS_EXPORT
vtkMatrixToLinearTransform
:
public
vtkLinearTransform
38
{
39
public
:
40
static
vtkMatrixToLinearTransform
*
New
();
41
vtkTypeMacro(
vtkMatrixToLinearTransform
,
vtkLinearTransform
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
49
virtual
void
SetInput
(
vtkMatrix4x4
*);
50
vtkGetObjectMacro(Input,
vtkMatrix4x4
);
52
57
void
Inverse
()
override
;
58
62
vtkMTimeType
GetMTime
()
override
;
63
67
vtkAbstractTransform
*
MakeTransform
()
override
;
68
69
protected
:
70
vtkMatrixToLinearTransform
();
71
~vtkMatrixToLinearTransform
()
override
;
72
73
void
InternalUpdate
()
override
;
74
void
InternalDeepCopy
(
vtkAbstractTransform
* transform)
override
;
75
76
int
InverseFlag
;
77
vtkMatrix4x4
*
Input
;
78
79
private
:
80
vtkMatrixToLinearTransform
(
const
vtkMatrixToLinearTransform
&) =
delete
;
81
void
operator=(
const
vtkMatrixToLinearTransform
&) =
delete
;
82
};
83
84
#endif
vtkAbstractTransform
superclass for all geometric transformations
Definition:
vtkAbstractTransform.h:52
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkLinearTransform
abstract superclass for linear transformations
Definition:
vtkLinearTransform.h:69
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition:
vtkMatrix4x4.h:145
vtkMatrixToLinearTransform
convert a matrix to a transform
Definition:
vtkMatrixToLinearTransform.h:38
vtkMatrixToLinearTransform::Input
vtkMatrix4x4 * Input
Definition:
vtkMatrixToLinearTransform.h:77
vtkMatrixToLinearTransform::InternalUpdate
void InternalUpdate() override
Perform any subclass-specific Update.
vtkMatrixToLinearTransform::SetInput
virtual void SetInput(vtkMatrix4x4 *)
Set the input matrix.
vtkMatrixToLinearTransform::~vtkMatrixToLinearTransform
~vtkMatrixToLinearTransform() override
vtkMatrixToLinearTransform::MakeTransform
vtkAbstractTransform * MakeTransform() override
Make a new transform of the same type.
vtkMatrixToLinearTransform::vtkMatrixToLinearTransform
vtkMatrixToLinearTransform()
vtkMatrixToLinearTransform::Inverse
void Inverse() override
The input matrix is left as-is, but the transformation matrix is inverted.
vtkMatrixToLinearTransform::InternalDeepCopy
void InternalDeepCopy(vtkAbstractTransform *transform) override
Perform any subclass-specific DeepCopy.
vtkMatrixToLinearTransform::GetMTime
vtkMTimeType GetMTime() override
Get the MTime: this is the bit of magic that makes everything work.
vtkMatrixToLinearTransform::InverseFlag
int InverseFlag
Definition:
vtkMatrixToLinearTransform.h:76
vtkMatrixToLinearTransform::New
static vtkMatrixToLinearTransform * New()
vtkMatrixToLinearTransform::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLinearTransform.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:287
Generated on Fri Apr 21 2023 10:28:44 for VTK by
1.9.6