Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::ResidueTypeColorProcessor Class Reference
[Model Processors]

Coloring by the type of a Residue. More...

#include <standardColorProcessor.h>

Inheritance diagram for VIEW::ResidueTypeColorProcessor:

VIEW::ColorProcessor UnaryProcessor< GeometricObject * > UnaryFunctor< GeometricObject *, Processor::Result > List of all members.

Public Member Functions

virtual void getColor (const Composite &composite, ColorRGBA &color_to_be_set)
 Calculate a color for a Composite.
void setBasicColor (const ColorRGBA &color) throw ()
void setAcidicColor (const ColorRGBA &color) throw ()
void setPolarColor (const ColorRGBA &color) throw ()
void setHydrophobicColor (const ColorRGBA &color) throw ()
void setAromaticColor (const ColorRGBA &color) throw ()
void setOtherColor (const ColorRGBA &color) throw ()
const ColorRGBAgetBasicColor () const throw ()
const ColorRGBAgetAcidicColor () const throw ()
const ColorRGBAgetPolarColor () const throw ()
const ColorRGBAgetHydrophobicColor () const throw ()
const ColorRGBAgetAromaticColor () const throw ()
const ColorRGBAgetOtherColor () const throw ()
virtual void setTransparency (Size t) throw ()
 Set the transparency.

Detailed Description

Coloring by the type of a Residue.


Member Function Documentation

virtual void VIEW::ResidueTypeColorProcessor::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 VIEW::ColorProcessor.

virtual void VIEW::ResidueTypeColorProcessor::setTransparency Size  t  )  throw () [virtual]
 

Set the transparency.

To be overloaded in derived classes

Reimplemented from VIEW::ColorProcessor.