7 #ifndef PXR_BASE_GF_COLOR_H
8 #define PXR_BASE_GF_COLOR_H
91 bool operator !=(
const GfColor &rh)
const {
return !(*
this == rh); }
132 #endif // PXR_BASE_GF_COLOR_H
bool operator!=(const GfColor &rh) const
GF_API void _SetFromChromaticity(const GfVec2f &xy)
GF_API void SetFromPlanckianLocus(float kelvin, float luminance)
Represents a color in a specific color space.Basic type: Color.
bool operator==(const GfColor &rh) const
std::ostream & operator<<(std::ostream &, GfColor const &)
Stream insertion operator for outputting GfColor objects to an output stream.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
GfColorSpace GetColorSpace() const
GF_API GfVec2f _GetChromaticity() const
bool GfIsClose(GfColor const &c1, GfColor const &c2, double tolerance)
GfVec3f _rgb
The RGB tuple.
#define PXR_NAMESPACE_CLOSE_SCOPE
GfColorSpace _colorSpace
The color space.
GF_API GfColor()
The default constructor creates black, in the "lin_rec709" color space.