BALL::VIEW::OccupancyColorProcessor Class Reference
[Model Processors]

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

#include <standardColorProcessor.h>

Inheritance diagram for BALL::VIEW::OccupancyColorProcessor:
Inheritance graph
[legend]

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


Generated on Thu Aug 6 18:30:58 2009 for BALL by doxygen 1.5.8