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

Method SetAlgorithmType

Modules/Multilabel/src/mitkLabel.cpp:434–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432};
433
434void mitk::Label::SetAlgorithmType(AlgorithmType algoType)
435{
436 std::string text = "";
437 if (algoType == AlgorithmType::MANUAL)
438 text = "MANUAL";
439 else if (algoType == AlgorithmType::SEMIAUTOMATIC)
440 text = "SEMIAUTOMATIC";
441 else if (algoType == AlgorithmType::AUTOMATIC)
442 text = "AUTOMATIC";
443
444 this->SetAlgorithmTypeStr(text);
445}
446
447void mitk::Label::SetAlgorithmTypeStr(const std::string& algoType)
448{

Calls 1

SetAlgorithmTypeStrMethod · 0.95