Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::RGBA32Color Class Reference

#include <hps.h>

Collaboration diagram for HPS::RGBA32Color:

Public Member Functions

HPS_INLINE RGBA32Color ()
 
HPS_INLINE RGBA32Color (unsigned char gray, unsigned char aa=255)
 
HPS_INLINE RGBA32Color (unsigned char rr, unsigned char gg, unsigned char bb, unsigned char aa=255)
 
HPS_INLINE RGBA32Color (RGBAS32Color const &c32)
 
HPS_INLINE RGBA32Color (RGBColor const &c)
 
HPS_INLINE RGBA32Color (RGBColor const &c, float alpha)
 
HPS_INLINE RGBA32Color (RGBColor const &c, unsigned char aa)
 
HPS_INLINE RGBA32Color (RGBAColor const &c)
 
HPS_INLINE RGBA32Color (RGBAColor const &c, unsigned char mix)
 
HPS_INLINE bool IsGray () const
 
HPS_INLINE unsigned char Gray () const
 
HPS_INLINE bool operator== (RGBA32Color const &c) const
 
HPS_INLINE bool operator!= (RGBA32Color const &c) const
 

Static Public Member Functions

static HPS_INLINE RGBA32Color Black ()
 
static HPS_INLINE RGBA32Color White ()
 
static HPS_INLINE unsigned char Opaque_Alpha ()
 

Public Attributes

unsigned char r
 
unsigned char g
 
unsigned char b
 
unsigned char a
 

Constructor & Destructor Documentation

◆ RGBA32Color() [1/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( )
inline

◆ RGBA32Color() [2/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( unsigned char  gray,
unsigned char  aa = 255 
)
inlineexplicit

◆ RGBA32Color() [3/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( unsigned char  rr,
unsigned char  gg,
unsigned char  bb,
unsigned char  aa = 255 
)
inline

◆ RGBA32Color() [4/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBAS32Color const &  c32)
inline

◆ RGBA32Color() [5/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBColor const &  c)
inlineexplicit
Here is the call graph for this function:

◆ RGBA32Color() [6/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBColor const &  c,
float  alpha 
)
inline
Here is the call graph for this function:

◆ RGBA32Color() [7/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBColor const &  c,
unsigned char  aa 
)
inline
Here is the call graph for this function:

◆ RGBA32Color() [8/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBAColor const &  c)
inlineexplicit
Here is the call graph for this function:

◆ RGBA32Color() [9/9]

HPS_INLINE HPS::RGBA32Color::RGBA32Color ( RGBAColor const &  c,
unsigned char  mix 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ Black()

static HPS_INLINE RGBA32Color HPS::RGBA32Color::Black ( )
inlinestatic

◆ Gray()

HPS_INLINE unsigned char HPS::RGBA32Color::Gray ( ) const
inline

◆ IsGray()

HPS_INLINE bool HPS::RGBA32Color::IsGray ( ) const
inline

◆ Opaque_Alpha()

static HPS_INLINE unsigned char HPS::RGBA32Color::Opaque_Alpha ( )
inlinestatic

◆ operator!=()

HPS_INLINE bool HPS::RGBA32Color::operator!= ( RGBA32Color const &  c) const
inline

◆ operator==()

HPS_INLINE bool HPS::RGBA32Color::operator== ( RGBA32Color const &  c) const
inline

◆ White()

static HPS_INLINE RGBA32Color HPS::RGBA32Color::White ( )
inlinestatic

Member Data Documentation

◆ a

unsigned char HPS::RGBA32Color::a

◆ b

unsigned char HPS::RGBA32Color::b

◆ g

unsigned char HPS::RGBA32Color::g

◆ r

unsigned char HPS::RGBA32Color::r

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