1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- m.def("parula", []
- (
- const double f
- )
- {
- double r, g, b;
- igl::parula(f, r, g, b);
- return std::make_tuple(r,g,b);
- }, __doc_igl_parula,
- py::arg("f"));
- m.def("parula", []
- (
- const double f,
- double & r,
- double & g,
- double & b
- )
- {
- return igl::parula(f, r, g, b);
- }, __doc_igl_parula,
- py::arg("f"), py::arg("r"), py::arg("g"), py::arg("b"));
- m.def("parula", []
- (
- const Eigen::MatrixXd& Z,
- const bool normalize,
- Eigen::MatrixXd& C
- )
- {
- assert_is_VectorX("Z",Z);
- return igl::parula(Z, normalize, C);
- }, __doc_igl_parula,
- py::arg("Z"), py::arg("normalize"), py::arg("C"));
- m.def("parula", []
- (
- const Eigen::MatrixXd& Z,
- const double min_Z,
- const double max_Z,
- Eigen::MatrixXd& C
- )
- {
- assert_is_VectorX("Z",Z);
- return igl::parula(Z, min_Z, max_Z, C);
- }, __doc_igl_parula,
- py::arg("Z"), py::arg("min_Z"), py::arg("max_Z"), py::arg("C"));
|