| 68 | } |
| 69 | |
| 70 | void CreateParentDirectories(const fs::path& path) |
| 71 | { |
| 72 | if (path.has_parent_path()) |
| 73 | { |
| 74 | auto parentPath = path.parent_path(); |
| 75 | |
| 76 | if (!fs::exists(parentPath)) |
| 77 | fs::create_directories(parentPath); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | bool SetLabelName(const mitk::IPropertyProvider* propertyProvider, mitk::Label* label) |
| 82 | { |