|
6 | 6 | #include <nanobind/stl/vector.h> |
7 | 7 | #include <nanobind/trampoline.h> |
8 | 8 |
|
| 9 | +#include "ImageMetadata.h" |
9 | 10 | #include "MMCore.h" |
10 | 11 | #include "MMEventCallback.h" |
11 | 12 | #include "ModuleInterface.h" |
@@ -1121,6 +1122,19 @@ MMCore will send notifications on internal events using this interface |
1121 | 1122 | "dExp"_a RGIL) |
1122 | 1123 | .def("getExposure", nb::overload_cast<>(&CMMCore::getExposure) RGIL) |
1123 | 1124 | .def("getExposure", nb::overload_cast<const char *>(&CMMCore::getExposure), "label"_a RGIL) |
| 1125 | + |
| 1126 | + .def("getBinning", nb::overload_cast<>(&CMMCore::getBinning) RGIL) |
| 1127 | + .def("getBinning", nb::overload_cast<const char *>(&CMMCore::getBinning), "label"_a RGIL) |
| 1128 | + .def("getAllowedBinningValues", nb::overload_cast<>(&CMMCore::getAllowedBinningValues) RGIL) |
| 1129 | + .def("getAllowedBinningValues", |
| 1130 | + nb::overload_cast<const char *>(&CMMCore::getAllowedBinningValues), |
| 1131 | + "label"_a RGIL) |
| 1132 | + .def("setBinning", nb::overload_cast<long>(&CMMCore::setBinning), "binning"_a RGIL) |
| 1133 | + .def("setBinning", |
| 1134 | + nb::overload_cast<const char *, long>(&CMMCore::setBinning), |
| 1135 | + "label"_a, |
| 1136 | + "binning"_a RGIL) |
| 1137 | + |
1124 | 1138 | .def("snapImage", &CMMCore::snapImage RGIL) |
1125 | 1139 | .def( |
1126 | 1140 | "getImage", |
@@ -1373,6 +1387,8 @@ MMCore will send notifications on internal events using this interface |
1373 | 1387 | .def("setFocusDirection", &CMMCore::setFocusDirection, "stageLabel"_a, "sign"_a RGIL) |
1374 | 1388 | .def("getFocusDirection", &CMMCore::getFocusDirection, "stageLabel"_a RGIL) |
1375 | 1389 |
|
| 1390 | + .def("isStageUsingCallbacks", &CMMCore::isStageUsingCallbacks, "stageLabel"_a RGIL) |
| 1391 | + |
1376 | 1392 | // Stage Sequence Methods |
1377 | 1393 | .def("isStageSequenceable", &CMMCore::isStageSequenceable, "stageLabel"_a RGIL) |
1378 | 1394 | .def("isStageLinearSequenceable", &CMMCore::isStageLinearSequenceable, "stageLabel"_a RGIL) |
@@ -1455,6 +1471,8 @@ MMCore will send notifications on internal events using this interface |
1455 | 1471 | "newXUm"_a, |
1456 | 1472 | "newYUm"_a RGIL) |
1457 | 1473 |
|
| 1474 | + .def("isXYStageUsingCallbacks", &CMMCore::isXYStageUsingCallbacks, "xyStageLabel"_a RGIL) |
| 1475 | + |
1458 | 1476 | // XY Stage Sequence Methods |
1459 | 1477 | .def("isXYStageSequenceable", &CMMCore::isXYStageSequenceable, "xyStageLabel"_a RGIL) |
1460 | 1478 | .def("startXYStageSequence", &CMMCore::startXYStageSequence, "xyStageLabel"_a RGIL) |
|
0 commit comments