From 359f8215f466ccb49f6e053a8924c4deefc5a810 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 29 Sep 2014 19:01:32 +0200 Subject: [PATCH] libpython: bindings for BlackBodySpectrum --- src/libpython/core.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libpython/core.cpp b/src/libpython/core.cpp index 648c925f..62890f4a 100644 --- a/src/libpython/core.cpp +++ b/src/libpython/core.cpp @@ -1465,6 +1465,9 @@ void export_core() { .def("clear", &InterpolatedSpectrum::clear) .def("zeroExtend", &InterpolatedSpectrum::zeroExtend); + bp::class_, boost::noncopyable> + ("BlackBodySpectrum", bp::init()); + void (Bitmap::*accumulate_1)(const Bitmap *bitmap, Point2i sourceOffset, Point2i targetOffset, Vector2i size) = &Bitmap::accumulate; void (Bitmap::*accumulate_2)(const Bitmap *bitmap, Point2i targetOffset) = &Bitmap::accumulate; void (Bitmap::*accumulate_3)(const Bitmap *bitmap) = &Bitmap::accumulate;