|
ddt 1.2.1
|
#include <imageColor.hpp>
Protected Attributes | |
| ddt::DdtLogger * | logger |
| ImageColor () | |
| virtual | ~ImageColor () |
| void | set_logger (ddt::DdtLogger *const in_logger) |
| void | LoadColorMaps (const std::string color_map_folder) |
| void | AddCustomColorMaps (const std::string color_map_name, ddt::colorMap_t const &colourmap, ddt::colorMap_t const &colourmap_inverted, ddt::colorMapARGB_t const &colourmap_argb, ddt::colorMapARGB_t const &colourmap_argb_inverted) |
| std::list< std::string > | get_ColorMapsList () const |
| ddt::colorMap_t * | get_ColorMap (const std::string color_map_name) |
| ddt::colorMapARGB_t * | get_ColorMapARGB (const std::string color_map_name) |
| ddt::colorMap_t * | get_GrayScaleColorMap () |
| ddt::colorMapARGB_t * | get_GrayScaleColorMapARGB () |
| ddt::scalingLut_t * | get_LinearScalingLut (const double cut_level_min, const double cut_level_max) |
| ddt::scalingLut_t * | get_LogarithmicScalingLut (const double cut_level_min, const double cut_level_max) |
| ddt::scalingLut_t * | get_SqrtScalingLut (const double cut_level_min, const double cut_level_max) |
| void | set_InvertColourmap (const bool invert) |
This class is part of the DDT Image Handling Library and provides functions for color map purposes.
It offers functions to create colormaps from colormap files.
| ImageColor::ImageColor | ( | ) |
Constructor
This class is part of the DDT Image Handling Library and provides functions for coordinate conversion purposes.
It offers functions to to create colormaps from colormap files.
|
virtualdefault |
Destructor
| void ImageColor::AddCustomColorMaps | ( | const std::string | color_map_name, |
| ddt::colorMap_t const & | colourmap, | ||
| ddt::colorMap_t const & | colourmap_inverted, | ||
| ddt::colorMapARGB_t const & | colourmap_argb, | ||
| ddt::colorMapARGB_t const & | colourmap_argb_inverted ) |
Adds customized colour maps.
| color_map_name | The name of the colour map |
| colourmap | The colourmap |
| colourmap_inverted | The inverted colourmap |
| colourmap_argb | The colourmap with alpha channel |
| colourmap_argb_inverted | The inverted colourmap with alpha channel |
| ddt::colorMap_t * ImageColor::get_ColorMap | ( | const std::string | color_map_name | ) |
Get a color map array, identified by the color map name
| color_map_name | the name of the color map (taken from the color map file name) |
| ddt::colorMapARGB_t * ImageColor::get_ColorMapARGB | ( | const std::string | color_map_name | ) |
Get a color map array, identified by the color map name
| color_map_name | the name of the color map (taken from the color map file name) |
| std::list< std::string > ImageColor::get_ColorMapsList | ( | ) | const |
Returns a list of all loaded colormaps
| ddt::colorMap_t * ImageColor::get_GrayScaleColorMap | ( | ) |
Get a default gray scale color map array
| ddt::colorMapARGB_t * ImageColor::get_GrayScaleColorMapARGB | ( | ) |
Get a default gray scale color map array
| ddt::scalingLut_t * ImageColor::get_LinearScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max ) |
Get the LUT for linear color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| ddt::scalingLut_t * ImageColor::get_LogarithmicScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max ) |
Get the LUT for logarithmic color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| ddt::scalingLut_t * ImageColor::get_SqrtScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max ) |
Get the LUT for square root color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| void ImageColor::LoadColorMaps | ( | const std::string | color_map_folder | ) |
Load the colormaps.
| color_map_folder | folder containing color map files |
| void ImageColor::set_InvertColourmap | ( | const bool | invert | ) |
Set if colourmap should get inverted
| invert | sets if colormap should get inverted |
| void ImageColor::set_logger | ( | ddt::DdtLogger *const | in_logger | ) |
Set logger
| in_logger | A DDT logger object (no transfer of ownership). |
|
protected |
The logger object