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

#include <OGLScalarBarElement.h>

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

Public Member Functions

 OGLScalarBarElement ()
 
virtual ~OGLScalarBarElement ()
 
virtual int render ()
 
void setFont (const QString &qsFontPath)
 
void setFontColor (const OColor &oFontColor)
 
void setPosition (const OPoint3D &position)
 
void setTexts (const std::string &text0, const std::string &text1, const std::string &text2)
 
void setSizes (float width, float height)
 
void initPositions ()
 
double * getPosition ()
 
- 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

OPoint3D m_oPosition
 
OPoint3D m_oPosA
 
OPoint3D m_oPosB
 
OPoint3D m_oPosC
 
OPoint3D m_oPosD
 
OPoint3D m_oPosE
 
OPoint3D m_oPosF
 
std::string m_stdText0
 
std::string m_stdText1
 
std::string m_stdText2
 
float m_fWidth
 
float m_fHeight
 
OGLRectanglem_pOGLRectangleLeftToDisplay
 
OGLRectanglem_pOGLRectangleRightToDisplay
 
OGLFontm_pOGLFont0ToDisplay
 
OGLFontm_pOGLFont1ToDisplay
 
OGLFontm_pOGLFont2ToDisplay
 
QString m_qsFontPath
 
OColor m_oFontColor
 
- Protected Attributes inherited from OGLElement
double m_DisplayPositionX
 
double m_DisplayPositionY
 
bool m_bVisible
 
bool m_bIs3D
 

Detailed Description

Classe de scalarBar OGL

Definition at line 38 of file OGLScalarBarElement.h.

Constructor & Destructor Documentation

◆ OGLScalarBarElement()

OGLScalarBarElement::OGLScalarBarElement ( )

Constructeur.

Definition at line 32 of file OGLScalarBarElement.cpp.

◆ ~OGLScalarBarElement()

OGLScalarBarElement::~OGLScalarBarElement ( )
virtual

Destructeur.

Definition at line 46 of file OGLScalarBarElement.cpp.

Member Function Documentation

◆ getPosition()

double* OGLScalarBarElement::getPosition ( )
inline

Definition at line 79 of file OGLScalarBarElement.h.

Here is the call graph for this function:

◆ initPositions()

void OGLScalarBarElement::initPositions ( )

Definition at line 62 of file OGLScalarBarElement.cpp.

Here is the caller graph for this function:

◆ render()

int OGLScalarBarElement::render ( )
virtual

Reimplemented from OGLElement.

Definition at line 84 of file OGLScalarBarElement.cpp.

Here is the call graph for this function:

◆ setFont()

void OGLScalarBarElement::setFont ( const QString &  qsFontPath)
inline

Definition at line 53 of file OGLScalarBarElement.h.

◆ setFontColor()

void OGLScalarBarElement::setFontColor ( const OColor oFontColor)
inline

Definition at line 57 of file OGLScalarBarElement.h.

◆ setPosition()

void OGLScalarBarElement::setPosition ( const OPoint3D position)
inline

Definition at line 62 of file OGLScalarBarElement.h.

Here is the caller graph for this function:

◆ setSizes()

void OGLScalarBarElement::setSizes ( float  width,
float  height 
)
inline

Definition at line 72 of file OGLScalarBarElement.h.

◆ setTexts()

void OGLScalarBarElement::setTexts ( const std::string &  text0,
const std::string &  text1,
const std::string &  text2 
)
inline

Definition at line 66 of file OGLScalarBarElement.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_fHeight

float OGLScalarBarElement::m_fHeight
protected

Definition at line 96 of file OGLScalarBarElement.h.

◆ m_fWidth

float OGLScalarBarElement::m_fWidth
protected

Definition at line 95 of file OGLScalarBarElement.h.

◆ m_oFontColor

OColor OGLScalarBarElement::m_oFontColor
protected

Definition at line 103 of file OGLScalarBarElement.h.

◆ m_oPosA

OPoint3D OGLScalarBarElement::m_oPosA
protected

Definition at line 86 of file OGLScalarBarElement.h.

◆ m_oPosB

OPoint3D OGLScalarBarElement::m_oPosB
protected

Definition at line 87 of file OGLScalarBarElement.h.

◆ m_oPosC

OPoint3D OGLScalarBarElement::m_oPosC
protected

Definition at line 88 of file OGLScalarBarElement.h.

◆ m_oPosD

OPoint3D OGLScalarBarElement::m_oPosD
protected

Definition at line 89 of file OGLScalarBarElement.h.

◆ m_oPosE

OPoint3D OGLScalarBarElement::m_oPosE
protected

Definition at line 90 of file OGLScalarBarElement.h.

◆ m_oPosF

OPoint3D OGLScalarBarElement::m_oPosF
protected

Definition at line 91 of file OGLScalarBarElement.h.

◆ m_oPosition

OPoint3D OGLScalarBarElement::m_oPosition
protected

Definition at line 85 of file OGLScalarBarElement.h.

◆ m_pOGLFont0ToDisplay

OGLFont* OGLScalarBarElement::m_pOGLFont0ToDisplay
protected

Definition at line 99 of file OGLScalarBarElement.h.

◆ m_pOGLFont1ToDisplay

OGLFont* OGLScalarBarElement::m_pOGLFont1ToDisplay
protected

Definition at line 100 of file OGLScalarBarElement.h.

◆ m_pOGLFont2ToDisplay

OGLFont* OGLScalarBarElement::m_pOGLFont2ToDisplay
protected

Definition at line 101 of file OGLScalarBarElement.h.

◆ m_pOGLRectangleLeftToDisplay

OGLRectangle* OGLScalarBarElement::m_pOGLRectangleLeftToDisplay
protected

Definition at line 97 of file OGLScalarBarElement.h.

◆ m_pOGLRectangleRightToDisplay

OGLRectangle* OGLScalarBarElement::m_pOGLRectangleRightToDisplay
protected

Definition at line 98 of file OGLScalarBarElement.h.

◆ m_qsFontPath

QString OGLScalarBarElement::m_qsFontPath
protected

Definition at line 102 of file OGLScalarBarElement.h.

◆ m_stdText0

std::string OGLScalarBarElement::m_stdText0
protected

Definition at line 92 of file OGLScalarBarElement.h.

◆ m_stdText1

std::string OGLScalarBarElement::m_stdText1
protected

Definition at line 93 of file OGLScalarBarElement.h.

◆ m_stdText2

std::string OGLScalarBarElement::m_stdText2
protected

Definition at line 94 of file OGLScalarBarElement.h.


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