#include <OSGColor.h>

Public Types | |
| typedef ValueTypeT | ValueType |
Public Member Functions | |
Constructors | |
| Color4 (void) | |
| Color4 (const Color4 &source) | |
| Color4 (const ValueType red, const ValueType green, const ValueType blue, const ValueType alpha) | |
Destructors | |
| ~Color4 (void) | |
Set | |
| void | clear (void) |
| void | setValuesRGBA (const ValueType red, const ValueType green, const ValueType blue, const ValueType alpha) |
| void | setValuesHSV (const Real32 h, const Real32 s, const Real32 v) |
| void | setRandom (void) |
| void | setRGBA (UInt32 rgbPack) |
| void | setValue (const Char8 *szString) |
| void | setValue (Char8 *szString) |
Get | |
| UInt32 | getRGBA (void) const |
| void | getValuesRGBA (ValueType &red, ValueType &green, ValueType &blue, ValueType &alpha) const |
| void | getValuesHSV (Real32 &h, Real32 &s, Real32 &v) const |
| ValueType | red (void) const |
| ValueType | green (void) const |
| ValueType | blue (void) const |
| ValueType | alpha (void) const |
| ValueType * | getValuesRGBA (void) |
| const ValueType * | getValuesRGBA (void) const |
Operators | |
| Color4 | operator* (const ValueType val) |
| Color4 | operator/ (const ValueType val) |
| Color4 | operator+ (const ValueType val) |
| Color4 | operator- (const ValueType val) |
| void | operator*= (const ValueType val) |
| void | operator/= (const ValueType val) |
| void | operator+= (const ValueType val) |
| void | operator-= (const ValueType val) |
| Color4 | operator* (const Color4 &other) const |
| Color4 | operator/ (const Color4 &other) const |
| Color4 | operator+ (const Color4 &other) const |
| Color4 | operator- (const Color4 &other) const |
| void | operator*= (const Color4 &other) |
| void | operator/= (const Color4 &other) |
| void | operator+= (const Color4 &other) |
| void | operator-= (const Color4 &other) |
| ValueType & | operator[] (const UInt32 uiIndex) |
| const ValueType & | operator[] (const UInt32 uiIndex) const |
| Color4 & | operator= (const Color4 &source) |
| bool | equals (const Color4 &other, const ValueType tolerance) const |
| bool | operator< (const Color4 &other) const |
| bool | operator== (const Color4 &other) const |
| bool | operator!= (const Color4 &other) const |
Static Public Attributes | |
| static const Color4 | Null |
Protected Attributes | |
| ValueType | _rgba [4] |
Definition at line 195 of file OSGColor.h.
| typedef ValueTypeT osg::Color4< ValueTypeT >::ValueType |
Definition at line 200 of file OSGColor.h.
| osg::Color4< ValueTypeT >::Color4 | ( | void | ) | [inline] |
Definition at line 687 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00688 { 00689 _rgba[0] = TypeTraits<ValueTypeT>::getZeroElement(); 00690 _rgba[1] = TypeTraits<ValueTypeT>::getZeroElement(); 00691 _rgba[2] = TypeTraits<ValueTypeT>::getZeroElement(); 00692 _rgba[3] = TypeTraits<ValueTypeT>::getZeroElement(); 00693 }
| osg::Color4< ValueTypeT >::Color4 | ( | const Color4< ValueTypeT > & | source | ) | [inline] |
Definition at line 697 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00698 { 00699 _rgba[0] = source._rgba[0]; 00700 _rgba[1] = source._rgba[1]; 00701 _rgba[2] = source._rgba[2]; 00702 _rgba[3] = source._rgba[3]; 00703 }
| osg::Color4< ValueTypeT >::~Color4 | ( | void | ) | [inline] |
| void osg::Color4< ValueTypeT >::clear | ( | void | ) | [inline] |
Definition at line 726 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::DVRIsoShader::getLightSources().
00727 { 00728 _rgba[0] = TypeTraits<ValueTypeT>::getZeroElement(); 00729 _rgba[1] = TypeTraits<ValueTypeT>::getZeroElement(); 00730 _rgba[2] = TypeTraits<ValueTypeT>::getZeroElement(); 00731 _rgba[3] = TypeTraits<ValueTypeT>::getZeroElement(); 00732 }
| void osg::Color4< ValueTypeT >::setValuesRGBA | ( | const ValueType | red, | |
| const ValueType | green, | |||
| const ValueType | blue, | |||
| const ValueType | alpha | |||
| ) | [inline] |
Definition at line 736 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::VRMLMaterialDesc::endNode(), osg::VRMLMaterialDesc::endProtoInterface(), osg::SimpleMaterial::makeState(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::OFFSceneFileType::read(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), and osg::Color4< ValueTypeT >::setRandom().
00740 { 00741 _rgba[0] = red; 00742 _rgba[1] = green; 00743 _rgba[2] = blue; 00744 _rgba[3] = alpha; 00745 }
| void osg::Color4< ValueTypeT >::setValuesHSV | ( | const Real32 | h, | |
| const Real32 | s, | |||
| const Real32 | v | |||
| ) | [inline] |
Definition at line 748 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00751 { 00752 Color3<ValueType>::convertFromHSV(_rgba, h, s, v); 00753 00754 _rgba[3] = TypeTraits<ValueTypeT>::getOneElement(); 00755 }
| void osg::Color4< ValueTypeT >::setRandom | ( | void | ) | [inline] |
Definition at line 759 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::setValuesRGBA().
00760 { 00761 Real32 rf = 1.0 / Real32(RAND_MAX); 00762 00763 setValuesRGBA(TypeTraits<ValueTypeT>::getPortion(rf * rand()), 00764 TypeTraits<ValueTypeT>::getPortion(rf * rand()), 00765 TypeTraits<ValueTypeT>::getPortion(rf * rand()), 00766 TypeTraits<ValueTypeT>::getPortion(rf * rand())); 00767 }
| void osg::Color4< ValueTypeT >::setRGBA | ( | UInt32 | rgbPack | ) | [inline] |
method to set the rgb values (ABGGRR)
Definition at line 773 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00774 { 00775 for(Int32 i = 0; i < 4; ++i) 00776 { 00777 Real32 rTmp = Real32(rgbPack & 255) / 255.0f; 00778 00779 _rgba[i] = TypeTraits<ValueTypeT>::getPortion(rTmp); 00780 00781 rgbPack >>= 8; 00782 } 00783 }
| void osg::Color4< ValueTypeT >::setValue | ( | const Char8 * | szString | ) | [inline] |
Definition at line 787 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba, and osg::PointInterface< ValueTypeT, StorageInterfaceT >::setValueFromCString().
Referenced by osg::osg::FieldDataTraits< Color4ub >::getFromString(), osg::osg::FieldDataTraits< Color4f >::getFromString(), and osg::Color4< ValueTypeT >::setValue().
00788 { 00789 // this is the easiest way, not the most efficient... 00790 Vec4f v; 00791 00792 v.setValueFromCString(szString); 00793 00794 _rgba[0] = ValueTypeT(v[0]); 00795 _rgba[1] = ValueTypeT(v[1]); 00796 _rgba[2] = ValueTypeT(v[2]); 00797 _rgba[3] = ValueTypeT(v[3]); 00798 }
| void osg::Color4< ValueTypeT >::setValue | ( | Char8 * | szString | ) | [inline] |
Definition at line 802 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::setValue().
00803 { 00804 setValue(static_cast<const Char8 *>(szString)); 00805 }
| UInt32 osg::Color4< ValueTypeT >::getRGBA | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 811 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00812 { 00813 UInt32 pack = 0; 00814 00815 for(Int32 i = 3; i >= 0; --i) 00816 { 00817 pack = (pack << 8) | 00818 Int32(TypeTraits<ValueTypeT>::getFraction(_rgba[i]) * 00819 255.0f + 00820 0.5f ); 00821 } 00822 00823 return pack; 00824 }
| void osg::Color4< ValueTypeT >::getValuesRGBA | ( | ValueType & | red, | |
| ValueType & | green, | |||
| ValueType & | blue, | |||
| ValueType & | alpha | |||
| ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 828 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::RenderAction::activateLocalLights(), osg::SkyBackground::clear(), osg::DVRIsoShader::setupCombinerParametersDiffuse(), osg::DVRIsoShader::setupCombinerParametersSpecular(), and osg::RenderAction::stop().
00832 { 00833 red = _rgba[0]; 00834 green = _rgba[1]; 00835 blue = _rgba[2]; 00836 alpha = _rgba[3]; 00837 }
| void osg::Color4< ValueTypeT >::getValuesHSV | ( | Real32 & | h, | |
| Real32 & | s, | |||
| Real32 & | v | |||
| ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 841 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00844 { 00845 Color3<ValueType>::convertToHSV(_rgba, h, s, v); 00846 }
| Color4< ValueTypeT >::ValueType osg::Color4< ValueTypeT >::red | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 851 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::blendImage(), cToV(), osg::operator<<(), osg::osg::FieldDataTraits< Color4ub >::putToString(), and osg::osg::FieldDataTraits< Color4f >::putToString().
00852 { 00853 return _rgba[0]; 00854 }
| Color4< ValueTypeT >::ValueType osg::Color4< ValueTypeT >::green | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 859 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::blendImage(), cToV(), osg::operator<<(), osg::osg::FieldDataTraits< Color4ub >::putToString(), and osg::osg::FieldDataTraits< Color4f >::putToString().
00860 { 00861 return _rgba[1]; 00862 }
| Color4< ValueTypeT >::ValueType osg::Color4< ValueTypeT >::blue | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 867 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::blendImage(), cToV(), osg::operator<<(), osg::osg::FieldDataTraits< Color4ub >::putToString(), and osg::osg::FieldDataTraits< Color4f >::putToString().
00868 { 00869 return _rgba[2]; 00870 }
| Color4< ValueTypeT >::ValueType osg::Color4< ValueTypeT >::alpha | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 875 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::blendImage(), cToV(), osg::operator<<(), osg::osg::FieldDataTraits< Color4ub >::putToString(), and osg::osg::FieldDataTraits< Color4f >::putToString().
00876 { 00877 return _rgba[3]; 00878 }
| Color4< ValueTypeT >::ValueType * osg::Color4< ValueTypeT >::getValuesRGBA | ( | void | ) | [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 883 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00884 { 00885 return _rgba; 00886 }
| const Color4< ValueTypeT >::ValueType * osg::Color4< ValueTypeT >::getValuesRGBA | ( | void | ) | const [inline] |
method to get a packed rgb value (ABGGRR)
Definition at line 891 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00892 { 00893 return _rgba; 00894 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator* | ( | const ValueType | val | ) | [inline] |
Definition at line 898 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00899 { 00900 Color4<ValueTypeT> returnValue; 00901 00902 returnValue._rgba[0] = _rgba[0] * val; 00903 returnValue._rgba[1] = _rgba[1] * val; 00904 returnValue._rgba[2] = _rgba[2] * val; 00905 returnValue._rgba[3] = _rgba[3] * val; 00906 00907 return returnValue; 00908 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator/ | ( | const ValueType | val | ) | [inline] |
Definition at line 911 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00912 { 00913 Color4<ValueTypeT> returnValue; 00914 00915 returnValue._rgba[0] = _rgba[0] / val; 00916 returnValue._rgba[1] = _rgba[1] / val; 00917 returnValue._rgba[2] = _rgba[2] / val; 00918 returnValue._rgba[3] = _rgba[3] / val; 00919 00920 return returnValue; 00921 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator+ | ( | const ValueType | val | ) | [inline] |
Definition at line 924 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00925 { 00926 Color4<ValueTypeT> returnValue; 00927 00928 returnValue._rgba[0] = _rgba[0] + val; 00929 returnValue._rgba[1] = _rgba[1] + val; 00930 returnValue._rgba[2] = _rgba[2] + val; 00931 returnValue._rgba[3] = _rgba[3] + val; 00932 00933 return returnValue; 00934 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator- | ( | const ValueType | val | ) | [inline] |
Definition at line 937 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00938 { 00939 Color4<ValueTypeT> returnValue; 00940 00941 returnValue._rgba[0] = _rgba[0] - val; 00942 returnValue._rgba[1] = _rgba[1] - val; 00943 returnValue._rgba[2] = _rgba[2] - val; 00944 returnValue._rgba[3] = _rgba[3] - val; 00945 00946 return returnValue; 00947 }
| void osg::Color4< ValueTypeT >::operator*= | ( | const ValueType | val | ) | [inline] |
Definition at line 950 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00951 { 00952 _rgba[0] *= val; 00953 _rgba[1] *= val; 00954 _rgba[2] *= val; 00955 _rgba[3] *= val; 00956 }
| void osg::Color4< ValueTypeT >::operator/= | ( | const ValueType | val | ) | [inline] |
Definition at line 959 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00960 { 00961 _rgba[0] /= val; 00962 _rgba[1] /= val; 00963 _rgba[2] /= val; 00964 _rgba[3] /= val; 00965 }
| void osg::Color4< ValueTypeT >::operator+= | ( | const ValueType | val | ) | [inline] |
Definition at line 968 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00969 { 00970 _rgba[0] += val; 00971 _rgba[1] += val; 00972 _rgba[2] += val; 00973 _rgba[3] += val; 00974 }
| void osg::Color4< ValueTypeT >::operator-= | ( | const ValueType | val | ) | [inline] |
Definition at line 977 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00978 { 00979 _rgba[0] -= val; 00980 _rgba[1] -= val; 00981 _rgba[2] -= val; 00982 _rgba[3] -= val; 00983 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator* | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 987 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
00988 { 00989 Color4<ValueTypeT> returnValue; 00990 00991 returnValue._rgba[0] = _rgba[0] * other._rgba[0]; 00992 returnValue._rgba[1] = _rgba[1] * other._rgba[1]; 00993 returnValue._rgba[2] = _rgba[2] * other._rgba[2]; 00994 returnValue._rgba[3] = _rgba[3] * other._rgba[3]; 00995 00996 return returnValue; 00997 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator/ | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 1000 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01001 { 01002 Color4<ValueTypeT> returnValue; 01003 01004 returnValue._rgba[0] = _rgba[0] / other._rgba[0]; 01005 returnValue._rgba[1] = _rgba[1] / other._rgba[1]; 01006 returnValue._rgba[2] = _rgba[2] / other._rgba[2]; 01007 returnValue._rgba[3] = _rgba[3] / other._rgba[3]; 01008 01009 return returnValue; 01010 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator+ | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 1013 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01014 { 01015 Color4<ValueTypeT> returnValue; 01016 01017 returnValue._rgba[0] = _rgba[0] + other._rgba[0]; 01018 returnValue._rgba[1] = _rgba[1] + other._rgba[1]; 01019 returnValue._rgba[2] = _rgba[2] + other._rgba[2]; 01020 returnValue._rgba[3] = _rgba[3] + other._rgba[3]; 01021 01022 return returnValue; 01023 }
| Color4< ValueTypeT > osg::Color4< ValueTypeT >::operator- | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 1026 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01027 { 01028 Color4<ValueTypeT> returnValue; 01029 01030 returnValue._rgba[0] = _rgba[0] - other._rgba[0]; 01031 returnValue._rgba[1] = _rgba[1] - other._rgba[1]; 01032 returnValue._rgba[2] = _rgba[2] - other._rgba[2]; 01033 returnValue._rgba[3] = _rgba[3] - other._rgba[3]; 01034 01035 return returnValue; 01036 }
| void osg::Color4< ValueTypeT >::operator*= | ( | const Color4< ValueTypeT > & | other | ) | [inline] |
Definition at line 1039 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01040 { 01041 _rgba[0] *= other._rgba[0]; 01042 _rgba[1] *= other._rgba[1]; 01043 _rgba[2] *= other._rgba[2]; 01044 _rgba[3] *= other._rgba[3]; 01045 }
| void osg::Color4< ValueTypeT >::operator/= | ( | const Color4< ValueTypeT > & | other | ) | [inline] |
Definition at line 1048 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01049 { 01050 _rgba[0] /= other._rgba[0]; 01051 _rgba[1] /= other._rgba[1]; 01052 _rgba[2] /= other._rgba[2]; 01053 _rgba[3] /= other._rgba[3]; 01054 }
| void osg::Color4< ValueTypeT >::operator+= | ( | const Color4< ValueTypeT > & | other | ) | [inline] |
Definition at line 1057 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01058 { 01059 _rgba[0] += other._rgba[0]; 01060 _rgba[1] += other._rgba[1]; 01061 _rgba[2] += other._rgba[2]; 01062 _rgba[3] += other._rgba[3]; 01063 }
| void osg::Color4< ValueTypeT >::operator-= | ( | const Color4< ValueTypeT > & | other | ) | [inline] |
Definition at line 1066 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01067 { 01068 _rgba[0] -= other._rgba[0]; 01069 _rgba[1] -= other._rgba[1]; 01070 _rgba[2] -= other._rgba[2]; 01071 _rgba[3] -= other._rgba[3]; 01072 }
| Color4< ValueTypeT >::ValueType & osg::Color4< ValueTypeT >::operator[] | ( | const UInt32 | uiIndex | ) | [inline] |
Definition at line 1075 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01077 { 01078 return _rgba[uiIndex]; 01079 }
| const Color4< ValueTypeT >::ValueType & osg::Color4< ValueTypeT >::operator[] | ( | const UInt32 | uiIndex | ) | const [inline] |
Definition at line 1083 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01085 { 01086 return _rgba[uiIndex]; 01087 }
| Color4< ValueTypeT > & osg::Color4< ValueTypeT >::operator= | ( | const Color4< ValueTypeT > & | source | ) | [inline] |
Definition at line 1092 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01094 { 01095 if (this == &other) 01096 return *this; 01097 01098 _rgba[0] = other._rgba[0]; 01099 _rgba[1] = other._rgba[1]; 01100 _rgba[2] = other._rgba[2]; 01101 _rgba[3] = other._rgba[3]; 01102 01103 return *this; 01104 }
| bool osg::Color4< ValueTypeT >::equals | ( | const Color4< ValueTypeT > & | other, | |
| const ValueType | tolerance | |||
| ) | const [inline] |
equal within tolerance
Definition at line 1111 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
Referenced by osg::MaterialChunk::operator==(), and osg::LightChunk::operator==().
01113 { 01114 bool returnValue = true; 01115 01116 for(UInt32 i = 0; i < 4; i++) 01117 { 01118 returnValue &= ( ( _rgba[i] - other._rgba[i] <= tolerance) && 01119 (other._rgba[i] - _rgba[i] <= tolerance)); 01120 } 01121 01122 return returnValue; 01123 }
| bool osg::Color4< ValueTypeT >::operator< | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 1126 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba.
01127 { 01128 bool ret = false; 01129 01130 for(UInt32 i = 0; i < 4; ++i) 01131 { 01132 if(_rgba[i] > other._rgba[i]) 01133 { 01134 break; 01135 } 01136 if(_rgba[i] < other._rgba[i]) 01137 { 01138 ret = true; 01139 break; 01140 } 01141 } 01142 01143 return ret; 01144 }
| bool osg::Color4< ValueTypeT >::operator== | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
Definition at line 1147 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::_rgba, and osg::Eps.
01148 { 01149 bool returnValue = true; 01150 01151 for(UInt32 i = 0; i < 4; i++) 01152 { 01153 returnValue &= ( ( _rgba[i] - other._rgba[i] <= Eps) && 01154 (other._rgba[i] - _rgba[i] <= Eps)); 01155 } 01156 01157 return returnValue; 01158 }
| bool osg::Color4< ValueTypeT >::operator!= | ( | const Color4< ValueTypeT > & | other | ) | const [inline] |
const Color4< ValueTypeT > osg::Color4< ValueTypeT >::Null [inline, static] |
Definition at line 202 of file OSGColor.h.
ValueType osg::Color4< ValueTypeT >::_rgba[4] [protected] |
Definition at line 311 of file OSGColor.h.
Referenced by osg::Color4< ValueTypeT >::alpha(), osg::Color4< ValueTypeT >::blue(), osg::Color4< ValueTypeT >::clear(), osg::Color4< ValueTypeT >::Color4(), osg::Color4< ValueTypeT >::equals(), osg::Color4< ValueTypeT >::getRGBA(), osg::Color4< ValueTypeT >::getValuesHSV(), osg::Color4< ValueTypeT >::getValuesRGBA(), osg::Color4< ValueTypeT >::green(), osg::Color4< ValueTypeT >::operator*(), osg::Color4< ValueTypeT >::operator*=(), osg::Color4< ValueTypeT >::operator+(), osg::Color4< ValueTypeT >::operator+=(), osg::Color4< ValueTypeT >::operator-(), osg::Color4< ValueTypeT >::operator-=(), osg::Color4< ValueTypeT >::operator/(), osg::Color4< ValueTypeT >::operator/=(), osg::Color4< ValueTypeT >::operator<(), osg::Color4< ValueTypeT >::operator=(), osg::Color4< ValueTypeT >::operator==(), osg::Color4< ValueTypeT >::operator[](), osg::Color4< ValueTypeT >::red(), osg::Color4< ValueTypeT >::setRGBA(), osg::Color4< ValueTypeT >::setValue(), osg::Color4< ValueTypeT >::setValuesHSV(), and osg::Color4< ValueTypeT >::setValuesRGBA().
1.5.5