#include <grid-3d.hh>
Public Member Functions | |
Constructeurs et destructeur | |
CGrid3d (int ASizeI, int ASizeJ, int ASizeK, const CBoundingBox &ABB=CBoundingBox()) | |
virtual | ~CGrid3d () |
Méthodes publiques | |
int | getSizeI () const |
int | getSizeJ () const |
int | getSizeK () const |
const CBoundingBox & | getBoundingBox () const |
T & | getCell (int Ai, int Aj, int Ak) const |
T & | getCell (const CGrid3dIterator< T > &AIter) const |
CBoundingBox | getCellBoundingBox (int Ai, int Aj, int Ak) const |
CBoundingBox | getCellBoundingBox (const CGrid3dIterator< T > &AIter) const |
bool | getCellPosition (const CVertex &APoint, int *Ai, int *Aj, int *Ak) const |
bool | getCellPosition (const CVertex &APoint, TCoordinate *Ai, TCoordinate *Aj, TCoordinate *Ak) const |
void | setBoundingBox (const CBoundingBox &ABB) |
void | setCell (int Ai, int Aj, int Ak, const T &AObj) |
void | setCell (const CGrid3dIterator< T > &AIter, const T &AObj) |
void | fillCellsWith (const CBoundingBox &ABB, const T &AObj) |
Private Member Functions | |
Méthodes privées | |
TCoordinate | getCellI (TCoordinate Ax) const |
TCoordinate | getCellJ (TCoordinate Ay) const |
TCoordinate | getCellK (TCoordinate Az) const |
Private Attributes | |
T *** | FGrid |
int | FSizeI |
int | FSizeJ |
int | FSizeK |
CBoundingBox | FBB |
Definition at line 42 of file grid-3d.hh.
CGrid3d< T >::CGrid3d | ( | int | ASizeI, | |
int | ASizeJ, | |||
int | ASizeK, | |||
const CBoundingBox & | ABB = CBoundingBox() | |||
) | [inline] |
Constructeur avec initialisation
ASizeI | Nombre de divisions en largeur | |
ASizeJ | Nombre de divisions en hauteur | |
ASizeK | Nombre de divisions en profondeur | |
ABB | Boîte englobante de la grille |
Definition at line 196 of file grid-3d.hh.
void CGrid3d< T >::fillCellsWith | ( | const CBoundingBox & | ABB, | |
const T & | AObj | |||
) | [inline] |
Definition at line 362 of file grid-3d.hh.
const CBoundingBox & CGrid3d< T >::getBoundingBox | ( | ) | const [inline] |
Definition at line 243 of file grid-3d.hh.
T & CGrid3d< T >::getCell | ( | const CGrid3dIterator< T > & | AIter | ) | const [inline] |
Definition at line 265 of file grid-3d.hh.
T & CGrid3d< T >::getCell | ( | int | Ai, | |
int | Aj, | |||
int | Ak | |||
) | const [inline] |
Definition at line 249 of file grid-3d.hh.
CBoundingBox CGrid3d< T >::getCellBoundingBox | ( | const CGrid3dIterator< T > & | AIter | ) | const [inline] |
Definition at line 294 of file grid-3d.hh.
CBoundingBox CGrid3d< T >::getCellBoundingBox | ( | int | Ai, | |
int | Aj, | |||
int | Ak | |||
) | const [inline] |
Definition at line 272 of file grid-3d.hh.
TCoordinate CGrid3d< T >::getCellI | ( | TCoordinate | Ax | ) | const [inline, private] |
Definition at line 386 of file grid-3d.hh.
TCoordinate CGrid3d< T >::getCellJ | ( | TCoordinate | Ay | ) | const [inline, private] |
Definition at line 397 of file grid-3d.hh.
TCoordinate CGrid3d< T >::getCellK | ( | TCoordinate | Az | ) | const [inline, private] |
Definition at line 408 of file grid-3d.hh.
bool CGrid3d< T >::getCellPosition | ( | const CVertex & | APoint, | |
TCoordinate * | Ai, | |||
TCoordinate * | Aj, | |||
TCoordinate * | Ak | |||
) | const [inline] |
Definition at line 325 of file grid-3d.hh.
bool CGrid3d< T >::getCellPosition | ( | const CVertex & | APoint, | |
int * | Ai, | |||
int * | Aj, | |||
int * | Ak | |||
) | const [inline] |
Definition at line 300 of file grid-3d.hh.
int CGrid3d< T >::getSizeI | ( | ) | const [inline] |
Definition at line 225 of file grid-3d.hh.
int CGrid3d< T >::getSizeJ | ( | ) | const [inline] |
Definition at line 231 of file grid-3d.hh.
int CGrid3d< T >::getSizeK | ( | ) | const [inline] |
Definition at line 237 of file grid-3d.hh.
void CGrid3d< T >::setBoundingBox | ( | const CBoundingBox & | ABB | ) | [inline] |
Definition at line 340 of file grid-3d.hh.
void CGrid3d< T >::setCell | ( | const CGrid3dIterator< T > & | AIter, | |
const T & | AObj | |||
) | [inline] |
Definition at line 356 of file grid-3d.hh.
void CGrid3d< T >::setCell | ( | int | Ai, | |
int | Aj, | |||
int | Ak, | |||
const T & | AObj | |||
) | [inline] |
Definition at line 346 of file grid-3d.hh.
CBoundingBox CGrid3d< T >::FBB [private] |
FBB Boîte englobante de la grille.
Definition at line 140 of file grid-3d.hh.
Attributs privés FGrid Tableau tri-dimensionnel représentant la grille.
Definition at line 130 of file grid-3d.hh.
FSizeI, FSizeJ, FSizeK Nombre de divisions selon les 3 axes.
Definition at line 135 of file grid-3d.hh.
Definition at line 135 of file grid-3d.hh.
Definition at line 135 of file grid-3d.hh.