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

#include <OGLSphereElement.h>

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

Public Member Functions

 OGLSphereElement ()
 
virtual ~OGLSphereElement ()
 
virtual int render ()
 
void setColor (const OColor &oColor)
 
void setCenter (const OPoint3D &center)
 
double * getCenter ()
 
void setRadius (float radius)
 
- 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_oCenter
 
float m_fRadius
 
OGLSpherem_pOGLSphereToDisplay
 
- Protected Attributes inherited from OGLElement
double m_DisplayPositionX
 
double m_DisplayPositionY
 
bool m_bVisible
 
bool m_bIs3D
 

Detailed Description

Classe de sphere OGL

Definition at line 37 of file OGLSphereElement.h.

Constructor & Destructor Documentation

◆ OGLSphereElement()

OGLSphereElement::OGLSphereElement ( )

Constructeur.

Definition at line 31 of file OGLSphereElement.cpp.

◆ ~OGLSphereElement()

OGLSphereElement::~OGLSphereElement ( )
virtual

Destructeur.

Definition at line 39 of file OGLSphereElement.cpp.

Member Function Documentation

◆ getCenter()

double* OGLSphereElement::getCenter ( )
inline

Definition at line 58 of file OGLSphereElement.h.

Here is the call graph for this function:

◆ render()

int OGLSphereElement::render ( )
virtual

Reimplemented from OGLElement.

Definition at line 52 of file OGLSphereElement.cpp.

Here is the call graph for this function:

◆ setCenter()

void OGLSphereElement::setCenter ( const OPoint3D center)
inline

Definition at line 54 of file OGLSphereElement.h.

Here is the caller graph for this function:

◆ setColor()

void OGLSphereElement::setColor ( const OColor oColor)

Definition at line 47 of file OGLSphereElement.cpp.

Here is the caller graph for this function:

◆ setRadius()

void OGLSphereElement::setRadius ( float  radius)
inline

Definition at line 63 of file OGLSphereElement.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_fRadius

float OGLSphereElement::m_fRadius
protected

Definition at line 71 of file OGLSphereElement.h.

◆ m_oCenter

OPoint3D OGLSphereElement::m_oCenter
protected

Definition at line 70 of file OGLSphereElement.h.

◆ m_oColor

OColor OGLSphereElement::m_oColor
protected

Definition at line 69 of file OGLSphereElement.h.

◆ m_pOGLSphereToDisplay

OGLSphere* OGLSphereElement::m_pOGLSphereToDisplay
protected

Definition at line 72 of file OGLSphereElement.h.


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