calculate how fast we have to change color components . assume min and max colors are different ! concode_field_sep Color m_maxColor concode_elem_sep Color m_minColor concode_elem_sep Color[] BLACKBODY_COLORMAP concode_elem_sep Color DARK_RED concode_elem_sep Color[] REDGREEN_COLORMAP concode_elem_sep Color[] GREENRED_COLORMAP concode_elem_sep Color[] m_colorPalette concode_elem_sep int m_defaultSuggestedNumberOfColors concode_elem_sep Color[] m_customColorMap concode_elem_sep Color[] m_currentColorMap concode_field_sep Color getColor concode_elem_sep Color[] getPalette concode_elem_sep Color[] createColorPalette concode_elem_sep int getPaletteSize
int function ( int arg0 , int arg1 , int arg2 ) { int loc0 = arg1 - arg0 ; double loc1 = loc0 / ( double ) ( 1 == arg2 ? 1 : arg2 - 1 ) ; return ( int ) Math . round ( loc1 ) ; }