License wxWindows Library License
Lines 328
Keywords
transfer function (2) volume rendering (2) widget (1) wxPython (7) wxWidgets (7)
Included in this Library
Permissions
Owner: Stou S.
Viewable by Everyone
Editable by All Siafoo Users
Hide
Writing an article is easy - try our reStructured Text demo Join Siafoo Now or Learn More

wxPython Transfer Function Widget Atom Feed 0

In Brief A transfer function widget that allows you to map a value range to RGBA colors. It is useful for data visualization applications, especially volume rendering... more

A transfer function widget that allows you to map a value range to RGBA colors. It is useful for data visualization applications, especially volume rendering

/image/31

This is actually a wxPython port of an FLTK based widget I wrote for a volume rendering class. The code is a bit ugly (since it was ported from C++) and probably kind of buggy for ranges outside of 0-255. I ported it to Python for another application I was hacking together... so the quality of this code isn't that high... feel free to edit and improve it.

I might post the FLTK version of this code if I ever decouple it from the rest of it's host application and clean up some of the horrid code.