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

#include <OGLRectangleElement.h>

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

Public Member Functions

 OGLRectangleElement ()
 
virtual ~OGLRectangleElement ()
 
virtual int render ()
 
void setColor (const OColor &oColor)
 
void setPoint0 (const OPoint3D &point0)
 
void setPoint1 (const OPoint3D &point1)
 
void setPoint2 (const OPoint3D &point2)
 
void setPoint3 (const OPoint3D &point3)
 
double * getPoint0 ()
 
double * getPoint1 ()
 
double * getPoint2 ()
 
double * getPoint3 ()
 
void setFull (bool bFull)
 
- 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_oPoint0
 
OPoint3D m_oPoint1
 
OPoint3D m_oPoint2
 
OPoint3D m_oPoint3
 
bool m_bFull
 
OGLRectanglem_pOGLRectangleToDisplay
 
- Protected Attributes inherited from OGLElement
double m_DisplayPositionX
 
double m_DisplayPositionY
 
bool m_bVisible
 
bool m_bIs3D
 

Detailed Description

Classe de rectangle OGL

Definition at line 37 of file OGLRectangleElement.h.

Constructor & Destructor Documentation

◆ OGLRectangleElement()

OGLRectangleElement::OGLRectangleElement ( )

Constructeur.

Definition at line 31 of file OGLRectangleElement.cpp.

◆ ~OGLRectangleElement()

OGLRectangleElement::~OGLRectangleElement ( )
virtual

Destructeur.

Definition at line 42 of file OGLRectangleElement.cpp.

Member Function Documentation

◆ getPoint0()

double* OGLRectangleElement::getPoint0 ( )
inline

Definition at line 71 of file OGLRectangleElement.h.

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

◆ getPoint1()

double* OGLRectangleElement::getPoint1 ( )
inline

Definition at line 75 of file OGLRectangleElement.h.

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

◆ getPoint2()

double* OGLRectangleElement::getPoint2 ( )
inline

Definition at line 79 of file OGLRectangleElement.h.

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

◆ getPoint3()

double* OGLRectangleElement::getPoint3 ( )
inline

Definition at line 83 of file OGLRectangleElement.h.

Here is the call graph for this function:

◆ render()

int OGLRectangleElement::render ( )
virtual

Reimplemented from OGLElement.

Definition at line 55 of file OGLRectangleElement.cpp.

Here is the call graph for this function:

◆ setColor()

void OGLRectangleElement::setColor ( const OColor oColor)

Definition at line 50 of file OGLRectangleElement.cpp.

Here is the caller graph for this function:

◆ setFull()

void OGLRectangleElement::setFull ( bool  bFull)
inline

Definition at line 88 of file OGLRectangleElement.h.

◆ setPoint0()

void OGLRectangleElement::setPoint0 ( const OPoint3D point0)
inline

Definition at line 54 of file OGLRectangleElement.h.

Here is the caller graph for this function:

◆ setPoint1()

void OGLRectangleElement::setPoint1 ( const OPoint3D point1)
inline

Definition at line 58 of file OGLRectangleElement.h.

Here is the caller graph for this function:

◆ setPoint2()

void OGLRectangleElement::setPoint2 ( const OPoint3D point2)
inline

Definition at line 62 of file OGLRectangleElement.h.

Here is the caller graph for this function:

◆ setPoint3()

void OGLRectangleElement::setPoint3 ( const OPoint3D point3)
inline

Definition at line 66 of file OGLRectangleElement.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_bFull

bool OGLRectangleElement::m_bFull
protected

Definition at line 99 of file OGLRectangleElement.h.

◆ m_oColor

OColor OGLRectangleElement::m_oColor
protected

Definition at line 94 of file OGLRectangleElement.h.

◆ m_oPoint0

OPoint3D OGLRectangleElement::m_oPoint0
protected

Definition at line 95 of file OGLRectangleElement.h.

◆ m_oPoint1

OPoint3D OGLRectangleElement::m_oPoint1
protected

Definition at line 96 of file OGLRectangleElement.h.

◆ m_oPoint2

OPoint3D OGLRectangleElement::m_oPoint2
protected

Definition at line 97 of file OGLRectangleElement.h.

◆ m_oPoint3

OPoint3D OGLRectangleElement::m_oPoint3
protected

Definition at line 98 of file OGLRectangleElement.h.

◆ m_pOGLRectangleToDisplay

OGLRectangle* OGLRectangleElement::m_pOGLRectangleToDisplay
protected

Definition at line 100 of file OGLRectangleElement.h.


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