8 #include <pybind11/pybind11.h>
9 #include <pybind11/stl.h>
10 #include <pybind11/stl_bind.h>
15 using namespace pybind11::literals;
19 py::class_<ccInteractor>(m,
"ccInteractor")
void define_ccInteractor(py::module &m)
virtual bool acceptClick(int x, int y, Qt::MouseButton button)
Called on mouse click.
virtual bool move3D(const CCVector3d &u)
Called on mouse move (for 3D interactors)
virtual bool move2D(int x, int y, int dx, int dy, int screenWidth, int screenHeight)
Called on mouse move (for 2D interactors)
static double module(T *vector)