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

Method DirectionCallback

IO/Image/vtkImageExport.cxx:395–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395double* vtkImageExport::DirectionCallback()
396{
397 static double defaultdirection[3] = { 0.0 };
398 if (this->GetInputAlgorithm())
399 {
400 return this->GetDataDirection();
401 }
402 else if (!this->GetInput())
403 {
404 return defaultdirection;
405 }
406 else
407 {
408 return this->GetInput()->GetDirectionMatrix()->GetData();
409 }
410}
411
412const char* vtkImageExport::ScalarTypeCallback()
413{

Callers 1

Calls 4

GetInputAlgorithmMethod · 0.95
GetDataDirectionMethod · 0.95
GetInputMethod · 0.95
GetDataMethod · 0.45

Tested by

no test coverage detected