43 TYElementGraphic* pTYElementGraphic = getElement()->getPalette()->getGraphicObject();
47 pTYElementGraphic = getElement()->getPanel()->getGraphicObject();
58 pMaillage->
getPalette()->getGraphicObject()->update(force);
69 for (
unsigned int i = 0; i < pPtsCalcul->size(); i++)
71 pPtCalcul = pPtsCalcul->at(i);
79 if (getElement()->etat() ==
false)
90 if (mode == GL_SELECT)
111 glBegin(GL_LINE_STRIP);
114 for (
unsigned int i = 0; i < pPtsCalcul->size(); i++)
116 pPtCalcul = pPtsCalcul->at(i);
119 switch (getElement()->getDataType())
132 const OColor& color = getElement()->getPalette()->getColorFromValue(value);
133 glColor4f(color.
r, color.
g, color.
b, opacity);
134 glVertex3f(pPtCalcul->
_x, pPtCalcul->
_y, pPtCalcul->
_z);
138 if (mode == GL_SELECT)
144 TYElementGraphic* pTYElementGraphic = getElement()->getPanel()->getGraphicObject();
154 GLfloat pointSize = NAN;
155 glGetFloatv(GL_POINT_SIZE, &pointSize);
163 if (mode == GL_COMPILE)
168 glPointSize(pointSize);
170 TYElementGraphic* pTYElementGraphic = getElement()->getPalette()->getGraphicObject();
std::vector< LPTYPointCalcul > TYTabLPPointCalcul
Collection de pointeurs de TYPointCalcul.
#define TYDIRPREFERENCEMANAGER
Representation graphique d'un maillage lineaire (fichier header)
Representation d'une palette graphique (fichier header)
Representation graphique d'un panel d'informations (fichier header)
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
static LPOSizeManager get()
double valGlobDBA() const
Compute the global value dB[A] of a one-third Octave spectrum.
double valGlobDBLin() const
Compute the global value dB[Lin] of a one-third Octave spectrum.
double getValueReal(double freq)
classe graphique pour un element de base
void drawName(TYElement *pModelerElement=nullptr)
static OBox _globalBoundingBox
bool _visible
Inique si l'element est visible.
bool _highlight
Indique si le highlight est active pour cet element.
virtual void update(bool force=false)
void setVisible(bool visible=true)
void drawLineBoundingBox()
virtual void update(bool force=false)
TYLinearMaillageGraphic(TYLinearMaillage *pElement)
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
virtual ~TYLinearMaillageGraphic()
virtual void computeBoundingBox()
Classe de definition d'un maillage lineaire.
LPTYPalette getPalette()
Get de la palette (_pPalette)
Classe graphique pour representer une palette.
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
classe graphique pour un panel d'informations
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
static void addElement(TYElement *pElt)
Classe de definition d'un point de calcul.C'est une classe derivee a TYPoint avec en plus un spectrep...
virtual LPTYSpectre getSpectre()
Get du spectre resultat d'un calcul donne.