16 #ifndef __TY_TOPOGRAPHIE__
17 #define __TY_TOPOGRAPHIE__
92 virtual bool deepCopy(
const TYElement* pOther,
bool copyId =
true,
bool pUseCopyTag =
false);
94 virtual std::string
toString()
const;
510 void exportMesh(std::deque<OPoint3D>& points, std::deque<OTriangle>& triangles,
511 std::deque<LPTYSol>& materials);
All base classes related to 3D manipulation.
std::vector< LPTYCourbeNiveauGeoNode > TYTabCourbeNiveauGeoNode
Collection de noeuds geometriques de type TYCourbeNiveau.
std::vector< LPTYCoursEauGeoNode > TYTabCoursEauGeoNode
Collection de noeuds geometriques de type TYCoursEau.
std::vector< TYPoint > TYTabPoint
Collection de TYPoint.
std::list< TYUUID > TYListID
Collection d'identifiants.
#define TY_EXT_GRAPHIC_DECL_ONLY(classname)
#define OPROTODECL(classname)
#define TY_EXTENSION_DECL_ONLY(classname)
std::vector< LPTYPlanEauGeoNode > TYTabPlanEauGeoNode
Collection de noeuds geometriques de type TYPlanEau.
std::vector< LPTYTerrainGeoNode > TYTabTerrainGeoNode
Collection de noeuds geometriques de type TYTerrain.
TYGeometryNode TYTopographieGeoNode
Noeud geometrique de type TYTopographie.
std::vector< LPTYTopographieGeoNode > TYTabTopographieGeoNode
Collection de noeuds geometriques de type TYTopographie.
SmartPtr< TYTopographieGeoNode > LPTYTopographieGeoNode
Smart Pointer sur TYTopographieGeoNode.
std::vector< TYStructSegPtrTer > TYTabStructSegPtrTer
Tableau de structures contenant un segment et un terrain.
static OPrototype * safeDownCast(OPrototype *pObject)
Class to define a segment.
void setParent(TYElement *pParent)
TYTerrain * getDefTerrain()
int _DefTerrainIdx
Terrain par default.
const TYTabPoint & getEmprise() const
LPTYCourbeNiveau getCrbNiv(int index)
const TYTabCoursEauGeoNode & getListCrsEau() const
OColor getEmpriseColor() const
virtual void setIsGeometryModified(bool isModified)
LPTYCourbeNiveauGeoNode findCrbNiv(const LPTYCourbeNiveau pCrbNiv)
TYTabPlanEauGeoNode & getListPlanEau()
TYTerrainGeoNode ** _pSortedTerrains
void exportMesh(std::deque< OPoint3D > &points, std::deque< OTriangle > &triangles, std::deque< LPTYSol > &materials)
Export the altimetry as a triangular mesh.
const LPTYAltimetrie getAltimetrie() const
LPTYTerrainGeoNode findTerrain(const LPTYTerrain pTerrain)
bool remCrbNiv(const LPTYCourbeNiveauGeoNode pCrbNivGeoNode)
bool addCrsEau(LPTYCoursEauGeoNode pCoursEauGeoNode)
LPTYCoursEau getCrsEau(int index)
virtual std::string toString() const
virtual int fromXML(DOM_Element domElement)
virtual DOM_Element toXML(DOM_Element &domElement)
void addPointEmprise(TYPoint pt)
void setEmpriseColor(const OColor &color)
bool operator!=(const TYTopographie &other) const
Operateur !=.
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
LPTYPlanEauGeoNode findPlanEau(const LPTYPlanEau pPlanEau)
LPTYAltimetrie getAltimetrie()
bool remPlanEau(const LPTYPlanEauGeoNode pPlanEauGeoNode)
TYPoint & getPointEmprise(int index)
bool operator==(const TYTopographie &other) const
Operateur ==.
void setDefTerrain(int defTerrainIdx)
void setListCrbNiv(const TYTabCourbeNiveauGeoNode &list)
void setDefTerrainIdx(const int &defTerrainIdx)
TYTabCoursEauGeoNode & getListCrsEau()
LPTYCoursEauGeoNode findCrsEau(const LPTYCoursEau pCrsEau)
bool addCrbNiv(LPTYCourbeNiveauGeoNode pCrbNivGeoNode)
double getTopoSize(OSegment3D &segDiagonale)
virtual void updateCurrentCalcul(TYListID &listID, bool recursif=true)
TYTabPlanEauGeoNode _listPlanEau
Liste des plans d'eau.
TYTabCoursEauGeoNode _listCrsEau
Liste des cours d'eau.
TYTabTerrainGeoNode _listTerrain
Liste des terrains.
TYTabCourbeNiveauGeoNode _listCrbNiv
Liste des courbes de niveau.
bool addPlanEau(LPTYPlanEauGeoNode pPlanEauGeoNode)
void setAltimetrie(const LPTYAltimetrie pAltimetrie)
LPTYAltimetrie _pAltimetrie
Altimetrie.
LPTYPlanEau getPlanEau(int index)
LPTYTerrain getTerrain(int index)
void setTerrain(const TYTabTerrainGeoNode &list)
bool remCrsEau(const LPTYCoursEauGeoNode pCoursEauGeoNode)
TYTabPoint & getEmprise()
void setEmprise(const TYTabPoint &pts, const bool &defTerrain=true)
const TYPoint & getPointEmprise(int index) const
TYTopographie & operator=(const TYTopographie &other)
Operateur =.
TYTabCourbeNiveauGeoNode & getListCrbNiv()
bool addTerrain(LPTYTerrainGeoNode pTerGeoNode)
TYTabPoint _emprise
Emprise.
void setListCrsEau(const TYTabCoursEauGeoNode &list)
const TYTabPlanEauGeoNode & getListPlanEau() const
TYTabTerrainGeoNode & getListTerrain()
void concatTopo(const TYTopographie *pTopo, bool emprise=true)
void sortTerrainsBySurface()
const TYTabTerrainGeoNode & getListTerrain() const
bool remTerrain(const LPTYTerrainGeoNode pTerGeoNode)
std::vector< TYStructElemPts > _tabElemPts
void setListPlanEau(const TYTabPlanEauGeoNode &list)
const TYTabCourbeNiveauGeoNode & getListCrbNiv() const
Structure contenant un segment et un terrain.