44 for (i = 0; i < getElement()->getNbSrcs(); i++)
47 pSrcPonct = getElement()->getSrc(i);
49 childs.push_back(pTYElementGraphic);
52 pTYElementGraphic->
getChilds(childs, recursif);
65 for (i = 0; i < getElement()->getNbSrcs(); i++)
68 pSrcPonct = getElement()->getSrc(i);
69 pSrcPonct->getGraphicObject()->computeBoundingBox();
81 for (i = 0; i < getElement()->getNbSrcs(); i++)
84 pSrcPonct = getElement()->getSrc(i);
85 pSrcPonct->getGraphicObject()->display(pModelerElement, mode);
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
Representation graphique d'une surface de source (fichier header)
virtual void Enlarge(const OPoint3D &pt)
Enlarge the box with the point if the point is outside the box.
classe graphique pour un element de base
bool _visible
Inique si l'element est visible.
virtual void update(bool force=false)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
virtual void update(bool force=false)
virtual void computeBoundingBox()
bool _srcVisible
Indique si cette instance est visible.
TYSourceSurfacicGraphic(TYSourceSurfacic *pElement)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
static bool _gVisible
Indique si toutes les instances sont visibles.
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)