42 pTYElementGraphic = getElement()->getSrcSurf()->getGraphicObject();
43 childs.push_back(pTYElementGraphic);
46 pTYElementGraphic->
getChilds(childs, recursif);
49 pTYElementGraphic = getElement()->getShape()->getGraphicObject();
50 childs.push_back(pTYElementGraphic);
53 pTYElementGraphic->
getChilds(childs, recursif);
75 OColor color = getElement()->getColor();
79 if (getElement()->getIsSub() && strcmp(getElement()->getClassName(),
"TYMurElement") == 0)
96 getElement()->getSrcSurf()->getGraphicObject()->display(renderContext);
106 getElement()->getShape()->getGraphicObject()->display(renderContext);
Representation graphique d'un rectangle acoustique (fichier header)
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
#define TYDIRPREFERENCEMANAGER
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.
@ Overlay
The current render pass is for overlay elements.
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 getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
virtual OBox computeBoundingBox() const
virtual void update(bool force=false)
TYAcousticRectangleGraphic(TYAcousticRectangle *pElement)
classe graphique pour un element de base
void drawName(TYRenderContext &renderContext)
bool _visible
Inique si l'element est visible.
virtual void update(bool force=false)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
static void addElement(TYElement *pElt)