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::RGBAS32Color Class Reference

#include <hps.h>

Inheritance diagram for HPS::RGBAS32Color:
Collaboration diagram for HPS::RGBAS32Color:

Public Types

enum  Order {
  Order_ABGR,
  Order_RGBA,
  Order_BGRA
}
 

Public Member Functions

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

Static Public Member Functions

static HPS_INLINE RGBAS32Color Black ()
 
static HPS_INLINE RGBAS32Color White ()
 
static HPS_INLINE RGBAS32Color Invalid ()
 
static HPS_INLINE unsigned char Opaque_Alpha ()
 

Member Enumeration Documentation

◆ Order

Enumerator
Order_ABGR 
Order_RGBA 
Order_BGRA 

Constructor & Destructor Documentation

◆ RGBAS32Color() [1/11]

HPS_INLINE HPS::RGBAS32Color::RGBAS32Color ( )
inline

◆ RGBAS32Color() [2/11]

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

◆ RGBAS32Color() [3/11]

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

◆ RGBAS32Color() [4/11]

HPS_INLINE HPS::RGBAS32Color::RGBAS32Color ( DirectRGBColor const &  c)
inline

◆ RGBAS32Color() [5/11]

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

◆ RGBAS32Color() [6/11]

HPS_INLINE HPS::RGBAS32Color::RGBAS32Color ( RGB24Color const &  c)

◆ RGBAS32Color() [7/11]

HPS_INLINE HPS::RGBAS32Color::RGBAS32Color ( RGBA32Color const &  c)

◆ RGBAS32Color() [8/11]

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

◆ RGBAS32Color() [9/11]

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

◆ RGBAS32Color() [10/11]

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

◆ RGBAS32Color() [11/11]

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

Member Function Documentation

◆ Black()

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

◆ Gray()

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

◆ Invalid()

static HPS_INLINE RGBAS32Color HPS::RGBAS32Color::Invalid ( )
inlinestatic

◆ IsGray()

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

◆ IsValid()

HPS_INLINE bool HPS::RGBAS32Color::IsValid ( ) const
inline

◆ Opaque_Alpha()

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

◆ operator!=()

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

◆ operator==()

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

◆ White()

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

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