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

Method GetDataDirection

IO/Image/vtkImageExport.cxx:631–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631double* vtkImageExport::GetDataDirection()
632{
633 static double defaultdirection[9] = { 1, 0, 0, 0, 1, 0, 0, 0, 1 };
634 if (this->GetInputAlgorithm() == nullptr)
635 {
636 return defaultdirection;
637 }
638 this->GetInputAlgorithm()->UpdateInformation();
639 return this->GetInputInformation()->Get(vtkDataObject::DIRECTION());
640}
641
642void vtkImageExport::GetDataDirection(double* ptr)
643{

Callers 1

DirectionCallbackMethod · 0.95

Calls 4

GetInputAlgorithmMethod · 0.95
GetInputInformationMethod · 0.95
UpdateInformationMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected