Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
OGLTextElement Class Reference

#include <OGLTextElement.h>

Inheritance diagram for OGLTextElement:
Inheritance graph
[legend]
Collaboration diagram for OGLTextElement:
Collaboration graph
[legend]

Public Member Functions

 OGLTextElement ()
 
virtual ~OGLTextElement ()
 
virtual int render ()
 
void setTextToDisplay (const QString &qsText)
 
void setColor (const OColor &oColor)
 
void setFont (const QString &qsFontPath)
 
QString getText ()
 
- Public Member Functions inherited from OGLElement
 OGLElement ()
 
virtual ~OGLElement ()
 
void setDisplayPosition (double displayPositionX, double displayPositionY)
 
void setVisibility (bool bVisible)
 
bool getVisibility ()
 
void setIs3D (bool bIs3D)
 
bool getIs3D ()
 

Protected Attributes

QString m_qsText
 
QString m_qsFontPath
 
OGLFontm_pOGLFontToDisplay
 
OColor m_oColor
 
- Protected Attributes inherited from OGLElement
double m_DisplayPositionX
 
double m_DisplayPositionY
 
bool m_bVisible
 
bool m_bIs3D
 

Detailed Description

Classe Text OGL

Definition at line 35 of file OGLTextElement.h.

Constructor & Destructor Documentation

◆ OGLTextElement()

OGLTextElement::OGLTextElement ( )

Constructeur.

Definition at line 26 of file OGLTextElement.cpp.

◆ ~OGLTextElement()

OGLTextElement::~OGLTextElement ( )
virtual

Destructeur.

Definition at line 31 of file OGLTextElement.cpp.

Member Function Documentation

◆ getText()

QString OGLTextElement::getText ( )
inline

Definition at line 56 of file OGLTextElement.h.

Here is the caller graph for this function:

◆ render()

int OGLTextElement::render ( )
virtual

Reimplemented from OGLElement.

Definition at line 54 of file OGLTextElement.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setColor()

void OGLTextElement::setColor ( const OColor oColor)

Definition at line 49 of file OGLTextElement.cpp.

Here is the caller graph for this function:

◆ setFont()

void OGLTextElement::setFont ( const QString &  qsFontPath)

Definition at line 44 of file OGLTextElement.cpp.

Here is the caller graph for this function:

◆ setTextToDisplay()

void OGLTextElement::setTextToDisplay ( const QString &  qsText)

Definition at line 39 of file OGLTextElement.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_oColor

OColor OGLTextElement::m_oColor
protected

Definition at line 65 of file OGLTextElement.h.

◆ m_pOGLFontToDisplay

OGLFont* OGLTextElement::m_pOGLFontToDisplay
protected

Definition at line 64 of file OGLTextElement.h.

◆ m_qsFontPath

QString OGLTextElement::m_qsFontPath
protected

Definition at line 63 of file OGLTextElement.h.

◆ m_qsText

QString OGLTextElement::m_qsText
protected

Definition at line 62 of file OGLTextElement.h.


The documentation for this class was generated from the following files: