32 TYFaceSet* pFaces = getElement()->getFaceSet();
35 pFaces->getGraphicObject()->update();
44 glColor4fv(getElement()->getColor());
46 if (mode == GL_SELECT)
52 TYFaceSet* pFaces = getElement()->getFaceSet();
53 pFaces->getGraphicObject()->display(pModelerElement, mode);
55 if (mode == GL_SELECT)
68 size_t nbPts = sommets.size();
70 for (
size_t i = 0; i < nbPts; i++)
Representation graphique d'un ensemble de faces acoustiques (fichier header)
std::vector< TYPoint > TYTabPoint
Collection de TYPoint.
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.
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
TYAcousticFaceSetGraphic(TYAcousticFaceSet *pElement)
virtual void update(bool force=false)
virtual void computeBoundingBox()
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
classe graphique pour un element de base
virtual void update(bool force=false)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
static void addElement(TYElement *pElt)