| 125 | */ |
| 126 | template <typename T> |
| 127 | void SetPointerParameter(const char *parameter, const itk::SmartPointer<T> &value) |
| 128 | { |
| 129 | // MITK_INFO << this << "->SetParameter smartpointer(" << parameter << ") " << typeid(itk::SmartPointer<T>).name() |
| 130 | // << std::endl; |
| 131 | m_ParameterListMutex.lock(); |
| 132 | m_Parameters->SetProperty(parameter, SmartPointerProperty::New(value.GetPointer())); |
| 133 | m_ParameterListMutex.unlock(); |
| 134 | } |
| 135 | // virtual void SetParameter( const char*, mitk::BaseProperty* ); // for "number of iterations", ... |
| 136 | // create some property observing to inform algorithm object about changes |
| 137 | // perhaps some TriggerParameter(string) macro that creates an observer for changes in a specific property like |
no test coverage detected