Image Component Library (ICL)
Namespaces | Typedefs | Functions
Color.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <ICLUtils/BasicTypes.h>
#include <ICLMath/FixedVector.h>
#include <string>

Go to the source code of this file.

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::core
 

Typedefs

typedef math::FixedColVector< icl8u, 3 > icl::core::Color
 Default color type of the ICL. More...
 
typedef math::FixedColVector< icl8u, 3 > icl::core::RGB
 RGB Color. More...
 
typedef math::FixedColVector< icl8u, 4 > icl::core::RGBA
 RGBA Color. More...
 
typedef math::FixedColVector< icl32f, 3 > icl::core::Color32f
 Special color type for float valued colors. More...
 
typedef math::FixedColVector< icl8u, 4 > icl::core::Color4D
 Special color type for e.g. rgba color information. More...
 
typedef math::FixedColVector< icl32f, 4 > icl::core::Color4D32f
 Special color type for e.g. rgba color information (float) More...
 

Functions

const Color & icl::core::iclCreateColor (std::string name)
 
Color icl::core::darker (const Color &c, double factor=0.8)
 Creates a (by default 20 percent) darker color. More...
 
Color icl::core::lighter (const Color &c, double factor=0.8)
 Creates a (by default 20 percent) lighter color. More...
 
Color ICLCore_API icl::core::color_from_string (const std::string &name)
 Parses a color string representation into a color structur. More...