43 for (i = 0; i < pTabRoute->size(); i++)
45 pRouteGeoNode = pTabRoute->at(i);
46 Localchilds.push_back(pRouteGeoNode->getGraphicObject().getRealPointer());
53 for (i = 0; i < pTabResTransp->size(); i++)
55 pResTranspGeoNode = pTabResTransp->at(i);
56 Localchilds.push_back(pResTranspGeoNode->getGraphicObject().getRealPointer());
62 for (i = 0; i < pTabBat->size(); i++)
64 pBatGeoNode = pTabBat->at(i);
65 Localchilds.push_back(pBatGeoNode->getGraphicObject().getRealPointer());
71 for (i = 0; i < pTabMachine->size(); i++)
73 pMachineGeoNode = pTabMachine->at(i);
74 Localchilds.push_back(pMachineGeoNode->getGraphicObject().getRealPointer());
80 for (i = 0; i < pTabSrc->size(); i++)
82 pSrcPonctGeoNode = pTabSrc->at(i);
83 Localchilds.push_back(pSrcPonctGeoNode->getGraphicObject().
getRealPointer());
86 TYListPtrTYElementGraphic::iterator ite = Localchilds.begin();
88 for (i = 0; i < Localchilds.size(); i++)
91 childs.push_back(pTYElementGraphic);
94 pTYElementGraphic->
getChilds(childs, recursif);
107 for (i = 0; i < pTabRoute->size(); i++)
109 pRouteGeoNode = pTabRoute->at(i);
110 pRouteGeoNode->getGraphicObject()->display(renderContext);
116 for (i = 0; i < pTabResTransp->size(); i++)
118 pResTranspGeoNode = pTabResTransp->at(i);
119 pResTranspGeoNode->getGraphicObject()->display(renderContext);
125 for (i = 0; i < pTabBat->size(); i++)
127 pBatGeoNode = pTabBat->at(i);
128 pBatGeoNode->getGraphicObject()->display(renderContext);
134 for (i = 0; i < pTabMachine->size(); i++)
136 pMachineGeoNode = pTabMachine->at(i);
137 pMachineGeoNode->getGraphicObject()->display(renderContext);
143 for (i = 0; i < pTabSrc->size(); i++)
145 pSrcPonctGeoNode = pTabSrc->at(i);
146 pSrcPonctGeoNode->getGraphicObject()->display(renderContext);
std::vector< LPTYBatimentGeoNode > TYTabBatimentGeoNode
Collection de noeuds geometriques de type TYBatiment.
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
Representation graphique d'une infrastructure (fichier header)
std::vector< LPTYMachineGeoNode > TYTabMachineGeoNode
Collection de noeuds geometriques de type TYMachine.
Contexte de rendu utilisé par les fonctions d'affichage.
std::vector< LPTYReseauTransportGeoNode > TYTabReseauTransportGeoNode
Collection de noeuds geometriques de type TYReseauTransport.
std::vector< LPTYRouteGeoNode > TYTabRouteGeoNode
Collection of geometrical nodes of type TYRoute.
std::vector< LPTYSourcePonctuelleGeoNode > TYTabSourcePonctuelleGeoNode
Collection de noeuds geometriques de type TYSourcePonctuelle.
classe graphique pour un element de base
virtual void update(bool force=false)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
TYInfrastructureGraphic(TYInfrastructure *pElement)
virtual void display(TYRenderContext &renderContext)
virtual void update(bool force=false)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)