iaux::iaConvert Class Reference

#include <iaConvert.h>

Static Public Member Functions

static void convert (const iaColor3f &src, iaColor3c &dst)
 
static void convert (const iaColor3c &src, iaColor3f &dst)
 
static void convert (const iaColor4f &src, iaColor4c &dst)
 
static void convert (const iaColor4c &src, iaColor4f &dst)
 
static void convertRGBtoHSV (const iaColor3f &rgb, iaColor3f &hsv)
 
static void convertRGBtoHSV (const iaColor4f &rgb, iaColor4f &hsv)
 
static void convertRGBtoHSV (const iaColor3c &rgb, iaColor3c &hsv)
 
static void convertRGBtoHSV (const iaColor4c &rgb, iaColor4c &hsv)
 
static void convertHSVtoRGB (const iaColor3f &hsv, iaColor3f &rgb)
 
static void convertHSVtoRGB (const iaColor4f &hsv, iaColor4f &rgb)
 
static void convertHSVtoRGB (const iaColor3c &hsv, iaColor3c &rgb)
 
static void convertHSVtoRGB (const iaColor4c &hsv, iaColor4c &rgb)
 

Detailed Description

contains some simple converters

Member Function Documentation

◆ convert() [1/4]

void iaux::iaConvert::convert ( const iaColor3c src,
iaColor3f dst 
)
static

converts byte based color to float

Parameters
srcsrc color
[out]dstdestination color

◆ convert() [2/4]

void iaux::iaConvert::convert ( const iaColor3f src,
iaColor3c dst 
)
static

converts float based color to byte

Parameters
srcsrc color
[out]dstdestination color

◆ convert() [3/4]

void iaux::iaConvert::convert ( const iaColor4c src,
iaColor4f dst 
)
static

converts byte based color to float

Parameters
srcsrc color
[out]dstdestination color

◆ convert() [4/4]

void iaux::iaConvert::convert ( const iaColor4f src,
iaColor4c dst 
)
static

converts float based color to byte

Parameters
srcsrc color
[out]dstdestination color

◆ convertHSVtoRGB() [1/4]

void iaux::iaConvert::convertHSVtoRGB ( const iaColor3c hsv,
iaColor3c rgb 
)
static

converts HSV to RGB

Parameters
hsvthe hsv color
[out]rgbthe rgb color

◆ convertHSVtoRGB() [2/4]

void iaux::iaConvert::convertHSVtoRGB ( const iaColor3f hsv,
iaColor3f rgb 
)
static

converts HSV to RGB

Parameters
hsvthe hsv color
[out]rgbthe rgb color

◆ convertHSVtoRGB() [3/4]

void iaux::iaConvert::convertHSVtoRGB ( const iaColor4c hsv,
iaColor4c rgb 
)
static

converts HSV to RGB

Parameters
hsvthe hsv color
[out]rgbthe rgb color

◆ convertHSVtoRGB() [4/4]

void iaux::iaConvert::convertHSVtoRGB ( const iaColor4f hsv,
iaColor4f rgb 
)
static

converts HSV to RGB

Parameters
hsvthe hsv color
[out]rgbthe rgb color

◆ convertRGBtoHSV() [1/4]

void iaux::iaConvert::convertRGBtoHSV ( const iaColor3c rgb,
iaColor3c hsv 
)
static

converts RGB to HSV

Parameters
rgbthe rgb color
[out]hsvthe hsv color

◆ convertRGBtoHSV() [2/4]

void iaux::iaConvert::convertRGBtoHSV ( const iaColor3f rgb,
iaColor3f hsv 
)
static

converts RGB to HSV

Parameters
rgbthe rgb color
[out]hsvthe hsv color

◆ convertRGBtoHSV() [3/4]

void iaux::iaConvert::convertRGBtoHSV ( const iaColor4c rgb,
iaColor4c hsv 
)
static

converts RGB to HSV

Parameters
rgbthe rgb color
[out]hsvthe hsv color

◆ convertRGBtoHSV() [4/4]

void iaux::iaConvert::convertRGBtoHSV ( const iaColor4f rgb,
iaColor4f hsv 
)
static

converts RGB to HSV

Parameters
rgbthe rgb color
[out]hsvthe hsv color

The documentation for this class was generated from the following files: