| 
    KiCad PCB EDA Suite
    
   | 
 
#include <sg_base.h>
Public Member Functions | |
| SGCOLOR () | |
| SGCOLOR (float aRVal, float aGVal, float aBVal) | |
| void | GetColor (float &aRedVal, float &aGreenVal, float &aBlueVal) const noexcept | 
| void | GetColor (SGCOLOR &aColor) const noexcept | 
| void | GetColor (SGCOLOR *aColor) const noexcept | 
| bool | SetColor (float aRedVal, float aGreenVal, float aBlueVal) | 
| bool | SetColor (const SGCOLOR &aColor) noexcept | 
| bool | SetColor (const SGCOLOR *aColor) noexcept | 
Protected Attributes | |
| float | red | 
| float | green | 
| float | blue | 
Private Member Functions | |
| bool | checkRange (float aRedVal, float aGreenVal, float aBlueVal) const noexcept | 
| SGCOLOR::SGCOLOR | ( | ) | 
Definition at line 34 of file sg_base.cpp.
References blue, green, and red.
Referenced by GetColor(), GetColor(), SetColor(), and SetColor().
| SGCOLOR::SGCOLOR | ( | float | aRVal, | 
| float | aGVal, | ||
| float | aBVal ) | 
Definition at line 41 of file sg_base.cpp.
References blue, checkRange(), green, and red.
      
  | 
  privatenoexcept | 
Definition at line 118 of file sg_base.cpp.
Referenced by SetColor(), and SGCOLOR().
      
  | 
  noexcept | 
Definition at line 59 of file sg_base.cpp.
References blue, green, and red.
Referenced by S3D::FormatColor(), formatMaterial(), SGSHAPE::Prepare(), and S3D::WriteColor().
      
  | 
  noexcept | 
      
  | 
  noexcept | 
      
  | 
  noexcept | 
      
  | 
  noexcept | 
| bool SGCOLOR::SetColor | ( | float | aRedVal, | 
| float | aGreenVal, | ||
| float | aBlueVal ) | 
Definition at line 85 of file sg_base.cpp.
References blue, checkRange(), green, and red.
Referenced by WRL1MATERIAL::GetColor(), S3D::ReadColor(), and WRL2FACESET::TranslateToSG().
      
  | 
  protected | 
Definition at line 48 of file sg_base.h.
Referenced by GetColor(), GetColor(), GetColor(), SetColor(), SetColor(), SetColor(), SGCOLOR(), and SGCOLOR().
      
  | 
  protected | 
Definition at line 47 of file sg_base.h.
Referenced by GetColor(), GetColor(), GetColor(), SetColor(), SetColor(), SetColor(), SGCOLOR(), and SGCOLOR().
      
  | 
  protected | 
Definition at line 46 of file sg_base.h.
Referenced by GetColor(), GetColor(), GetColor(), SetColor(), SetColor(), SetColor(), SGCOLOR(), and SGCOLOR().