36 for (
int i = 0; i < 6; i++)
40 TYElementGraphic* pTYElementGraphic = pAccRectNodeGeoNode->getGraphicObject().getRealPointer();
41 childs.push_back(pTYElementGraphic);
44 pTYElementGraphic->
getChilds(childs, recursif);
58 pAccRectNodeGeoNode1->getGraphicObject()->computeBoundingBox();
59 OBox rect_bb1 = pAccRectNodeGeoNode1->getGraphicObject()->GetBox();
61 pAccRectNodeGeoNode2->getGraphicObject()->computeBoundingBox();
62 OBox rect_bb2 = pAccRectNodeGeoNode2->getGraphicObject()->GetBox();
80 if (mode == GL_COMPILE)
98 for (i = 0; i < 6; i++)
102 pAccRectNodeGeoNode->getGraphicObject()->display(pModelerElement, mode);
Representation graphique d'une boite acoustique (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.
OPoint3D _min
Minimal coordinates of the OBox.
OPoint3D _max
Maximal coordinates of the OBox.
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursif=true)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
TYAcousticBoxGraphic(TYAcousticBox *pElement)
virtual void computeBoundingBox()
virtual void update(bool force=false)
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)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
void drawLineBoundingBox()