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

Function GetNumberOfOutputs

Modules/ModelFit/include/mitkModelFitFunctorPolicy.h:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 ~ModelFitFunctorPolicy() {};
51
52 unsigned int GetNumberOfOutputs() const
53 {
54 unsigned int result = 0;
55
56 if (m_Functor.IsNotNull() && m_ModelParameterizer.IsNotNull())
57 {
58 ParameterizerType::ModelBasePointer tempModel = m_ModelParameterizer->GenerateParameterizedModel();
59 result = m_Functor->GetNumberOfOutputs(tempModel);
60 }
61
62 return result;
63 }
64
65 void SetModelFitFunctor(const mitk::ModelFitFunctorBase* functor)
66 {

Callers

nothing calls this directly

Calls 3

IsNotNullMethod · 0.80
GetNumberOfOutputsMethod · 0.45

Tested by

no test coverage detected