While working on serialization of scenes, I found that the mitk::TransferFunction class does not behave as I expected. Also, there is no documentation.
Here's what I expected from the interface
- (by offering raw pointers to vtk classes, I guess that the application level will directly manipulate these)
- control points defining the transfer function are manipulated through the interface
- requesting the control points return non-empty lists if the rendering does display nice volume rendering
Cleaning up the interface and documentation on the intended use of this class would be nice. Once this is done, it should be possible to serialize transfer functions.