21 #include <boost/foreach.hpp>
41 childs.push_back(pTYElementGraphic);
44 pTYElementGraphic->
getChilds(childs, recursif);
59 if (!getElement()->isInCurrentCalcul())
68 tabpts.reserve(getElement()->getTabPoint().size());
70 BOOST_FOREACH (
TYPoint pt, getElement()->getTabPoint())
77 if (mode == GL_SELECT)
83 glColor4fv(getElement()->getColor());
86 if (mode == GL_SELECT)
Representation graphique d'une ligne acoustique (fichier header)
std::vector< TYPoint > TYTabPoint
Collection de TYPoint.
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
Gestion de la table de correspondance indice/element pour le picking (fichier header)
virtual void Enlarge(const OPoint3D &pt)
Enlarge the box with the point if the point is outside the box.
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
virtual void computeBoundingBox()
TYAcousticLineGraphic(TYAcousticLine *pElement)
LPTYPolyLineGraphic _pPolyLineGraphic
virtual void update(bool force=false)
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)
void setElement(TYElement *pElt)
void highlight(bool state=true)
static void addElement(TYElement *pElt)
classe graphique pour representer une polyligne a partir d'un tableau de points.
void setTabPoint(const TYTabPoint &tabPts)
virtual void computeBoundingBox()
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
TYTabPoint & getTabPoint()