43 for (
unsigned int i = 0; i < pTab.size(); i++)
45 pAccVolGeoNode = pTab[i];
46 pTYElementGraphic = pAccVolGeoNode->getGraphicObject();
50 pTYElementGraphic->
getChilds(childs, recursif);
58 if (!getElement()->isInCurrentCalcul())
64 if (mode == GL_COMPILE)
86 for (
unsigned int i = 0; i < pTab->size(); i++)
89 pAccVolGeoNode = pTab->operator[](i);
90 pAccVolGeoNode->getGraphicObject()->display(pModelerElement, mode);
103 for (
unsigned int i = 0; i < pTab->size(); i++)
106 pAccVolGeoNode = pTab->operator[](i);
107 pAccVolGeoNode->getGraphicObject()->computeBoundingBox();
111 OBox bb = pAccVolGeoNode->getGraphicObject()->GetBox();
std::vector< LPTYAcousticFaceSetGeoNode > TYTabAcousticVolumeGeoNode
Collection de noeuds geometriques de type TYAcousticFaceSet.
Representation graphique d'un ensemble de volumes acoustiques (fichier header)
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
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 getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
TYAcousticVolumeNodeGraphic(TYAcousticVolumeNode *pElement)
virtual void update(bool force=false)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
virtual void computeBoundingBox()
classe graphique pour un element de base
void drawName(TYElement *pModelerElement=nullptr)
static OBox _globalBoundingBox
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 drawLineBoundingBox()
const ORepere3D & getORepere3D() const