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

Method SetMatrix

IO/Export/vtkSVGContextDevice2D.cxx:1495–1506  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1493
1494//------------------------------------------------------------------------------
1495void vtkSVGContextDevice2D::SetMatrix(vtkMatrix3x3* m)
1496{
1497 // Adjust the transform to account for the fact that SVG's y-axis is reversed:
1498 std::array<double, 9> mat3;
1499 vtkSVGContextDevice2D::AdjustMatrixForSVG(m->GetData(), mat3.data());
1500
1501 std::array<double, 16> mat4;
1502 vtkSVGContextDevice2D::Matrix3ToMatrix4(mat3.data(), mat4.data());
1503
1504 this->Matrix->SetMatrix(mat4.data());
1505 this->ApplyTransform();
1506}
1507
1508//------------------------------------------------------------------------------
1509void vtkSVGContextDevice2D::GetMatrix(vtkMatrix3x3* mat3)

Callers 15

WriteAnActorMethod · 0.45
WriteAnActorMethod · 0.45
WriteAnActorMethod · 0.45
WriteAnActorMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
AddLabelFunction · 0.45
ReadTilesMethod · 0.45
ApplyTransformToCameraFunction · 0.45

Calls 3

ApplyTransformMethod · 0.95
GetDataMethod · 0.45
dataMethod · 0.45

Tested by 2