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

#include <OGLLineElement.h>

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

Public Member Functions

 OGLLineElement ()
 
virtual ~OGLLineElement ()
 
virtual int render ()
 
void setColor (const OColor &oColor)
 
void setPoint1 (const OPoint3D &point1)
 
void setPoint2 (const OPoint3D &point2)
 
void setLineWidth (float lineWidth)
 
double * getPoint1 ()
 
double * getPoint2 ()
 
double dist ()
 
- 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

OColor m_oColor
 
OPoint3D m_oPoint1
 
OPoint3D m_oPoint2
 
OGLLinem_pOGLLineToDisplay
 
float m_fLineWidth
 
- Protected Attributes inherited from OGLElement
double m_DisplayPositionX
 
double m_DisplayPositionY
 
bool m_bVisible
 
bool m_bIs3D
 

Detailed Description

Classe de ligne OGL

Definition at line 37 of file OGLLineElement.h.

Constructor & Destructor Documentation

◆ OGLLineElement()

OGLLineElement::OGLLineElement ( )

Constructeur.

Definition at line 31 of file OGLLineElement.cpp.

◆ ~OGLLineElement()

OGLLineElement::~OGLLineElement ( )
virtual

Destructeur.

Definition at line 41 of file OGLLineElement.cpp.

Member Function Documentation

◆ dist()

double OGLLineElement::dist ( )
inline

Definition at line 77 of file OGLLineElement.h.

Here is the call graph for this function:

◆ getPoint1()

double* OGLLineElement::getPoint1 ( )
inline

Definition at line 68 of file OGLLineElement.h.

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

◆ getPoint2()

double* OGLLineElement::getPoint2 ( )
inline

Definition at line 72 of file OGLLineElement.h.

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

◆ render()

int OGLLineElement::render ( )
virtual

Reimplemented from OGLElement.

Definition at line 54 of file OGLLineElement.cpp.

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

◆ setColor()

void OGLLineElement::setColor ( const OColor oColor)

Definition at line 49 of file OGLLineElement.cpp.

Here is the caller graph for this function:

◆ setLineWidth()

void OGLLineElement::setLineWidth ( float  lineWidth)
inline

Definition at line 63 of file OGLLineElement.h.

Here is the caller graph for this function:

◆ setPoint1()

void OGLLineElement::setPoint1 ( const OPoint3D point1)
inline

Definition at line 54 of file OGLLineElement.h.

Here is the caller graph for this function:

◆ setPoint2()

void OGLLineElement::setPoint2 ( const OPoint3D point2)
inline

Definition at line 58 of file OGLLineElement.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_fLineWidth

float OGLLineElement::m_fLineWidth
protected

Definition at line 87 of file OGLLineElement.h.

◆ m_oColor

OColor OGLLineElement::m_oColor
protected

Definition at line 83 of file OGLLineElement.h.

◆ m_oPoint1

OPoint3D OGLLineElement::m_oPoint1
protected

Definition at line 84 of file OGLLineElement.h.

◆ m_oPoint2

OPoint3D OGLLineElement::m_oPoint2
protected

Definition at line 85 of file OGLLineElement.h.

◆ m_pOGLLineToDisplay

OGLLine* OGLLineElement::m_pOGLLineToDisplay
protected

Definition at line 86 of file OGLLineElement.h.


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