![]() |
Drive Engine
1.0.0
Plateforme de reconstruction 3D
|
Public Member Functions | |
| CONSTRUCTOR_H (IColor, DefaultColor) | |
| Default constructor. More... | |
| CONSTRUCTOR_H (IColor, DefaultColor, float intensity) | |
| Constructor for a scaled-gray color. More... | |
| CONSTRUCTOR_H (IColor, DefaultColor, float red, float green, float blue) | |
| Constructor for a RGB color. More... | |
| DESTRUCTOR_H (DefaultColor) | |
| virtual float | GetRed () const |
| Gets the red composant value. If the pixel is gray scaled, return the intensity. More... | |
| virtual float | GetBlue () const |
| Gets the blue composant value. If the pixel is gray scaled, return the intensity. More... | |
| virtual float | GetGreen () const |
| Gets the green composant value. If the pixel is gray scaled, return the intensity. More... | |
| virtual float | GetIntensity () const |
| Gets the intensity. More... | |
Public Member Functions inherited from IExportable | |
| virtual void | Delete () const =0 |
| Deletes the current object. Needed for memory management. More... | |
| DriveEngine::DefaultColor::CONSTRUCTOR_H | ( | IColor | , |
| DefaultColor | |||
| ) |
Default constructor.
Exception safety : No-throw guarantee. This member function never throws exceptions.
| DriveEngine::DefaultColor::CONSTRUCTOR_H | ( | IColor | , |
| DefaultColor | , | ||
| float | intensity | ||
| ) |
Constructor for a scaled-gray color.
Exception safety : Basic exception safety. This member function throws exceptions.
| intensity | The gray intensity. It must vary from 0.0 (black) to 1.0 (white) |
| DriveEngine::DefaultColor::CONSTRUCTOR_H | ( | IColor | , |
| DefaultColor | , | ||
| float | red, | ||
| float | green, | ||
| float | blue | ||
| ) |
Constructor for a RGB color.
Exception safety : Basic exception safety. This member function throws exceptions.
| red | The red composant value. It must vary from 0.0 (black) to 1.0 (red) |
| green | The green composant value. It must vary from 0.0 (black) to 1.0 (green) |
| blue | The blue composant value. It must vary from 0.0 (black) to 1.0 (blue) |
|
virtual |
Gets the blue composant value. If the pixel is gray scaled, return the intensity.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implements DriveEngine::IColor.
|
virtual |
Gets the green composant value. If the pixel is gray scaled, return the intensity.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implements DriveEngine::IColor.
|
virtual |
Gets the intensity.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implements DriveEngine::IColor.
|
virtual |
Gets the red composant value. If the pixel is gray scaled, return the intensity.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implements DriveEngine::IColor.