12 #ifndef mitkTwoCompartmentExchangeModelFactoryBase_h
13 #define mitkTwoCompartmentExchangeModelFactoryBase_h
21 template <
class TModelParameterizer>
28 itkFactorylessNewMacro(Self);
31 typedef typename Superclass::ModelType
ModelType;
39 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_ve, 0.0);
40 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_ve, 1.0);
41 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_vp, 0.0);
42 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_vp, 1.0);
45 indices.push_back(ModelType::POSITION_PARAMETER_ve);
46 indices.push_back(ModelType::POSITION_PARAMETER_vp);
48 constraints->SetUpperSumBarrier(indices, 1.0);
50 return constraints.GetPointer();
56 ModelParameterizerType::New();
58 return modelParameterizer->GetDefaultInitialParameterization();
75 void operator=(
const Self&);