27 #ifndef __TY_BOUNDARY_NOISE_MAP_GRAPHIC__
28 #define __TY_BOUNDARY_NOISE_MAP_GRAPHIC__
70 virtual void update(
bool force =
false);
77 virtual void display(
TYElement* pModelerElement =
nullptr, GLenum mode = GL_RENDER);
118 virtual void displayLines(
float opacity = 1.f,
bool invertColors =
false);
list< TYElementGraphic * > TYListPtrTYElementGraphic
List de pointeur de TYElement.
#define TY_DECL_METIER_GRAPHIC(classname)
Representation graphique d'une polyligne (fichier header)
Rendering class for the BoundaryNoiseMap entity.
enum TYBoundaryNoiseMapGraphic::RenderingMode _Rendering
double _paletteX
The position of the palette in x.
virtual void setRendering(int mode)
Set the rendering mode (surface, isocurve or both).
virtual void displaySurface(float opacity=1.f)
Display the surface of the mesh.
double _paletteY
The position of the palette in y.
double _paletteW
The width of the palette.
virtual void displayLines(float opacity=1.f, bool invertColors=false)
Display the isocurve.
LPTYPolyLineGraphic _pPolyLineGraphic
The polyline rendering.
double _paletteH
The height of the palette.
virtual void getChilds(TYListPtrTYElementGraphic &childs, bool recursive=true)
Set the children.
virtual void update(bool force=false)
Update the mesh and the isocurve.
virtual void displayMixed(float opacity=1.f)
Display both the surface and the isocurve.
TYBoundaryNoiseMapGraphic(TYBoundaryNoiseMap *pElement)
Constructor.
virtual void display(TYElement *pModelerElement=nullptr, GLenum mode=GL_RENDER)
Display the object.
std::vector< MTriangle > _mesh
The mesh.
double _panelH
The height of the panel.
double _panelW
The width of the panel.
void displayOnHighlight(int mode)
What we have to display when the entity is highlighted.
std::vector< MPoint > _isoCurve
The iso curve.
virtual ~TYBoundaryNoiseMapGraphic()
Destructor.
virtual void computeBoundingBox()
Compute the bounding box of the object.
This class represents a polyline with a thickness. Acoustic receptors are sampled inside this region.
classe graphique pour un element de base