Moka controlers
|
#include <parameter-sew.hh>
Public Member Functions | |
virtual int | getType () const |
Identificateur du type de paramètre. | |
Constructeur et destructeur | |
CParameterSew (int ANbRef=0) | |
CParameterSew (const CParameterSew &) | |
CParameter * | copy () const |
virtual | ~CParameterSew () |
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 | getLWSew (int ADimension) const |
void | setLWSew (int ADimension, int) |
Accesseurs pour la position des coutures sur les brins | |
float | getSewPosCoef (int ADimension) const |
void | setSewPosCoef (int ADimension, float AValue) |
Accesseurs pour les couleurs | |
float | getCLSew (int ADimension, int AIndice) const |
const float * | getCLSew (int ADimension) const |
void | setCLSew (int ADimension, int AIndice, float AValue) |
void | setCLSew (int ADimension, float AValue0, float AValue1, float AValue2) |
void | setCLSew (int ADimension, const float ATab[3]) |
Accesseurs pour les flags | |
bool getXXX() const; pour récupérer la valeur du flag void setXXX(bool); pour fixer la valeur void invXXX(); pour inverser sa valeur | |
bool | getDisplayAlpha (int AIndex) const |
void | setDisplayAlpha (int AIndex, bool AValue) |
affichage de certain alpha | |
void | invDisplayAlpha (int AIndex) |
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 CParameterSew &) |
Fonctions amies pour lire et écrire dans un flux. | |
std::istream & | operator>> (std::istream &, CParameterSew &) |
Definition at line 44 of file parameter-sew.hh.
CParameterSew::CParameterSew | ( | int | ANbRef = 0 | ) |
Constructeur
Definition at line 33 of file parameter-sew.cc.
CParameterSew::CParameterSew | ( | const CParameterSew & | AParam | ) |
Definition at line 39 of file parameter-sew.cc.
|
virtual |
Destructeur
Definition at line 51 of file parameter-sew.cc.
|
virtual |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 54 of file parameter-sew.cc.
float CParameterSew::getCLSew | ( | int | ADimension, |
int | AIndice | ||
) | const |
Definition at line 207 of file parameter-sew.cc.
const float * CParameterSew::getCLSew | ( | int | ADimension | ) | const |
Definition at line 223 of file parameter-sew.cc.
bool CParameterSew::getDisplayAlpha | ( | int | AIndex | ) | const |
Definition at line 245 of file parameter-sew.cc.
int CParameterSew::getLWSew | ( | int | ADimension | ) | const |
Definition at line 177 of file parameter-sew.cc.
float CParameterSew::getSewPosCoef | ( | int | ADimension | ) | const |
Definition at line 192 of file parameter-sew.cc.
|
virtual |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 268 of file parameter-sew.cc.
void CParameterSew::invDisplayAlpha | ( | int | AIndex | ) |
Definition at line 261 of file parameter-sew.cc.
|
virtual |
load
Méthode permettant de récupérer les valeurs des variables membres.
Implements CParameter.
Definition at line 60 of file parameter-sew.cc.
|
virtual |
reinit
Reinitialise le paramètre.
Implements CParameter.
Definition at line 63 of file parameter-sew.cc.
|
virtual |
save
Méthode permettant de sauver les valeurs des variables membres.
Implements CParameter.
Definition at line 57 of file parameter-sew.cc.
void CParameterSew::setCLSew | ( | int | ADimension, |
int | AIndice, | ||
float | AValue | ||
) |
Definition at line 213 of file parameter-sew.cc.
void CParameterSew::setCLSew | ( | int | ADimension, |
float | AValue0, | ||
float | AValue1, | ||
float | AValue2 | ||
) |
Definition at line 228 of file parameter-sew.cc.
void CParameterSew::setCLSew | ( | int | ADimension, |
const float | ATab[3] | ||
) |
Definition at line 242 of file parameter-sew.cc.
void CParameterSew::setDisplayAlpha | ( | int | AIndex, |
bool | AValue | ||
) |
affichage de certain alpha
Definition at line 251 of file parameter-sew.cc.
void CParameterSew::setLWSew | ( | int | ADimension, |
int | AValue | ||
) |
Definition at line 182 of file parameter-sew.cc.
void CParameterSew::setSewPosCoef | ( | int | ADimension, |
float | AValue | ||
) |
Definition at line 197 of file parameter-sew.cc.
|
friend |
Fonctions amies pour lire et écrire dans un flux.
|
friend |