| 31 | void mitk::NonBlockingAlgorithm::SetDataStorage(DataStorage &storage) { m_DataStorage = &storage; } |
| 32 | DataStorage *mitk::NonBlockingAlgorithm::GetDataStorage() { return m_DataStorage.Lock(); } |
| 33 | void NonBlockingAlgorithm::Initialize(const NonBlockingAlgorithm *itkNotUsed(other)) |
| 34 | { |
| 35 | // define one input, one output basedata object |
| 36 | |
| 37 | // some basedata input - image, surface, whatever |
| 38 | BaseData::Pointer input; |
| 39 | SetPointerParameter("Input", input); |
| 40 | |
| 41 | // some basedata output |
| 42 | BaseData::Pointer output; |
| 43 | SetPointerParameter("Output", output); |
| 44 | } |
| 45 | |
| 46 | void NonBlockingAlgorithm::SetPointerParameter(const char *parameter, BaseData *value) |
| 47 | { |
nothing calls this directly
no test coverage detected