General color space convertor. See also : n_colorConversion. Definition at line 72 of file Color.h. References Impala::Core::Array::Element::CMY, Color(), Impala::Core::Array::Element::HSI, Impala::Core::Array::Element::Lab, Impala::Core::Array::Element::Luv, Impala::Core::Array::Element::OOO, Impala::Core::Array::Element::RGB, ToCMY(), ToHSI(), ToLab(), ToLuv(), ToOOO(), ToRGB(), ToXYZ(), and Impala::Core::Array::Element::XYZ. 00073 { 00074 switch (space) { 00075 case RGB: return ToRGB(); 00076 case CMY: return ToCMY(); 00077 case XYZ: return ToXYZ(); 00078 case Lab: return ToLab(); 00079 case Luv: return ToLuv(); 00080 case OOO: return ToOOO(); 00081 case HSI: return ToHSI(); 00082 } 00083 return Color(); 00084 }
Here is the call graph for this function:
|