Manages the various color schemes. More...
#include <ogdf/simultaneous/SimDrawColorizer.h>
Public Member Functions | |
| SimDrawColorScheme (colorScheme colorScm, int numberOfGraphs) | |
| constructor | |
| ~SimDrawColorScheme () | |
| destructor | |
| void | assignColScm (int numberOfGraphs) |
| sets the color component arrays according to colorschemeXS | |
| Color | getColor (int subGraphBits, int numberOfGraphs) |
| joins the different color components together | |
Private Attributes | |
| int * | blue |
| blue color component | |
| int * | green |
| green color component | |
| colorScheme | m_intScheme |
| stores the current colorscheme (set by constructor) | |
| int * | red |
| red color component | |
Manages the various color schemes.
Color schemes are used within SimDrawColorizer to chose different colors for the basic graph visualizations. It is used directly within SimDrawColorizer.
CAUTION: Some color schemes are only valid for a small number (e.g. two or three) of basic graphs. The default color scheme can be used for up to 32 basic graphs.
Definition at line 111 of file SimDrawColorizer.h.
| ogdf::SimDrawColorizer::SimDrawColorScheme::SimDrawColorScheme | ( | colorScheme | colorScm, |
| int | numberOfGraphs | ||
| ) |
constructor
| ogdf::SimDrawColorizer::SimDrawColorScheme::~SimDrawColorScheme | ( | ) |
destructor
| void ogdf::SimDrawColorizer::SimDrawColorScheme::assignColScm | ( | int | numberOfGraphs | ) |
sets the color component arrays according to colorschemeXS
| Color ogdf::SimDrawColorizer::SimDrawColorScheme::getColor | ( | int | subGraphBits, |
| int | numberOfGraphs | ||
| ) |
joins the different color components together
|
private |
blue color component
stores the values of the blue color component for every graph according to colorscheme
Definition at line 132 of file SimDrawColorizer.h.
|
private |
green color component
stores the values of the green color component for every graph according to colorscheme
Definition at line 126 of file SimDrawColorizer.h.
|
private |
stores the current colorscheme (set by constructor)
Definition at line 114 of file SimDrawColorizer.h.
|
private |
red color component
stores the values of the red color component for every graph according to colorscheme
Definition at line 120 of file SimDrawColorizer.h.