18 #ifndef itkOptimizerParameters_h
19 #define itkOptimizerParameters_h
35 template <
typename TParametersValueType>
61 :
Array<TParametersValueType>(rhs)
74 :
Array<TParametersValueType>(dimension)
79 :
Array<TParametersValueType>(array)
84 :
Array<TParametersValueType>(dimension, value)
90 :
Array<TParametersValueType>(inputData, dimension)
111 if (m_Helper ==
nullptr)
113 itkGenericExceptionMacro(
"OptimizerParameters::MoveDataPointer: "
114 "m_Helper must be set.");
116 this->m_Helper->MoveDataPointer(
this, pointer);
127 if (m_Helper ==
nullptr)
129 itkGenericExceptionMacro(
"OptimizerParameters::SetParameterObject: "
130 "m_Helper must be set.");
132 this->m_Helper->SetParametersObject(
this,
object);
144 this->m_Helper.reset(helper);
148 OptimizerParametersHelperType *
151 return m_Helper.get();
164 this->ArrayType::operator=(rhs);
173 this->ArrayType::operator=(rhs);
181 this->ArrayType::operator=(rhs);
188 std::unique_ptr<OptimizerParametersHelperType> m_Helper =