Skip to content
Snippets Groups Projects
Commit 3bff8681 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

tweaked custom render options py exports and gui widget

parent e2cd1b89
No related branches found
No related tags found
No related merge requests found
...@@ -105,9 +105,11 @@ void export_RenderOptions() ...@@ -105,9 +105,11 @@ void export_RenderOptions()
.def("SetSphereRad", &CustomRenderOptions::SetSphereRad) .def("SetSphereRad", &CustomRenderOptions::SetSphereRad)
.def("GetSphereRad", &CustomRenderOptions::GetSphereRad) .def("GetSphereRad", &CustomRenderOptions::GetSphereRad)
.add_property("sphere_rad", &CustomRenderOptions::GetSphereRad, &CustomRenderOptions::SetSphereRad) .add_property("sphere_rad", &CustomRenderOptions::GetSphereRad, &CustomRenderOptions::SetSphereRad)
.add_property("sphere_radius", &CustomRenderOptions::GetSphereRad, &CustomRenderOptions::SetSphereRad)
.def("SetBondRad", &CustomRenderOptions::SetBondRad) .def("SetBondRad", &CustomRenderOptions::SetBondRad)
.def("GetBondRad", &CustomRenderOptions::GetBondRad) .def("GetBondRad", &CustomRenderOptions::GetBondRad)
.add_property("bond_rad", &CustomRenderOptions::GetBondRad, &CustomRenderOptions::SetBondRad) .add_property("bond_rad", &CustomRenderOptions::GetBondRad, &CustomRenderOptions::SetBondRad)
.add_property("bond_radius", &CustomRenderOptions::GetBondRad, &CustomRenderOptions::SetBondRad)
; ;
class_<CartoonRenderOptions, boost::shared_ptr<CartoonRenderOptions>, bases<RenderOptions>, boost::noncopyable>("CartoonRenderOptions") class_<CartoonRenderOptions, boost::shared_ptr<CartoonRenderOptions>, bases<RenderOptions>, boost::noncopyable>("CartoonRenderOptions")
......
...@@ -39,8 +39,8 @@ class CustomWidget(RenderModeWidget): ...@@ -39,8 +39,8 @@ class CustomWidget(RenderModeWidget):
max_arc_detail = 20 max_arc_detail = 20
min_rad = 0.05 min_rad = 0.05
max_bond_rad = 0.5 max_bond_rad = 1.0
max_sphere_rad = 1 max_sphere_rad = 1.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment