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

#include <hps.h>

Collaboration diagram for HPS::RGB24Color:

Public Member Functions

HPS_INLINE RGB24Color ()
 
HPS_INLINE RGB24Color (unsigned char gray)
 
HPS_INLINE RGB24Color (unsigned char rr, unsigned char gg, unsigned char bb)
 
HPS_INLINE RGB24Color (RGBColor const &c)
 
HPS_INLINE bool IsGray () const
 
HPS_INLINE unsigned char Gray () const
 
HPS_INLINE bool operator== (RGB24Color const &c) const
 
HPS_INLINE bool operator!= (RGB24Color const &c) const
 

Public Attributes

unsigned char r
 
unsigned char g
 
unsigned char b
 

Constructor & Destructor Documentation

◆ RGB24Color() [1/4]

HPS_INLINE HPS::RGB24Color::RGB24Color ( )
inline

◆ RGB24Color() [2/4]

HPS_INLINE HPS::RGB24Color::RGB24Color ( unsigned char  gray)
inlineexplicit

◆ RGB24Color() [3/4]

HPS_INLINE HPS::RGB24Color::RGB24Color ( unsigned char  rr,
unsigned char  gg,
unsigned char  bb 
)
inline

◆ RGB24Color() [4/4]

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

Member Function Documentation

◆ Gray()

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

◆ IsGray()

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

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ b

unsigned char HPS::RGB24Color::b

◆ g

unsigned char HPS::RGB24Color::g

◆ r

unsigned char HPS::RGB24Color::r

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