Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Static Public Member Functions | List of all members
povray.ColorMaps Class Reference

Class containing methods to adjust POV-Ray display colours if necessary. More...

Inheritance diagram for povray.ColorMaps:

Static Public Member Functions

static final Color brighten (Color c, float f)
 
static final float brightenValue (float x, float f)
 

Detailed Description

Class containing methods to adjust POV-Ray display colours if necessary.

Class containing methods to adjust POV-Ray display colours if necessary. Note that from version 1.2, all the methods that were included in this class previously (such as darken colour) have been removed as these were never used in iDynoMiCS. If these are required, these can be gained from downloading a copy of ColorMaps class found in iDynoMiCS version 1.1

Author
João Xavier (xavie.nosp@m.rj@m.nosp@m.skcc..nosp@m.org), Memorial Sloan-Kettering Cancer Center (NY, USA)
Laurent Lardon (lardo.nosp@m.nl@s.nosp@m.upagr.nosp@m.o.in.nosp@m.ra.fr), INRA, France

Member Function Documentation

static final Color povray.ColorMaps.brighten ( Color  c,
float  f 
)
static

Increase brightness of a color by factor f, keeping saturation and hue

Parameters
cDisplay colour that is to be brightened
fFactor by which the colour is to be brightened. Integer between 0 and 1
Returns
Colour object that has been brightened by the given factor
static final float povray.ColorMaps.brightenValue ( float  x,
float  f 
)
static

Creates a new section of an RGB colour by adjusting the colour value by a given factor

Parameters
xSection of the colur (R, G, or B) that is to be adjusted
fAdjustment to be applied to that section of the colour
Returns
Float object giving the level of either R,G,or B after adjustment

The documentation for this class was generated from the following file: