MCPcopy Create free account
hub / github.com/MITK/MITK / GetOptions

Method GetOptions

Modules/CEST/autoload/IO/mitkCESTGenericDICOMReaderService.cpp:231–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229
230
231 IFileIO::Options CESTDICOMManualReaderService::GetOptions() const
232 {
233 auto options = AbstractFileReader::GetOptions();
234 if (!this->GetInputLocation().empty())
235 {
236 auto fileOptions = ExtractOptionsFromFile(this->GetCESTMetaFilePath());
237
238 TransferOption(fileOptions, CEST_PROPERTY_NAME_B1Amplitude(), options, OPTION_NAME_B1());
239 TransferOption(fileOptions, CEST_PROPERTY_NAME_PULSEDURATION(), options, OPTION_NAME_PULSE());
240 TransferOption(fileOptions, CEST_PROPERTY_NAME_DutyCycle(), options, OPTION_NAME_DC());
241 TransferMergeOption(fileOptions, META_FILE_OPTION_NAME_MERGE(), options, OPTION_NAME_MERGE());
242 }
243 return options;
244 }
245
246 us::Any CESTDICOMManualReaderService::GetOption(const std::string& name) const
247 {

Callers 3

GetOptionMethod · 0.95
ReadMethod · 0.95
ReadMethod · 0.45

Calls 11

GetCESTMetaFilePathMethod · 0.95
ExtractOptionsFromFileFunction · 0.85
TransferOptionFunction · 0.85
OPTION_NAME_B1Function · 0.85
OPTION_NAME_PULSEFunction · 0.85
OPTION_NAME_DCFunction · 0.85
TransferMergeOptionFunction · 0.85
OPTION_NAME_MERGEFunction · 0.85
GetInputLocationMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected