36 for (
int i = 0; i < pTab->size(); i++)
39 pTYElementGraphic = pAccSurfGeoNode->getGraphicObject();
43 pTYElementGraphic->
getChilds(childs, recursif);
54 for (
int i = 0; i < pTab->size(); i++)
57 pAccSurfGeoNode->getGraphicObject()->computeBoundingBox();
61 OBox bb = pAccSurfGeoNode->getGraphicObject()->GetBox();
71 if (mode == GL_COMPILE)
88 for (
int i = 0; i < pTab->size(); i++)
93 if (mode == GL_SELECT)
101 pAccSurfGeoNode->getGraphicObject()->display(pModelerElement, mode);
103 if (mode == GL_SELECT)
Representation graphique d'un ensemble de surfaces acoustiques (fichier header)
std::vector< LPTYAcousticSurfaceGeoNode > TYTabAcousticSurfaceGeoNode
Collection de noeuds geometriques de type TYAcousticSurface.
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 Translate(const OPoint3D &vectorTranslate)
Translate this box.
OPoint3D _origin
The origin point.
virtual void update(bool force=false)
virtual void computeBoundingBox()
TYAcousticSurfaceNodeGraphic(TYAcousticSurfaceNode *pElement)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
classe graphique pour un element de base
void drawName(TYElement *pModelerElement=nullptr)
bool _highlight
Indique si le highlight est active pour cet element.
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
void drawLineBoundingBox()
const ORepere3D & getORepere3D() const
static void addElement(TYElement *pElt)