Moka controlers
|
#include <parameter-axis.hh>
Public Member Functions | |
virtual int | getType () const |
Identificateur du type de paramètre. | |
Constructeur et destructeur | |
CParameterAxis (int ANbRef=0) | |
CParameterAxis (const CParameterAxis &) | |
CParameter * | copy () const |
virtual | ~CParameterAxis () |
Sauvegarde et chargement des paramètres | |
virtual void | save (std::ostream &) |
virtual void | load (std::istream &) |
virtual void | reinit () |
Accesseurs pour la taille des lignes | |
int | getLWAxis () const |
void | setLWAxis (int) |
Accesseurs pour la taille du repère | |
float | getLGAxis () const |
void | setLGAxis (float) |
Accesseurs pour les couleurs des axes Ox, Oy et Oz | |
float | getCLAxisX (int AIndice) const |
const float * | getCLAxisX () const |
void | setCLAxisX (int AIndice, float AValue) |
void | setCLAxisX (float AValue0, float AValue1, float AValue2) |
void | setCLAxisX (const float ATab[3]) |
float | getCLAxisY (int AIndice) const |
const float * | getCLAxisY () const |
void | setCLAxisY (int AIndice, float AValue) |
void | setCLAxisY (float AValue0, float AValue1, float AValue2) |
void | setCLAxisY (const float ATab[3]) |
float | getCLAxisZ (int AIndice) const |
const float * | getCLAxisZ () const |
void | setCLAxisZ (int AIndice, float AValue) |
void | setCLAxisZ (float AValue0, float AValue1, float AValue2) |
void | setCLAxisZ (const float ATab[3]) |
Public Member Functions inherited from CParameter | |
CParameter (unsigned int ANbRef=0) | |
CParameter (const CParameter &AParameter) | |
virtual | ~CParameter () |
void | incNbRef (unsigned int AValue=1) |
void | decNbRef (unsigned int AValue=1) |
unsigned int | getNbRef () const |
virtual void | addPrecompileToUpdate (CPrecompile *) |
virtual void | removePrecompileToUpdate (CPrecompile *) |
virtual void | putAllNeedToUpdate () |
Friends | |
std::ostream & | operator<< (std::ostream &, const CParameterAxis &) |
Fonctions amies pour lire et écrire dans un flux. | |
std::istream & | operator>> (std::istream &, CParameterAxis &) |
Cette classe contient simplement les accesseurs et modificateurs des différentes variables membres.
Definition at line 41 of file parameter-axis.hh.
CParameterAxis::CParameterAxis | ( | int | ANbRef = 0 | ) |
Constructeur
Definition at line 32 of file parameter-axis.cc.
CParameterAxis::CParameterAxis | ( | const CParameterAxis & | AParam | ) |
Definition at line 38 of file parameter-axis.cc.
|
virtual |
Destructeur
Definition at line 48 of file parameter-axis.cc.
|
virtual |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 51 of file parameter-axis.cc.
float CParameterAxis::getCLAxisX | ( | int | AIndice | ) | const |
Definition at line 154 of file parameter-axis.cc.
const float * CParameterAxis::getCLAxisX | ( | ) | const |
Definition at line 168 of file parameter-axis.cc.
float CParameterAxis::getCLAxisY | ( | int | AIndice | ) | const |
Definition at line 185 of file parameter-axis.cc.
const float * CParameterAxis::getCLAxisY | ( | ) | const |
Definition at line 199 of file parameter-axis.cc.
float CParameterAxis::getCLAxisZ | ( | int | AIndice | ) | const |
Definition at line 216 of file parameter-axis.cc.
const float * CParameterAxis::getCLAxisZ | ( | ) | const |
Definition at line 230 of file parameter-axis.cc.
float CParameterAxis::getLGAxis | ( | ) | const |
Definition at line 143 of file parameter-axis.cc.
int CParameterAxis::getLWAxis | ( | ) | const |
Definition at line 132 of file parameter-axis.cc.
|
virtual |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 247 of file parameter-axis.cc.
|
virtual |
load
Méthode permettant de récupérer les valeurs des variables membres.
Implements CParameter.
Definition at line 57 of file parameter-axis.cc.
|
virtual |
reinit
Reinitialise le paramètre.
Implements CParameter.
Definition at line 60 of file parameter-axis.cc.
|
virtual |
save
Méthode permettant de sauver les valeurs des variables membres.
Implements CParameter.
Definition at line 54 of file parameter-axis.cc.
void CParameterAxis::setCLAxisX | ( | int | AIndice, |
float | AValue | ||
) |
Definition at line 159 of file parameter-axis.cc.
void CParameterAxis::setCLAxisX | ( | float | AValue0, |
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 170 of file parameter-axis.cc.
void CParameterAxis::setCLAxisX | ( | const float | ATab[3] | ) |
Definition at line 182 of file parameter-axis.cc.
void CParameterAxis::setCLAxisY | ( | int | AIndice, |
float | AValue | ||
) |
Definition at line 190 of file parameter-axis.cc.
void CParameterAxis::setCLAxisY | ( | float | AValue0, |
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 201 of file parameter-axis.cc.
void CParameterAxis::setCLAxisY | ( | const float | ATab[3] | ) |
Definition at line 213 of file parameter-axis.cc.
void CParameterAxis::setCLAxisZ | ( | int | AIndice, |
float | AValue | ||
) |
Definition at line 221 of file parameter-axis.cc.
void CParameterAxis::setCLAxisZ | ( | float | AValue0, |
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 232 of file parameter-axis.cc.
void CParameterAxis::setCLAxisZ | ( | const float | ATab[3] | ) |
Definition at line 244 of file parameter-axis.cc.
void CParameterAxis::setLGAxis | ( | float | AValue | ) |
Definition at line 145 of file parameter-axis.cc.
void CParameterAxis::setLWAxis | ( | int | AValue | ) |
Definition at line 134 of file parameter-axis.cc.
|
friend |
Fonctions amies pour lire et écrire dans un flux.
|
friend |