コード例 #1
0
void Renderer_Classified::createByteRaster()
{
    setClassBreaks();
    classifyRaster();
}
コード例 #2
0
QgsFreakOutShader::QgsFreakOutShader( double theMinimumValue, double theMaximumValue ) : QgsRasterShaderFunction( theMinimumValue, theMaximumValue )
{
  setClassBreaks();
}
コード例 #3
0
/**
    Set the maximum value for the raster shader

    @param theValue The new minimum value
*/
void QgsFreakOutShader::setMinimumValue( double theValue )
{
  mMinimumValue = theValue;
  mMinimumMaximumRange = mMaximumValue - mMinimumValue;
  setClassBreaks();
}
コード例 #4
0
/**
    Set the maximum value for the raster shader.

    @param theValue The new maximum value
*/
void QgsPseudoColorShader::setMaximumValue( double theValue )
{
  mMaximumValue = theValue;
  mMinimumMaximumRange = mMaximumValue - mMinimumValue;
  setClassBreaks();
}