Moka controlers
|
#include <parameter-object-scale.hh>
Public Member Functions | |
virtual int | getType () const |
Identificateur du type de paramètre. | |
CParameterObjectScale (int ANbRef=0) | |
CParameterObjectScale (const CParameterObjectScale &) | |
virtual | ~CParameterObjectScale () |
virtual CParameter * | copy () const |
virtual void | save (std::ostream &) |
virtual void | load (std::istream &) |
virtual void | reinit () |
void | setScaleType (TScaleType AScaleType) |
Définition du type d'homothétie (centrale, axiale, ou planaire) | |
TScaleType | getScaleType () const |
void | setCenter (const CVertex &ACenter) |
Centre d'homothétie : | |
CVertex | getCenter () const |
void | setVector (const CVertex &AVector) |
CVertex | getVector () const |
bool | getIsoScale () |
void | setIsoScale (bool AValue) |
void | setIsoCoef (float AValue) |
float | getIsoCoef () const |
void | setCoef (const CVertex &AValue) |
CVertex | getCoef () const |
void | setCoef (int ADim, float AValue) |
float | getCoef (int ADim) const |
void | setPonderation (bool AActive) |
Activation / désactivation de la pondération : | |
bool | getPonderation () const |
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 () |
Definition at line 35 of file parameter-object-scale.hh.
CParameterObjectScale::CParameterObjectScale | ( | int | ANbRef = 0 | ) |
Definition at line 32 of file parameter-object-scale.cc.
CParameterObjectScale::CParameterObjectScale | ( | const CParameterObjectScale & | AParam | ) |
Definition at line 43 of file parameter-object-scale.cc.
|
virtual |
Definition at line 53 of file parameter-object-scale.cc.
|
virtual |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 57 of file parameter-object-scale.cc.
CVertex CParameterObjectScale::getCenter | ( | ) | const |
Definition at line 100 of file parameter-object-scale.cc.
CVertex CParameterObjectScale::getCoef | ( | ) | const |
Definition at line 143 of file parameter-object-scale.cc.
float CParameterObjectScale::getCoef | ( | int | ADim | ) | const |
Definition at line 156 of file parameter-object-scale.cc.
float CParameterObjectScale::getIsoCoef | ( | ) | const |
Definition at line 133 of file parameter-object-scale.cc.
bool CParameterObjectScale::getIsoScale | ( | ) |
Definition at line 119 of file parameter-object-scale.cc.
bool CParameterObjectScale::getPonderation | ( | ) | const |
Definition at line 171 of file parameter-object-scale.cc.
TScaleType CParameterObjectScale::getScaleType | ( | ) | const |
Definition at line 86 of file parameter-object-scale.cc.
|
virtual |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 69 of file parameter-object-scale.cc.
CVertex CParameterObjectScale::getVector | ( | ) | const |
Definition at line 114 of file parameter-object-scale.cc.
|
virtual |
Implements CParameter.
Definition at line 60 of file parameter-object-scale.cc.
|
virtual |
Implements CParameter.
Definition at line 66 of file parameter-object-scale.cc.
|
virtual |
Implements CParameter.
Definition at line 63 of file parameter-object-scale.cc.
void CParameterObjectScale::setCenter | ( | const CVertex & | ACenter | ) |
Centre d'homothétie :
Definition at line 91 of file parameter-object-scale.cc.
void CParameterObjectScale::setCoef | ( | const CVertex & | AValue | ) |
Definition at line 140 of file parameter-object-scale.cc.
void CParameterObjectScale::setCoef | ( | int | ADim, |
float | AValue | ||
) |
Definition at line 146 of file parameter-object-scale.cc.
void CParameterObjectScale::setIsoCoef | ( | float | AValue | ) |
Definition at line 130 of file parameter-object-scale.cc.
void CParameterObjectScale::setIsoScale | ( | bool | AValue | ) |
Definition at line 122 of file parameter-object-scale.cc.
void CParameterObjectScale::setPonderation | ( | bool | AActive | ) |
Activation / désactivation de la pondération :
Definition at line 162 of file parameter-object-scale.cc.
void CParameterObjectScale::setScaleType | ( | TScaleType | AScaleType | ) |
Définition du type d'homothétie (centrale, axiale, ou planaire)
Definition at line 74 of file parameter-object-scale.cc.
void CParameterObjectScale::setVector | ( | const CVertex & | AVector | ) |
Definition at line 105 of file parameter-object-scale.cc.