#include <parameter-grid.hh>
Inherits CParameter.
Public Member Functions | |
virtual int | getType () const |
Constructeur et destructeur | |
CParameterGrid (int ANbRef=0) | |
CParameterGrid (const CParameterGrid &) | |
CParameter * | copy () const |
virtual | ~CParameterGrid () |
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 | getLWGrid () const |
void | setLWGrid (int) |
Accesseurs pour différentes mesures | |
int | getLGGrid () const |
void | setLGGrid (int) |
Accesseurs pour les couleurs | |
float | getCLGrid (int AIndice) const |
const float * | getCLGrid () const |
void | setCLGrid (int AIndice, float AValue) |
void | setCLGrid (float AValue0, float AValue1, float AValue2) |
void | setCLGrid (float const ATab[3]) |
Accesseurs pour des flags | |
Chaque variable à trois méthodes : 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 | getDisplayGridXY () const |
void | setDisplayGridXY (bool) |
void | invDisplayGridXY () |
bool | getDisplayGridYZ () const |
void | setDisplayGridYZ (bool) |
void | invDisplayGridYZ () |
bool | getDisplayGridXZ () const |
void | setDisplayGridXZ (bool) |
void | invDisplayGridXZ () |
bool | getDisplayPositiveGridX () const |
void | setDisplayPositiveGridX (bool) |
void | invDisplayPositiveGridX () |
bool | getDisplayPositiveGridY () const |
void | setDisplayPositiveGridY (bool) |
void | invDisplayPositiveGridY () |
bool | getDisplayPositiveGridZ () const |
void | setDisplayPositiveGridZ (bool) |
void | invDisplayPositiveGridZ () |
Private Attributes | |
int | FLWGrid |
int | FLGGrid |
float | FCLGrid [3] |
bool | FDisplayGridXY |
bool | FDisplayGridYZ |
bool | FDisplayGridXZ |
bool | FDisplayPositiveGridX |
bool | FDisplayPositiveGridY |
bool | FDisplayPositiveGridZ |
Friends | |
std::ostream & | operator<< (std::ostream &, const CParameterGrid &) |
std::istream & | operator>> (std::istream &, CParameterGrid &) |
Definition at line 39 of file parameter-grid.hh.
CParameterGrid::CParameterGrid | ( | int | ANbRef = 0 |
) |
Constructeur
Definition at line 32 of file parameter-grid.cc.
CParameterGrid::CParameterGrid | ( | const CParameterGrid & | AParam | ) |
Definition at line 38 of file parameter-grid.cc.
CParameterGrid::~CParameterGrid | ( | ) | [virtual] |
Destructeur
Definition at line 52 of file parameter-grid.cc.
CParameter * CParameterGrid::copy | ( | ) | const [virtual] |
Equivalent d'un constructeur par recopie, mais en méthode virtuelle pour le polymorphisme.
Implements CParameter.
Definition at line 55 of file parameter-grid.cc.
const float * CParameterGrid::getCLGrid | ( | ) | const |
Definition at line 176 of file parameter-grid.cc.
float CParameterGrid::getCLGrid | ( | int | AIndice | ) | const |
Definition at line 162 of file parameter-grid.cc.
bool CParameterGrid::getDisplayGridXY | ( | ) | const |
Definition at line 193 of file parameter-grid.cc.
bool CParameterGrid::getDisplayGridXZ | ( | ) | const |
Definition at line 231 of file parameter-grid.cc.
bool CParameterGrid::getDisplayGridYZ | ( | ) | const |
Definition at line 212 of file parameter-grid.cc.
bool CParameterGrid::getDisplayPositiveGridX | ( | ) | const |
Definition at line 250 of file parameter-grid.cc.
bool CParameterGrid::getDisplayPositiveGridY | ( | ) | const |
Definition at line 269 of file parameter-grid.cc.
bool CParameterGrid::getDisplayPositiveGridZ | ( | ) | const |
Definition at line 288 of file parameter-grid.cc.
int CParameterGrid::getLGGrid | ( | ) | const |
Definition at line 151 of file parameter-grid.cc.
int CParameterGrid::getLWGrid | ( | ) | const |
Definition at line 140 of file parameter-grid.cc.
int CParameterGrid::getType | ( | ) | const [virtual] |
Identificateur du type de paramètre.
Implements CParameter.
Definition at line 306 of file parameter-grid.cc.
void CParameterGrid::invDisplayGridXY | ( | ) |
Definition at line 205 of file parameter-grid.cc.
void CParameterGrid::invDisplayGridXZ | ( | ) |
Definition at line 243 of file parameter-grid.cc.
void CParameterGrid::invDisplayGridYZ | ( | ) |
Definition at line 224 of file parameter-grid.cc.
void CParameterGrid::invDisplayPositiveGridX | ( | ) |
Definition at line 262 of file parameter-grid.cc.
void CParameterGrid::invDisplayPositiveGridY | ( | ) |
Definition at line 281 of file parameter-grid.cc.
void CParameterGrid::invDisplayPositiveGridZ | ( | ) |
Definition at line 300 of file parameter-grid.cc.
virtual void CParameterGrid::load | ( | std::istream & | ) | [virtual] |
void CParameterGrid::reinit | ( | ) | [virtual] |
reinit
Reinitialise le paramètre.
Implements CParameter.
Definition at line 64 of file parameter-grid.cc.
virtual void CParameterGrid::save | ( | std::ostream & | ) | [virtual] |
void CParameterGrid::setCLGrid | ( | float const | ATab[3] | ) |
Definition at line 190 of file parameter-grid.cc.
void CParameterGrid::setCLGrid | ( | float | AValue0, | |
float | AValue1, | |||
float | AValue2 | |||
) |
Definition at line 178 of file parameter-grid.cc.
void CParameterGrid::setCLGrid | ( | int | AIndice, | |
float | AValue | |||
) |
Definition at line 167 of file parameter-grid.cc.
void CParameterGrid::setDisplayGridXY | ( | bool | AValue | ) |
void CParameterGrid::setDisplayGridXZ | ( | bool | AValue | ) |
void CParameterGrid::setDisplayGridYZ | ( | bool | AValue | ) |
void CParameterGrid::setDisplayPositiveGridX | ( | bool | AValue | ) |
void CParameterGrid::setDisplayPositiveGridY | ( | bool | AValue | ) |
void CParameterGrid::setDisplayPositiveGridZ | ( | bool | AValue | ) |
void CParameterGrid::setLGGrid | ( | int | AValue | ) |
Definition at line 153 of file parameter-grid.cc.
void CParameterGrid::setLWGrid | ( | int | AValue | ) |
Definition at line 142 of file parameter-grid.cc.
std::ostream& operator<< | ( | std::ostream & | , | |
const CParameterGrid & | ||||
) | [friend] |
Fonctions amies pour lire et écrire dans un flux.
std::istream& operator>> | ( | std::istream & | , | |
CParameterGrid & | ||||
) | [friend] |
float CParameterGrid::FCLGrid[3] [private] |
bool CParameterGrid::FDisplayGridXY [private] |
bool CParameterGrid::FDisplayGridXZ [private] |
bool CParameterGrid::FDisplayGridYZ [private] |
bool CParameterGrid::FDisplayPositiveGridX [private] |
bool CParameterGrid::FDisplayPositiveGridY [private] |
bool CParameterGrid::FDisplayPositiveGridZ [private] |
int CParameterGrid::FLGGrid [private] |
int CParameterGrid::FLWGrid [private] |