#include <parameter-drawing.hh>
Inherits CParameter.

Public Member Functions | |
| virtual int | getType () const |
Constructeur et destructeur | |
| CParameterDrawing (int ANbRef=0) | |
| CParameterDrawing (const CParameterDrawing &) | |
| CParameter * | copy () const |
| virtual | ~CParameterDrawing () |
Sauvegarde et chargement des paramètres | |
| virtual void | save (std::ostream &) |
| virtual void | load (std::istream &) |
| virtual void | reinit () |
Accesseurs pour les flags | |
| bool | getDisplayLight () const |
| void | setDisplayLight (bool) |
| void | invDisplayLight () |
Accesseurs pour les couleurs des axes Ox, Oy et Oz | |
| float | getCLLight (int AIndice) const |
| const float * | getCLLight () const |
| void | setCLLight (int AIndice, float AValue) |
| void | setCLLight (float AValue0, float AValue1, float AValue2) |
| void | setCLLight (const float ATab[3]) |
| float | getCLBackground (int AIndice) const |
| const float * | getCLBackground () const |
| void | setCLBackground (int AIndice, float AValue) |
| void | setCLBackground (float AValue0, float AValue1, float AValue2) |
| void | setCLBackground (const float ATab[3]) |
Private Attributes | |
| float | FCLLight [3] |
| float | FCLBackground [3] |
| bool | FDisplayLight |
Friends | |
| std::ostream & | operator<< (std::ostream &, const CParameterDrawing &) |
| std::istream & | operator>> (std::istream &, CParameterDrawing &) |
Definition at line 42 of file parameter-drawing.hh.
| CParameterDrawing::CParameterDrawing | ( | int | ANbRef = 0 |
) |
Constructeur
Definition at line 32 of file parameter-drawing.cc.
| CParameterDrawing::CParameterDrawing | ( | const CParameterDrawing & | AParam | ) |
Definition at line 38 of file parameter-drawing.cc.
| CParameterDrawing::~CParameterDrawing | ( | ) | [virtual] |
Destructeur
Definition at line 46 of file parameter-drawing.cc.
| CParameter * CParameterDrawing::copy | ( | ) | const [virtual] |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 49 of file parameter-drawing.cc.
| const float * CParameterDrawing::getCLBackground | ( | ) | const |
Definition at line 143 of file parameter-drawing.cc.
| float CParameterDrawing::getCLBackground | ( | int | AIndice | ) | const |
Definition at line 133 of file parameter-drawing.cc.
| const float * CParameterDrawing::getCLLight | ( | ) | const |
Definition at line 121 of file parameter-drawing.cc.
| float CParameterDrawing::getCLLight | ( | int | AIndice | ) | const |
Definition at line 111 of file parameter-drawing.cc.
| bool CParameterDrawing::getDisplayLight | ( | ) | const |
Definition at line 155 of file parameter-drawing.cc.
| int CParameterDrawing::getType | ( | ) | const [virtual] |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 168 of file parameter-drawing.cc.
| void CParameterDrawing::invDisplayLight | ( | ) |
Definition at line 163 of file parameter-drawing.cc.
| virtual void CParameterDrawing::load | ( | std::istream & | ) | [virtual] |
| void CParameterDrawing::reinit | ( | ) | [virtual] |
reinit
Méthode pour réinitialiser avec nos valeurs par defaut.
Implements CParameter.
Definition at line 58 of file parameter-drawing.cc.
| virtual void CParameterDrawing::save | ( | std::ostream & | ) | [virtual] |
| void CParameterDrawing::setCLBackground | ( | const float | ATab[3] | ) |
Definition at line 151 of file parameter-drawing.cc.
| void CParameterDrawing::setCLBackground | ( | float | AValue0, | |
| float | AValue1, | |||
| float | AValue2 | |||
| ) |
Definition at line 145 of file parameter-drawing.cc.
| void CParameterDrawing::setCLBackground | ( | int | AIndice, | |
| float | AValue | |||
| ) |
Definition at line 138 of file parameter-drawing.cc.
| void CParameterDrawing::setCLLight | ( | const float | ATab[3] | ) |
Definition at line 129 of file parameter-drawing.cc.
| void CParameterDrawing::setCLLight | ( | float | AValue0, | |
| float | AValue1, | |||
| float | AValue2 | |||
| ) |
Definition at line 123 of file parameter-drawing.cc.
| void CParameterDrawing::setCLLight | ( | int | AIndice, | |
| float | AValue | |||
| ) |
Definition at line 116 of file parameter-drawing.cc.
| void CParameterDrawing::setDisplayLight | ( | bool | AValue | ) |
| std::ostream& operator<< | ( | std::ostream & | , | |
| const CParameterDrawing & | ||||
| ) | [friend] |
Fonctions amies pour lire et écrire dans un flux.
| std::istream& operator>> | ( | std::istream & | , | |
| CParameterDrawing & | ||||
| ) | [friend] |
float CParameterDrawing::FCLBackground[3] [private] |
Definition at line 124 of file parameter-drawing.hh.
float CParameterDrawing::FCLLight[3] [private] |
bool CParameterDrawing::FDisplayLight [private] |
1.5.8