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

Detailed Description

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

Definition at line 51 of file TColor.h.

#include <mrpt/utils/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::utils::TColorf::TColorf ( float  r = 0,
float  g = 0,
float  b = 0,
float  alpha = 1.0f 
)
inline

Definition at line 53 of file TColor.h.

◆ TColorf() [2/2]

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

Definition at line 54 of file TColor.h.

Member Data Documentation

◆ A

float mrpt::utils::TColorf::A

Definition at line 55 of file TColor.h.

Referenced by mrpt::opengl::CRenderizable::setColor().

◆ B

float mrpt::utils::TColorf::B

Definition at line 55 of file TColor.h.

Referenced by mrpt::opengl::CRenderizable::setColor().

◆ G

float mrpt::utils::TColorf::G

Definition at line 55 of file TColor.h.

Referenced by mrpt::opengl::CRenderizable::setColor().

◆ R

float mrpt::utils::TColorf::R

Definition at line 55 of file TColor.h.

Referenced by mrpt::opengl::CRenderizable::setColor().




Page generated by Doxygen 1.8.14 for MRPT 1.1.0 SVN: at lun oct 28 00:54:49 CET 2019 Hosted on:
SourceForge.net Logo