40 pTYElementGraphic = getElement()->getSrcSurf()->getGraphicObject();
41 childs.push_back(pTYElementGraphic);
44 pTYElementGraphic->
getChilds(childs, recursif);
47 pTYElementGraphic = getElement()->getPolygon()->getGraphicObject();
48 childs.push_back(pTYElementGraphic);
51 pTYElementGraphic->
getChilds(childs, recursif);
66 OColor color = getElement()->getColor();
69 getElement()->getSrcSurf()->getGraphicObject()->display(renderContext);
70 getElement()->getPolygon()->getGraphicObject()->setBoundingBoxVisible(
_highlight);
78 getElement()->getPolygon()->getGraphicObject()->display(renderContext);
Representation graphique d'un polygone accoustique (fichier header)
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
Gestion de la table de correspondance indice/element pour le picking (fichier header)
Contexte de rendu utilisé par les fonctions d'affichage.
@ Picking
The current render is only done for picking purpose.
virtual void Enlarge(const OPoint3D &pt)
Enlarge the box with the point if the point is outside the box.
virtual void display(TYRenderContext &renderContext)
virtual void update(bool force=false)
TYAcousticPolygonGraphic(TYAcousticPolygon *pElement)
virtual OBox computeBoundingBox() const
void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
classe graphique pour un element de base
bool _highlight
Indique si le highlight est active pour cet element.
virtual void update(bool force=false)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
static void addElement(TYElement *pElt)