Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IColor Class Referenceabstract

The color datatype interface. More...

#include <IColor.h>

Inheritance diagram for DriveEngine::IColor:
DriveEngine::IDatatype IExportable DriveEngine::DefaultColor

Public Member Functions

virtual float GetRed () const =0
 Gets the red composant value. If the pixel is gray scaled, return the intensity. More...
 
virtual float GetBlue () const =0
 Gets the blue composant value. If the pixel is gray scaled, return the intensity. More...
 
virtual float GetGreen () const =0
 Gets the green composant value. If the pixel is gray scaled, return the intensity. More...
 
virtual float GetIntensity () const =0
 Gets the intensity. More...
 
- Public Member Functions inherited from IExportable
virtual void Delete () const =0
 Deletes the current object. Needed for memory management. More...
 

Detailed Description

The color datatype interface.

Member Function Documentation

virtual float DriveEngine::IColor::GetBlue ( ) const
pure 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.

Returns
The blue composant value. It vary from 0.0 to 1.0.

Implemented in DriveEngine::DefaultColor.

virtual float DriveEngine::IColor::GetGreen ( ) const
pure 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.

Returns
The green composant value. It vary from 0.0 to 1.0.

Implemented in DriveEngine::DefaultColor.

virtual float DriveEngine::IColor::GetIntensity ( ) const
pure virtual

Gets the intensity.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Returns
The intensity value. It vary from 0.0 to 1.0.

Implemented in DriveEngine::DefaultColor.

virtual float DriveEngine::IColor::GetRed ( ) const
pure 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.

Returns
The red composant value. It vary from 0.0 to 1.0.

Implemented in DriveEngine::DefaultColor.


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