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

Method SetDirectionMatrix

Common/DataModel/vtkImageData.cxx:1543–1553  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1541
1542//------------------------------------------------------------------------------
1543void vtkImageData::SetDirectionMatrix(vtkMatrix3x3* m)
1544{
1545 vtkMTimeType lastModified = this->GetMTime();
1546 vtkSetObjectBodyMacro(DirectionMatrix, vtkMatrix3x3, m);
1547 if (lastModified < this->GetMTime())
1548 {
1549 this->ComputeTransforms();
1550 this->BuildPoints();
1551 this->Modified();
1552 }
1553}
1554
1555//------------------------------------------------------------------------------
1556void vtkImageData::SetDirectionMatrix(const double elements[9])

Callers 15

DoOrientationTestFunction · 0.80
DoTestFunction · 0.80
ImagePlaneWidgetOrientedFunction · 0.80
RequestDataImplMethod · 0.80
TestExtractVOI.pyFile · 0.80
TestInformationInputFunction · 0.80
TestCenterFunction · 0.80
TestImageWithDirectionFunction · 0.80

Calls 5

ComputeTransformsMethod · 0.95
BuildPointsMethod · 0.95
GetMTimeMethod · 0.45
ModifiedMethod · 0.45
SetElementMethod · 0.45

Tested by 9

DoOrientationTestFunction · 0.64
DoTestFunction · 0.64
TestInformationInputFunction · 0.64
TestCenterFunction · 0.64
TestImageWithDirectionFunction · 0.64
TestDataSetFailuresFunction · 0.64
TestImageDataToPointSetFunction · 0.64