Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::img::TColorf Struct Reference

Detailed Description

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

Definition at line 79 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 81 of file TColor.h.

◆ TColorf() [2/2]

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

Definition at line 86 of file TColor.h.

Member Data Documentation

◆ A

float mrpt::img::TColorf::A

◆ B

float mrpt::img::TColorf::B

◆ G

float mrpt::img::TColorf::G

◆ R

float mrpt::img::TColorf::R



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST