ColorSpaceInterface Class Reference

#include <gfx_image_colorspace.h>

Inheritance diagram for ColorSpaceInterface:

Detailed Description

Interface class for color spaces. At the moment this class has no elements and is more or less only used as enum. See ColorSpaces registry to iterate through all available color spaces or call a registered color space directly:

ColorSpace rgbSpace = ColorSpaces::RGBspace;

Public Member Functions

MAXON_METHOD const ColorProfileGetDefaultNonlinearColorProfile () const
 
MAXON_METHOD const ColorProfileGetDefaultLinearColorProfile () const
 

Private Member Functions

 MAXON_INTERFACE (ColorSpaceInterface, MAXON_REFERENCE_CONST, "net.maxon.image.interface.colorspace")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( ColorSpaceInterface  ,
MAXON_REFERENCE_CONST  ,
"net.maxon.image.interface.colorspace"   
)
private

◆ GetDefaultNonlinearColorProfile()

MAXON_METHOD const ColorProfile& GetDefaultNonlinearColorProfile ( ) const

Returns the default non-linear color profile (gamma != 1.0) for this color space for 8/16 bit integer formats.

◆ GetDefaultLinearColorProfile()

MAXON_METHOD const ColorProfile& GetDefaultLinearColorProfile ( ) const

Returns the default color profile for this color space for floating point data.