FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | List of all members
FmColor Class Reference

Representation of a RGB color by floats in range [0.0,1.0]. More...

#include <FmColor.H>

Inheritance diagram for FmColor:
Inheritance graph
[legend]
Collaboration diagram for FmColor:
Collaboration graph
[legend]

Public Member Functions

 FmColor (float r=0.0f, float g=0.0f, float b=0.0f)
 Default constructor. More...
 
 FmColor (const F3 &c)
 Copy constructor. More...
 
 FmColor (const I3 &c)
 Conversion from integer representation in range [0,255]. More...
 

Detailed Description

Representation of a RGB color by floats in range [0.0,1.0].

Constructor & Destructor Documentation

◆ FmColor() [1/3]

FmColor::FmColor ( float  r = 0.0f,
float  g = 0.0f,
float  b = 0.0f 
)
inline

Default constructor.

◆ FmColor() [2/3]

FmColor::FmColor ( const F3 &  c)
inline

Copy constructor.

◆ FmColor() [3/3]

FmColor::FmColor ( const I3 &  c)
inline

Conversion from integer representation in range [0,255].


The documentation for this class was generated from the following file: