Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | List of all members
TYTopographie Class Reference

#include <TYTopographie.h>

Inheritance diagram for TYTopographie:
Inheritance graph
[legend]
Collaboration diagram for TYTopographie:
Collaboration graph
[legend]

Public Member Functions

 TYTopographie ()
 
 TYTopographie (const TYTopographie &other)
 
virtual ~TYTopographie ()
 
TYTopographieoperator= (const TYTopographie &other)
 Operateur =. More...
 
bool operator== (const TYTopographie &other) const
 Operateur ==. More...
 
bool operator!= (const TYTopographie &other) const
 Operateur !=. More...
 
virtual bool deepCopy (const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
 
virtual std::string toString () const
 
virtual DOM_Element toXML (DOM_Element &domElement)
 
virtual int fromXML (DOM_Element domElement)
 
virtual void setIsGeometryModified (bool isModified)
 
- Public Member Functions inherited from TYElement
void * getAllUses ()
 
void setAllUses (void *allUses)
 
void cleanAllUses ()
 
 TYElement ()
 
 TYElement (TYElement *pParent, bool PutInInstanceList=true)
 
 TYElement (const TYElement &other, bool PutInInstanceList=true)
 
virtual ~TYElement ()
 
void setID (TYUUID id)
 
void setID (const QString &str_id)
 
const TYUUIDgetID () const
 
QString getStringID () const
 
bool hasNullID () const
 
void regenerateID ()
 
void setName (QString name)
 
void setName (std::string name)
 
virtual QString getName () const
 
void setParent (TYElement *pParent)
 
TYElementgetParent () const
 
virtual void setIsAcousticModified (bool isModified)
 
bool getIsAcousticModified ()
 
bool getIsGeometryModified ()
 
TYElementoperator= (const TYElement &other)
 
bool operator== (const TYElement &other) const
 
bool operator!= (const TYElement &other) const
 
bool callFromXMLIfEqual (DOM_Element &domElement, int *pRetVal=NULL)
 
std::string getMetierName ()
 
virtual void getChilds (LPTYElementArray &childs, bool recursif=true)
 
virtual void setInCurrentCalcul (bool state, bool recurschild=true, bool recursparent=true)
 
virtual bool isInCurrentCalcul ()
 
void addCopy ()
 Increment le compteur de nombre de copies. More...
 
void setCopyCount (const unsigned int copyCount)
 Modifie la vaeur du compteur. More...
 
- Public Member Functions inherited from IRefCount
 IRefCount ()
 
virtual ~IRefCount ()
 
virtual int incRef ()
 
virtual int decRef ()
 
int getRefCount () const
 
- Public Member Functions inherited from OPrototype
virtual ~OPrototype ()
 
virtual OPrototypeclone () const =0
 
virtual const char * getClassName () const
 
bool isA (const char *className) const
 

Gestion du Calcul courant

TYTabCourbeNiveauGeoNode _listCrbNiv
 Liste des courbes de niveau. More...
 
LPTYAltimetrie _pAltimetrie
 Altimetrie. More...
 
int _DefTerrainIdx
 Terrain par default. More...
 
TYTabTerrainGeoNode _listTerrain
 Liste des terrains. More...
 
TYTabCoursEauGeoNode _listCrsEau
 Liste des cours d'eau. More...
 
TYTabPlanEauGeoNode _listPlanEau
 Liste des plans d'eau. More...
 
TYTabPoint _emprise
 Emprise. More...
 
OColor _empriseColor
 
TYTerrainGeoNode ** _pSortedTerrains
 Liste des terrains tries (on fait expres un tableau a part pour ne pas perturber le terrain par defaut) More...
 
std::vector< TYStructElemPts_tabElemPts
 
short _lastIndice
 
virtual void updateCurrentCalcul (TYListID &listID, bool recursif=true)
 
virtual void reparent ()
 
void purge ()
 
void concatTopo (const TYTopographie *pTopo, bool emprise=true)
 
TYTabPlanEauGeoNodegetListPlanEau ()
 
const TYTabPlanEauGeoNodegetListPlanEau () const
 
void setListPlanEau (const TYTabPlanEauGeoNode &list)
 
bool addPlanEau (LPTYPlanEauGeoNode pPlanEauGeoNode)
 
bool addPlanEau (LPTYPlanEau pPlanEau)
 
bool remPlanEau (const LPTYPlanEauGeoNode pPlanEauGeoNode)
 
bool remPlanEau (const LPTYPlanEau pPlanEau)
 
bool remPlanEau (QString idPlanEau)
 
void remAllPlanEau ()
 
LPTYPlanEau getPlanEau (int index)
 
LPTYPlanEauGeoNode findPlanEau (const LPTYPlanEau pPlanEau)
 
TYTabCoursEauGeoNodegetListCrsEau ()
 
const TYTabCoursEauGeoNodegetListCrsEau () const
 
void setListCrsEau (const TYTabCoursEauGeoNode &list)
 
bool addCrsEau (LPTYCoursEauGeoNode pCoursEauGeoNode)
 
bool addCrsEau (LPTYCoursEau pCoursEau)
 
bool remCrsEau (const LPTYCoursEauGeoNode pCoursEauGeoNode)
 
bool remCrsEau (const LPTYCoursEau pCoursEau)
 
bool remCrsEau (QString idCrsEau)
 
void remAllCrsEau ()
 
LPTYCoursEau getCrsEau (int index)
 
LPTYCoursEauGeoNode findCrsEau (const LPTYCoursEau pCrsEau)
 
TYTabTerrainGeoNodegetListTerrain ()
 
const TYTabTerrainGeoNodegetListTerrain () const
 
void setTerrain (const TYTabTerrainGeoNode &list)
 
bool addTerrain (LPTYTerrainGeoNode pTerGeoNode)
 
bool addTerrain (LPTYTerrain pTer)
 
bool remTerrain (const LPTYTerrainGeoNode pTerGeoNode)
 
bool remTerrain (const LPTYTerrain pTer)
 
bool remTerrain (QString idTerrain)
 
void remAllTerrain ()
 
LPTYTerrain getTerrain (int index)
 
LPTYTerrainGeoNode findTerrain (const LPTYTerrain pTerrain)
 
TYTabCourbeNiveauGeoNodegetListCrbNiv ()
 
const TYTabCourbeNiveauGeoNodegetListCrbNiv () const
 
void setListCrbNiv (const TYTabCourbeNiveauGeoNode &list)
 
bool addCrbNiv (LPTYCourbeNiveauGeoNode pCrbNivGeoNode)
 
bool addCrbNiv (LPTYCourbeNiveau pCrbNiv)
 
bool remCrbNiv (const LPTYCourbeNiveauGeoNode pCrbNivGeoNode)
 
bool remCrbNiv (const LPTYCourbeNiveau pCrbNiv)
 
bool remCrbNiv (QString idCrbNiv)
 
void remAllCrbNiv ()
 
LPTYCourbeNiveau getCrbNiv (int index)
 
LPTYCourbeNiveauGeoNode findCrbNiv (const LPTYCourbeNiveau pCrbNiv)
 
int getDefTerrainIdx ()
 
void setDefTerrainIdx (const int &defTerrainIdx)
 
TYTerraingetDefTerrain ()
 
void setDefTerrain (int defTerrainIdx)
 
TYTabPointgetEmprise ()
 
const TYTabPointgetEmprise () const
 
void setEmprise (const TYTabPoint &pts, const bool &defTerrain=true)
 
void addPointEmprise (TYPoint pt)
 
TYPointgetPointEmprise (int index)
 
const TYPointgetPointEmprise (int index) const
 
void resetEmprise ()
 
LPTYAltimetrie getAltimetrie ()
 
const LPTYAltimetrie getAltimetrie () const
 
void setAltimetrie (const LPTYAltimetrie pAltimetrie)
 
double getTopoSize (OSegment3D &segDiagonale)
 
void sortTerrainsBySurface ()
 
void setEmpriseColor (const OColor &color)
 
OColor getEmpriseColor () const
 
void exportMesh (std::deque< OPoint3D > &points, std::deque< OTriangle > &triangles, std::deque< LPTYSol > &materials)
 Export the altimetry as a triangular mesh. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TYElement
static LPTYElementArray findTypeCollectionAndCallFromXML (DOM_Element parentElem, const char *type)
 
static void setLogInstances (bool log)
 
static bool getLogInstances ()
 
static TYElementgetInstance (TYUUID uuid)
 
static void purgeInstances ()
 
static bool testId (const TYUUID &id, const TYElement *pElem)
 
static TYUUID newID ()
 
static TYUUID fromString (QString id)
 
static QString toString (TYUUID &uuid)
 
static uint64 getConstructorCount ()
 
static uint64 getDestructorCount ()
 
static uint64 getIdGenerationCount ()
 
static bool getIsSavedOk ()
 
static void setIsSavedOk (const bool &toSave)
 
static void setRegenerateID (const bool &bRegenerate)
 
static bool getRegenerateID ()
 
- Static Public Member Functions inherited from OPrototype
static OPrototypefindAndClone (const char *className)
 
static int findPrototype (const char *className)
 
static OPrototypesafeDownCast (OPrototype *pObject)
 
static void add_factory (const char *, IOProtoFactory::ptr_type factory)
 
- Protected Member Functions inherited from OPrototype
 OPrototype ()
 
- Protected Attributes inherited from TYElement
QString _name
 Nom courant de l'element. More...
 
TYElement_pParent
 Reference sur l'element parent. More...
 
bool _bPutInInstanceList
 
unsigned int _copyCount
 
bool _inCurrentCalcul
 Indique si cet element est actif dans le Calcul courant. More...
 
bool _isAcousticModified
 Indicateur de modification acoustique. More...
 
bool _isGeometryModified
 Indicateur de modification de la geometrie. More...
 
LPTYElementGraphic _pGraphicObject
 L'object graphique metier associe a cet element. More...
 
void * _allUses
 Multi purpose void pointer (use for compatibility actually) More...
 
- Protected Attributes inherited from IRefCount
int m_refCount
 The reference counter. More...
 

Detailed Description

Centralise les elements de topographie.

Definition at line 51 of file TYTopographie.h.

Constructor & Destructor Documentation

◆ TYTopographie() [1/2]

TYTopographie::TYTopographie ( )

Constructeur.

Definition at line 34 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ TYTopographie() [2/2]

TYTopographie::TYTopographie ( const TYTopographie other)

Constructeur par copie.

Definition at line 82 of file TYTopographie.cpp.

◆ ~TYTopographie()

TYTopographie::~TYTopographie ( )
virtual

Destructeur.

Definition at line 87 of file TYTopographie.cpp.

Member Function Documentation

◆ addCrbNiv() [1/2]

bool TYTopographie::addCrbNiv ( LPTYCourbeNiveauGeoNode  pCrbNivGeoNode)

Ajoute un element a la liste des courbes de niveau.

Definition at line 881 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addCrbNiv() [2/2]

bool TYTopographie::addCrbNiv ( LPTYCourbeNiveau  pCrbNiv)

Ajoute un element a la liste des courbes de niveau.

Definition at line 902 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ addCrsEau() [1/2]

bool TYTopographie::addCrsEau ( LPTYCoursEauGeoNode  pCoursEauGeoNode)

Ajoute un element a la liste des cours d'eau.

Definition at line 624 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addCrsEau() [2/2]

bool TYTopographie::addCrsEau ( LPTYCoursEau  pCoursEau)

Ajoute un element a la liste des cours d'eau.

Definition at line 642 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ addPlanEau() [1/2]

bool TYTopographie::addPlanEau ( LPTYPlanEauGeoNode  pPlanEauGeoNode)

Ajoute un element a la liste des plans d'eau.

Definition at line 492 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPlanEau() [2/2]

bool TYTopographie::addPlanEau ( LPTYPlanEau  pPlanEau)

Ajoute un element a la liste des plans d'eau.

Definition at line 513 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ addPointEmprise()

void TYTopographie::addPointEmprise ( TYPoint  pt)
inline

Ajoute un point pour definir l'emprise.

Definition at line 353 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTerrain() [1/2]

bool TYTopographie::addTerrain ( LPTYTerrainGeoNode  pTerGeoNode)

Ajoute un element a la liste des terrains.

Definition at line 740 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTerrain() [2/2]

bool TYTopographie::addTerrain ( LPTYTerrain  pTer)

Ajoute un element a la liste des terrains.

Definition at line 758 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ concatTopo()

void TYTopographie::concatTopo ( const TYTopographie pTopo,
bool  emprise = true 
)

Concatene 2 topographie

Definition at line 458 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ deepCopy()

bool TYTopographie::deepCopy ( const TYElement pOther,
bool  copyId = true,
bool  pUseCopyTag = false 
)
virtual

Effectue une copie en allouant de la memoire (deep copy) et non pas en copiant seulement les pointeurs (shallow copy). Cette methode s'utilise comme l'operateur egal. L'ID peut ne pas etre copie, le parent n'est jamais copie.

Parameters
pOtherL'element a copier.
copyIdCopie l'identifiant unique ou pas.
Returns
true si la copie est possible; false sinon.

Reimplemented from TYElement.

Definition at line 135 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportMesh()

void TYTopographie::exportMesh ( std::deque< OPoint3D > &  points,
std::deque< OTriangle > &  triangles,
std::deque< LPTYSol > &  materials 
)

Export the altimetry as a triangular mesh.

This function expect empty deques and will clear the deque passed.

Parameters
pointsoutput argument filled with the vertices of the triangulation
trianglesoutput argument filled with the faces of the triangulation
materialsoutput argument filled with the materials of the faces

Definition at line 1154 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findCrbNiv()

LPTYCourbeNiveauGeoNode TYTopographie::findCrbNiv ( const LPTYCourbeNiveau  pCrbNiv)

Retrouve le GeoNode associe a une courbe de niveau.

Parameters
pCrbNivL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 997 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findCrsEau()

LPTYCoursEauGeoNode TYTopographie::findCrsEau ( const LPTYCoursEau  pCrsEau)

Retrouve le GeoNode associe a un cours d'eau.

Parameters
pCrsEauL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 724 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ findPlanEau()

LPTYPlanEauGeoNode TYTopographie::findPlanEau ( const LPTYPlanEau  pPlanEau)

Retrouve le GeoNode associe a un plan d'eau.

Parameters
pPlanEauL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 608 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ findTerrain()

LPTYTerrainGeoNode TYTopographie::findTerrain ( const LPTYTerrain  pTerrain)

Retrouve le GeoNode associe a un terrain.

Parameters
pTerrainL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 865 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ fromXML()

int TYTopographie::fromXML ( DOM_Element  domElement)
virtual

Extrait les informations a partir du noeud DOM passe afin de recuperer les parametres de la classe.

Parameters
domElementLe noeud DOM a partir duquel les parametres doivent etre recuperes.
Returns
1 si la recuperation des parametres a reussie.

Reimplemented from TYElement.

Definition at line 251 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ getAltimetrie() [1/2]

LPTYAltimetrie TYTopographie::getAltimetrie ( )
inline

Set/Get de l'altimetrie.

Definition at line 370 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getAltimetrie() [2/2]

const LPTYAltimetrie TYTopographie::getAltimetrie ( ) const
inline

Set/Get de l'altimetrie.

Definition at line 374 of file TYTopographie.h.

◆ getCrbNiv()

LPTYCourbeNiveau TYTopographie::getCrbNiv ( int  index)
inline

Retourne une courbe de niveau a partir de son index.

Definition at line 314 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCrsEau()

LPTYCoursEau TYTopographie::getCrsEau ( int  index)
inline

Retourne un cours d'eau a partir de son index.

Definition at line 214 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDefTerrain()

TYTerrain * TYTopographie::getDefTerrain ( )

Set/Get du terrain par default.

Definition at line 1113 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ getDefTerrainIdx()

int TYTopographie::getDefTerrainIdx ( )
inline

Set/Get du terrain par default.

Definition at line 327 of file TYTopographie.h.

◆ getEmprise() [1/2]

TYTabPoint& TYTopographie::getEmprise ( )
inline

Set/Get de l'emprise de la topographie.

Definition at line 341 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getEmprise() [2/2]

const TYTabPoint& TYTopographie::getEmprise ( ) const
inline

Set/Get de l'emprise de la topographie.

Definition at line 345 of file TYTopographie.h.

Here is the call graph for this function:

◆ getEmpriseColor()

OColor TYTopographie::getEmpriseColor ( ) const
inline

Definition at line 399 of file TYTopographie.h.

Here is the call graph for this function:

◆ getListCrbNiv() [1/2]

TYTabCourbeNiveauGeoNode& TYTopographie::getListCrbNiv ( )
inline

Set/Get de la liste des courbes de niveau.

Definition at line 277 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getListCrbNiv() [2/2]

const TYTabCourbeNiveauGeoNode& TYTopographie::getListCrbNiv ( ) const
inline

Set/Get de la liste des courbes de niveau.

Definition at line 281 of file TYTopographie.h.

◆ getListCrsEau() [1/2]

TYTabCoursEauGeoNode& TYTopographie::getListCrsEau ( )
inline

Set/Get de la liste des cours d'eau.

Definition at line 177 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getListCrsEau() [2/2]

const TYTabCoursEauGeoNode& TYTopographie::getListCrsEau ( ) const
inline

Set/Get de la liste des cours d'eau.

Definition at line 181 of file TYTopographie.h.

◆ getListPlanEau() [1/2]

TYTabPlanEauGeoNode& TYTopographie::getListPlanEau ( )
inline

Set/Get de la liste des plans d'eau.

Definition at line 127 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getListPlanEau() [2/2]

const TYTabPlanEauGeoNode& TYTopographie::getListPlanEau ( ) const
inline

Set/Get de la liste des plans d'eau.

Definition at line 131 of file TYTopographie.h.

◆ getListTerrain() [1/2]

TYTabTerrainGeoNode& TYTopographie::getListTerrain ( )
inline

Set/Get de la liste des terrains.

Definition at line 227 of file TYTopographie.h.

Here is the caller graph for this function:

◆ getListTerrain() [2/2]

const TYTabTerrainGeoNode& TYTopographie::getListTerrain ( ) const
inline

Set/Get de la liste des terrains.

Definition at line 231 of file TYTopographie.h.

◆ getPlanEau()

LPTYPlanEau TYTopographie::getPlanEau ( int  index)
inline

Retourne un plan d'eau a partir de son index.

Definition at line 164 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPointEmprise() [1/2]

TYPoint& TYTopographie::getPointEmprise ( int  index)
inline

Retourne un point de l'emprise a partir de son index.

Definition at line 357 of file TYTopographie.h.

◆ getPointEmprise() [2/2]

const TYPoint& TYTopographie::getPointEmprise ( int  index) const
inline

Retourne un point de l'emprise a partir de son index.

Definition at line 361 of file TYTopographie.h.

◆ getTerrain()

LPTYTerrain TYTopographie::getTerrain ( int  index)
inline

Retourne un terrain a partir de son index.

Definition at line 264 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTopoSize()

double TYTopographie::getTopoSize ( OSegment3D segDiagonale)

Retourne la dimension caracteristique de la topographie (diagonale de la boite englobante)

Definition at line 1013 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool TYTopographie::operator!= ( const TYTopographie other) const

Operateur !=.

Definition at line 130 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ operator=()

TYTopographie & TYTopographie::operator= ( const TYTopographie other)

Operateur =.

Definition at line 96 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ operator==()

bool TYTopographie::operator== ( const TYTopographie other) const

Operateur ==.

Definition at line 113 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ purge()

void TYTopographie::purge ( )

Vide tous les tableaux.

Definition at line 441 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllCrbNiv()

void TYTopographie::remAllCrbNiv ( )

Suppression de tous les elements.

Definition at line 987 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllCrsEau()

void TYTopographie::remAllCrsEau ( )

Suppression de tous les elements.

Definition at line 718 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllPlanEau()

void TYTopographie::remAllPlanEau ( )

Suppression de tous les elements.

Definition at line 598 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllTerrain()

void TYTopographie::remAllTerrain ( )

Suppression de tous les elements.

Definition at line 859 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remCrbNiv() [1/3]

bool TYTopographie::remCrbNiv ( const LPTYCourbeNiveauGeoNode  pCrbNivGeoNode)

Supprime une entree a la liste des courbes de niveau.

Definition at line 907 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remCrbNiv() [2/3]

bool TYTopographie::remCrbNiv ( const LPTYCourbeNiveau  pCrbNiv)

Supprime une entree a la liste des courbes de niveau.

Definition at line 934 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remCrbNiv() [3/3]

bool TYTopographie::remCrbNiv ( QString  idCrbNiv)

Supprime une entree a la liste des courbes de niveau a partir de son identifiant.

Definition at line 961 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remCrsEau() [1/3]

bool TYTopographie::remCrsEau ( const LPTYCoursEauGeoNode  pCoursEauGeoNode)

Supprime une entree a la liste des cours d'eau.

Definition at line 647 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remCrsEau() [2/3]

bool TYTopographie::remCrsEau ( const LPTYCoursEau  pCoursEau)

Supprime une entree a la liste des cours d'eau.

Definition at line 671 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remCrsEau() [3/3]

bool TYTopographie::remCrsEau ( QString  idCrsEau)

Supprime une entree a la liste des cours d'eau a partir de son identifiant.

Definition at line 695 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remPlanEau() [1/3]

bool TYTopographie::remPlanEau ( const LPTYPlanEauGeoNode  pPlanEauGeoNode)

Supprime une entree a la liste des plans d'eau.

Definition at line 518 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remPlanEau() [2/3]

bool TYTopographie::remPlanEau ( const LPTYPlanEau  pPlanEau)

Supprime une entree a la liste des plans d'eau.

Definition at line 545 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remPlanEau() [3/3]

bool TYTopographie::remPlanEau ( QString  idPlanEau)

Supprime une entree a la liste des plans d'eau a partir de son identifiant.

Definition at line 572 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remTerrain() [1/3]

bool TYTopographie::remTerrain ( const LPTYTerrainGeoNode  pTerGeoNode)

Supprime une entree a la liste des terrains.

Definition at line 763 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remTerrain() [2/3]

bool TYTopographie::remTerrain ( const LPTYTerrain  pTer)

Supprime une entree a la liste des terrains.

Definition at line 798 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ remTerrain() [3/3]

bool TYTopographie::remTerrain ( QString  idTerrain)

Supprime une entree a la liste des terrains a partir de son identifiant.

Definition at line 830 of file TYTopographie.cpp.

Here is the call graph for this function:

◆ reparent()

void TYTopographie::reparent ( )
virtual

Reattribut le bon parent aux composants de cette topographie.

Definition at line 407 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetEmprise()

void TYTopographie::resetEmprise ( )
inline

Reinitialise l'emprise.

Definition at line 365 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAltimetrie()

void TYTopographie::setAltimetrie ( const LPTYAltimetrie  pAltimetrie)
inline

Set/Get de l'altimetrie.

Definition at line 378 of file TYTopographie.h.

Here is the call graph for this function:

◆ setDefTerrain()

void TYTopographie::setDefTerrain ( int  defTerrainIdx)

Set/Get du terrain par default.

Definition at line 1093 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDefTerrainIdx()

void TYTopographie::setDefTerrainIdx ( const int &  defTerrainIdx)
inline

Definition at line 328 of file TYTopographie.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEmprise()

void TYTopographie::setEmprise ( const TYTabPoint pts,
const bool &  defTerrain = true 
)

Set/Get de l'emprise de la topographie.

Definition at line 1081 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEmpriseColor()

void TYTopographie::setEmpriseColor ( const OColor color)
inline

sget couleur de l'emprise

Definition at line 398 of file TYTopographie.h.

◆ setIsGeometryModified()

void TYTopographie::setIsGeometryModified ( bool  isModified)
virtual

Set/Get de l'indicateur de modification de la geometrie.

Reimplemented from TYElement.

Definition at line 400 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setListCrbNiv()

void TYTopographie::setListCrbNiv ( const TYTabCourbeNiveauGeoNode list)
inline

Set/Get de la liste des courbes de niveau.

Definition at line 285 of file TYTopographie.h.

Here is the call graph for this function:

◆ setListCrsEau()

void TYTopographie::setListCrsEau ( const TYTabCoursEauGeoNode list)
inline

Set/Get de la liste des cours d'eau.

Definition at line 185 of file TYTopographie.h.

Here is the call graph for this function:

◆ setListPlanEau()

void TYTopographie::setListPlanEau ( const TYTabPlanEauGeoNode list)
inline

Set/Get de la liste des plans d'eau.

Definition at line 135 of file TYTopographie.h.

Here is the call graph for this function:

◆ setTerrain()

void TYTopographie::setTerrain ( const TYTabTerrainGeoNode list)
inline

Set/Get de la liste des terrains.

Definition at line 235 of file TYTopographie.h.

Here is the call graph for this function:

◆ sortTerrainsBySurface()

void TYTopographie::sortTerrainsBySurface ( )

Tri des terrains par surface decroissante

Definition at line 1119 of file TYTopographie.cpp.

Here is the caller graph for this function:

◆ toString()

std::string TYTopographie::toString ( ) const
virtual

Retourne une chaine de caractere donnant des informations sur cet objet (utile pour le debugage).

Returns
Une chaine de caractere informative sur cet objet.

Reimplemented from TYElement.

Definition at line 193 of file TYTopographie.cpp.

◆ toXML()

DOM_Element TYTopographie::toXML ( DOM_Element domElement)
virtual

Construit une arborescence DOM a partir du noeud passe afin de sauvegarder les parametres au format XML.

Parameters
domElementLe noeud DOM parent a partir duquel l'arborescence doit etre creee.
Returns
Le noeud DOM nouvellement cree.

Reimplemented from TYElement.

Definition at line 198 of file TYTopographie.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCurrentCalcul()

void TYTopographie::updateCurrentCalcul ( TYListID listID,
bool  recursif = true 
)
virtual

Verifie si cet element est present dans la liste d'ID passee. S'il est present cela signifie qu'il est actif dans le Calcul courant, c'est cet etat qui est retourne.

Parameters
listIDLa liste d'ID du Calcul courant.
recursifIndique si la mise a jour du Calcul courant doit etre recursive.
Returns
true si cet objet est actif dans le Calcul concerne; false sinon.

Reimplemented from TYElement.

Definition at line 436 of file TYTopographie.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _DefTerrainIdx

int TYTopographie::_DefTerrainIdx
protected

Terrain par default.

Definition at line 424 of file TYTopographie.h.

◆ _emprise

TYTabPoint TYTopographie::_emprise
protected

Emprise.

Definition at line 436 of file TYTopographie.h.

◆ _empriseColor

OColor TYTopographie::_empriseColor
protected

Definition at line 437 of file TYTopographie.h.

◆ _lastIndice

short TYTopographie::_lastIndice
private

Definition at line 445 of file TYTopographie.h.

◆ _listCrbNiv

TYTabCourbeNiveauGeoNode TYTopographie::_listCrbNiv
protected

Liste des courbes de niveau.

Definition at line 418 of file TYTopographie.h.

◆ _listCrsEau

TYTabCoursEauGeoNode TYTopographie::_listCrsEau
protected

Liste des cours d'eau.

Definition at line 430 of file TYTopographie.h.

◆ _listPlanEau

TYTabPlanEauGeoNode TYTopographie::_listPlanEau
protected

Liste des plans d'eau.

Definition at line 433 of file TYTopographie.h.

◆ _listTerrain

TYTabTerrainGeoNode TYTopographie::_listTerrain
protected

Liste des terrains.

Definition at line 427 of file TYTopographie.h.

◆ _pAltimetrie

LPTYAltimetrie TYTopographie::_pAltimetrie
protected

Altimetrie.

Definition at line 421 of file TYTopographie.h.

◆ _pSortedTerrains

TYTerrainGeoNode** TYTopographie::_pSortedTerrains
protected

Liste des terrains tries (on fait expres un tableau a part pour ne pas perturber le terrain par defaut)

Definition at line 440 of file TYTopographie.h.

◆ _tabElemPts

std::vector<TYStructElemPts> TYTopographie::_tabElemPts
private

Definition at line 444 of file TYTopographie.h.


The documentation for this class was generated from the following files: