#include <BALL/VIEW/MODELS/standardColorProcessor.h>
Public Member Functions | |
OccupancyColorProcessor () | |
virtual void | getColor (const Composite &composite, ColorRGBA &color_to_be_set) |
Coloring by the occupancy of atoms from a PDBFile
BALL::VIEW::OccupancyColorProcessor::OccupancyColorProcessor | ( | ) |
virtual void BALL::VIEW::OccupancyColorProcessor::getColor | ( | const Composite & | composite, |
ColorRGBA & | color_to_be_set | ||
) | [virtual] |
Calculate a color for a Composite. The given ColorRGBA instance is set to the calculated color. This method is called by the operator() method. Here it just sets the default color. You have to overload this operator in derived classes.
Reimplemented from BALL::VIEW::ColorProcessor.