Assimp
v3.1.1 (June 2014)
|
aiColor4t< TReal > Class Template Reference
Represents a color in Red-Green-Blue space including an alpha component. More...
Public Member Functions | |
aiColor4t () | |
aiColor4t (TReal _r, TReal _g, TReal _b, TReal _a) | |
aiColor4t (TReal _r) | |
aiColor4t (const aiColor4t &o) | |
bool | IsBlack () const |
check whether a color is (close to) black More... | |
bool | operator!= (const aiColor4t &other) const |
const aiColor4t & | operator*= (TReal f) |
const aiColor4t & | operator+= (const aiColor4t &o) |
const aiColor4t & | operator-= (const aiColor4t &o) |
const aiColor4t & | operator/= (TReal f) |
bool | operator< (const aiColor4t &other) const |
bool | operator== (const aiColor4t &other) const |
TReal | operator[] (unsigned int i) const |
TReal & | operator[] (unsigned int i) |
Public Attributes | |
union { | |
struct { | |
TReal a | |
TReal b | |
TReal g | |
TReal r | |
} | |
TReal c [4] | |
}; | |
Detailed Description
template<typename TReal>
class aiColor4t< TReal >
Represents a color in Red-Green-Blue space including an alpha component.
Color values range from 0 to 1.
Constructor & Destructor Documentation
template<typename TReal >
|
inline |
Member Function Documentation
template<typename TReal >
|
inline |
check whether a color is (close to) black
template<typename TReal >
AI_FORCE_INLINE bool aiColor4t< TReal >::operator!= | ( | const aiColor4t< TReal > & | other | ) | const |
template<typename TReal >
AI_FORCE_INLINE const aiColor4t< TReal > & aiColor4t< TReal >::operator*= | ( | TReal | f | ) |
template<typename TReal >
AI_FORCE_INLINE const aiColor4t< TReal > & aiColor4t< TReal >::operator+= | ( | const aiColor4t< TReal > & | o | ) |
template<typename TReal >
AI_FORCE_INLINE const aiColor4t< TReal > & aiColor4t< TReal >::operator-= | ( | const aiColor4t< TReal > & | o | ) |
template<typename TReal >
AI_FORCE_INLINE const aiColor4t< TReal > & aiColor4t< TReal >::operator/= | ( | TReal | f | ) |
template<typename TReal >
AI_FORCE_INLINE bool aiColor4t< TReal >::operator< | ( | const aiColor4t< TReal > & | other | ) | const |
template<typename TReal >
AI_FORCE_INLINE bool aiColor4t< TReal >::operator== | ( | const aiColor4t< TReal > & | other | ) | const |
template<typename TReal >
|
inline |
template<typename TReal >
|
inline |
Member Data Documentation
union { ... } |
template<typename TReal >
TReal aiColor4t< TReal >::a |
template<typename TReal >
TReal aiColor4t< TReal >::b |
template<typename TReal >
TReal aiColor4t< TReal >::c[4] |
template<typename TReal >
TReal aiColor4t< TReal >::g |
template<typename TReal >
TReal aiColor4t< TReal >::r |
The documentation for this class was generated from the following files:
Generated on Sun Feb 21 2016 19:42:29 for Assimp by 1.8.11