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

Method GetDataNumberOfScalarComponents

IO/Image/vtkImageExport.cxx:545–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545int vtkImageExport::GetDataNumberOfScalarComponents()
546{
547 if (this->GetInputAlgorithm() == nullptr)
548 {
549 return 1;
550 }
551 this->GetInputAlgorithm()->UpdateInformation();
552 return vtkImageData::GetNumberOfScalarComponents(this->GetExecutive()->GetInputInformation(0, 0));
553}
554
555int vtkImageExport::GetDataScalarType()
556{

Callers 1

Calls 4

GetInputAlgorithmMethod · 0.95
UpdateInformationMethod · 0.45
GetInputInformationMethod · 0.45
GetExecutiveMethod · 0.45

Tested by

no test coverage detected