#include <standardColorProcessor.h>
Public Member Functions |
|
virtual void | getColor (const Composite &composite, ColorRGBA &color_to_be_set) |
Calculate a color for a Composite. |
|
void | setFirstColor (const ColorRGBA &color) |
void | setMiddleColor (const ColorRGBA &color) |
void | setLastColor (const ColorRGBA &color) |
const ColorRGBA & | getFirstColor () const |
const ColorRGBA & | getMiddleColor () const |
const ColorRGBA & | getLastColor () const |
virtual bool | start () |
start method |
|
Protected Member Functions |
|
bool | canUseMeshShortcut_ (const Composite &composite) |
Protected Attributes |
|
GeometricObjectList | list_ |
ColorRGBA | first_color_ |
ColorRGBA | middle_color_ |
ColorRGBA | last_color_ |
ColorMap | table_ |
Residue | dummy_residue_ |
HashMap< const Residue *, Position > |
residue_map_ |
virtual void BALL::VIEW::ResidueNumberColorProcessor::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.