1 #include <boost/python.hpp>
2 #include <boost/python/register_ptr_to_python.hpp>
3 using namespace boost::python;
5 #include <boost/shared_ptr.hpp>
7 #include "alg/annotation_colors.hpp"
9 void export_annotation_colors()
11 class_<AnnotationColors>("AnnotationColors")
12 .def("clear", &AnnotationColors::clear)
13 .add_property("color", &AnnotationColors::color,
14 &AnnotationColors::setColor,
15 "access default color for this color mapper")
18 register_ptr_to_python< boost::shared_ptr<AnnotationColors> >();