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

Function SetRotationInMatrix4x4

Filters/General/vtkPointsMatchingTransformFilter.cxx:38–44  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36
37//------------------------------------------------------------------------------
38void SetRotationInMatrix4x4(vtkMatrix3x3* source, vtkMatrix4x4* dest)
39{
40 for (int i = 0; i < 9; ++i)
41 {
42 dest->SetElement(i / 3, i % 3, source->GetElement(i / 3, i % 3));
43 }
44}
45
46//------------------------------------------------------------------------------
47vtkSmartPointer<vtkMatrix3x3> PolarDecomposition(vtkMatrix3x3* M)

Callers 1

RequestDataMethod · 0.85

Calls 1

SetElementMethod · 0.45

Tested by

no test coverage detected