8 #include <pybind11/pybind11.h>
9 #include <pybind11/stl.h>
10 #include <pybind11/stl_bind.h>
15 #include "../casters.h"
18 using namespace pybind11::literals;
22 py::class_<ecvProgressDialog, QProgressDialog, cloudViewer::GenericProgressCallback>(
23 m,
"ccProgressDialog")
24 .def(py::init<bool>(),
"cancelButton"_a =
false)
25 .def(
"setMethodTitle",
void define_ccProgressDialog(py::module &m)
Graphical progress indicator (thread-safe)
virtual void setInfo(const char *infoStr) override
Notifies some information about the ongoing process.
virtual void setMethodTitle(const char *methodTitle) override
Notifies the algorithm title.