|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Centralized property conversion utilities for Python bindings. More...
#include <mitkBaseProperty.h>#include <mitkColorProperty.h>#include <mitkProperties.h>#include <mitkStringProperty.h>#include <pybind11/pybind11.h>Go to the source code of this file.
Namespaces | |
| mitk | |
| Find image slices visible on a given plane. | |
| mitk::python | |
Functions | |
| py::object | mitk::python::propertyToPythonValue (const mitk::BaseProperty &prop) |
| Converts a BaseProperty to its Python native value. More... | |
| py::dict | mitk::python::propertyToDict (const mitk::BaseProperty &prop) |
| mitk::BaseProperty::Pointer | mitk::python::dictToProperty (const py::dict &d) |
Centralized property conversion utilities for Python bindings.
This file uses a header-only approach for several important reasons:
Trade-off: Slightly increased compile times, but this is acceptable for the runtime robustness and maintainability benefits in this specific context.
Definition in file PropertyConversionUtils.h.