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

Method NumberOfComponentsCallback

IO/Image/vtkImageExport.cxx:482–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482int vtkImageExport::NumberOfComponentsCallback()
483{
484 if (!this->GetInput())
485 {
486 return 1;
487 }
488 else if (this->GetInputAlgorithm())
489 {
490 return this->GetDataNumberOfScalarComponents();
491 }
492 else
493 {
494 return this->GetInput()->GetNumberOfScalarComponents();
495 }
496}
497
498void vtkImageExport::PropagateUpdateExtentCallback(int* extent)
499{

Callers 1

Calls 4

GetInputMethod · 0.95
GetInputAlgorithmMethod · 0.95

Tested by

no test coverage detected