25 #include <pybind11/pybind11.h> 26 #include <pybind11/stl.h> 38 py::module::import(
"astshim.mapping");
40 py::class_<LutMap, std::shared_ptr<LutMap>, Mapping>
cls(mod,
"LutMap");
43 "inc"_a,
"options"_a =
"");
44 cls.def(py::init<LutMap const &>());
46 cls.def_property_readonly(
"lutEpsilon", &LutMap::getLutEpsilon);
47 cls.def_property_readonly(
"lutInterp", &LutMap::getLutInterp);
49 cls.def(
"copy", &LutMap::copy);
AST wrapper classes and functions.
PYBIND11_MODULE(camera, mod)