BALL
1.4.79
|
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
Public Member Functions | |
ResidueTypeColorProcessor () | |
virtual void | getColor (const Composite &composite, ColorRGBA &color_to_be_set) |
void | setBasicColor (const ColorRGBA &color) |
void | setAcidicColor (const ColorRGBA &color) |
void | setPolarColor (const ColorRGBA &color) |
void | setHydrophobicColor (const ColorRGBA &color) |
void | setAromaticColor (const ColorRGBA &color) |
void | setOtherColor (const ColorRGBA &color) |
const ColorRGBA & | getBasicColor () const |
const ColorRGBA & | getAcidicColor () const |
const ColorRGBA & | getPolarColor () const |
const ColorRGBA & | getHydrophobicColor () const |
const ColorRGBA & | getAromaticColor () const |
const ColorRGBA & | getOtherColor () const |
virtual void | setTransparency (Size t) |
![]() | |
ColorProcessor () | |
Default Constructor. More... | |
ColorProcessor (const ColorProcessor &color_calculator) | |
Copy constructor. More... | |
virtual | ~ColorProcessor () |
Destructor. More... | |
virtual void | clear () |
void | set (const ColorProcessor &color_calculator) |
Assignment. More... | |
virtual bool | start () |
const ColorProcessor & | operator= (const ColorProcessor &color_calculator) |
bool | updateAlwaysNeeded () |
void | setDefaultColor (const ColorRGBA &color) |
const ColorRGBA & | getDefaultColor () const |
virtual Processor::Result | operator() (GeometricObject *&object) |
Size | getTransparency () const |
void | setComposites (const std::list< const Composite * > *composites) |
const std::list< const Composite * > * | getComposites () |
Return a pointer to the Composites. More... | |
void | clearAtomGrid () |
void | setAdditionalGridDistance (float distance) |
float | getAdditionalGridDistance () const |
void | setMinGridSpacing (float spacing) |
AtomGrid & | getAtomGrid () |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
void | setModelType (ModelType type) |
virtual void | createAtomGrid (const Composite *from_mesh=0) |
const Atom * | getClosestItem (const Vector3 &v) const |
![]() | |
UnaryProcessor () | |
UnaryProcessor (const UnaryProcessor &) | |
virtual | ~UnaryProcessor () |
virtual bool | finish () |
Coloring by the type of a Residue
Definition at line 546 of file standardColorProcessor.h.
BALL::VIEW::ResidueTypeColorProcessor::ResidueTypeColorProcessor | ( | ) |
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getAcidicColor | ( | ) | const |
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getAromaticColor | ( | ) | const |
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getBasicColor | ( | ) | const |
|
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.
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getHydrophobicColor | ( | ) | const |
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getOtherColor | ( | ) | const |
const ColorRGBA& BALL::VIEW::ResidueTypeColorProcessor::getPolarColor | ( | ) | const |
void BALL::VIEW::ResidueTypeColorProcessor::setAcidicColor | ( | const ColorRGBA & | color | ) |
void BALL::VIEW::ResidueTypeColorProcessor::setAromaticColor | ( | const ColorRGBA & | color | ) |
void BALL::VIEW::ResidueTypeColorProcessor::setBasicColor | ( | const ColorRGBA & | color | ) |
void BALL::VIEW::ResidueTypeColorProcessor::setHydrophobicColor | ( | const ColorRGBA & | color | ) |
void BALL::VIEW::ResidueTypeColorProcessor::setOtherColor | ( | const ColorRGBA & | color | ) |
void BALL::VIEW::ResidueTypeColorProcessor::setPolarColor | ( | const ColorRGBA & | color | ) |
|
virtual |
Set the transparency. To be overloaded in derived classes
Reimplemented from BALL::VIEW::ColorProcessor.