MCPcopy Create free account
hub / github.com/Kitware/VTK / InternalUpdate

Method InternalUpdate

Common/Transforms/vtkMatrixToLinearTransform.cxx:43–57  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

41
42//------------------------------------------------------------------------------
43void vtkMatrixToLinearTransform::InternalUpdate()
44{
45 if (this->Input)
46 {
47 this->Matrix->DeepCopy(this->Input);
48 if (this->InverseFlag)
49 {
50 this->Matrix->Invert();
51 }
52 }
53 else
54 {
55 this->Matrix->Identity();
56 }
57}
58
59//------------------------------------------------------------------------------
60void vtkMatrixToLinearTransform::InternalDeepCopy(vtkAbstractTransform* gtrans)

Callers

nothing calls this directly

Calls 3

DeepCopyMethod · 0.45
InvertMethod · 0.45
IdentityMethod · 0.45

Tested by

no test coverage detected