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

Detailed Description

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

#include <mrpt/utils/TColor.h>

List of all members.

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

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

Definition at line 64 of file TColor.h.

mrpt::utils::TColorf::TColorf ( const TColor col) [inline, explicit]

Definition at line 65 of file TColor.h.


Member Data Documentation

Definition at line 66 of file TColor.h.

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




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011