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

VIEW::OccupancyColorProcessor Class Reference
[Model Processors]

Coloring by the occupancy of atoms from a PDBFile. More...

#include <standardColorProcessor.h>

Inheritance diagram for VIEW::OccupancyColorProcessor:

VIEW::InterpolateColorProcessor 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.

Detailed Description

Coloring by the occupancy of atoms from a PDBFile.


Member Function Documentation

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