MRPT  1.9.9
mrpt::img::TColorf Struct Reference

Detailed Description

A RGB color - floats in the range [0,1].

Definition at line 77 of file TColor.h.

#include <mrpt/img/TColor.h>

Public Member Functions

 TColorf (float r=0, float g=0, float b=0, float alpha=1.0f)
 
 TColorf (const TColor &col)
 

Public Attributes

float R
 
float G
 
float B
 
float A
 

Constructor & Destructor Documentation

◆ TColorf() [1/2]

mrpt::img::TColorf::TColorf ( float  r = 0,
float  g = 0,
float  b = 0,
float  alpha = 1.0f 
)
inline

Definition at line 79 of file TColor.h.

◆ TColorf() [2/2]

mrpt::img::TColorf::TColorf ( const TColor col)
inlineexplicit

Definition at line 84 of file TColor.h.

Member Data Documentation

◆ A

◆ B

◆ G

◆ R




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020