91 TYRay* pRay = getElement();
97 glBegin(GL_LINE_STRIP);
101 for (
unsigned int j = 0; j < pRay->
getEvents().size(); j++)
109 glVertex3f(pt.
_x, pt.
_y, pt.
_z);
119 glVertex3f(pt.
_x, pt.
_y, pt.
_z);
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
classe graphique pour un element de base
bool _visible
Inique si l'element est visible.
virtual void update(bool force=false)
virtual void computeBoundingBox()
void getRayEventColor(acoustic_event &e)
TYRayGraphic(TYRay *pElement)
virtual void update(bool force=false)
static bool _gVisible
Indique si toutes les instances sont visibles.
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
Classe decrivant un rayon acoustique gere par un lancer de rayon. Cette classe doit permettre la mode...
This class store data and provide functions to manipulate event in the acoustic context.
ACOUSTIC_EVENT_TYPES type
Event type.
OPoint3D pos
Event position.
virtual tab_acoustic_events & getEvents()
Get the events list of the ray.