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

#include <TYRenderViewport.h>

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

Public Member Functions

 TYRenderViewport (const OGLCamera *camera, const QRect &sourceRect)
 
const OGLCameracamera () const
 
QVector3D displayToWorld (const QVector3D &display) const
 
QVector3D worldToDisplay (const QVector3D &world) const
 

Private Attributes

const OGLCamera_camera
 

Detailed Description

Definition at line 29 of file TYRenderViewport.h.

Constructor & Destructor Documentation

◆ TYRenderViewport()

TYRenderViewport::TYRenderViewport ( const OGLCamera camera,
const QRect &  sourceRect 
)
inline

Definition at line 32 of file TYRenderViewport.h.

Here is the call graph for this function:

Member Function Documentation

◆ camera()

const OGLCamera* TYRenderViewport::camera ( ) const
inline

Definition at line 37 of file TYRenderViewport.h.

Here is the caller graph for this function:

◆ displayToWorld()

QVector3D TYRenderViewport::displayToWorld ( const QVector3D &  display) const

Transforme une position depuis le screen space vers le world space.

Parameters
displayLa position dans le screen space
Returns
La position dans le world space

Definition at line 25 of file TYRenderViewport.cpp.

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

◆ worldToDisplay()

QVector3D TYRenderViewport::worldToDisplay ( const QVector3D &  world) const

Transforme une position depuis de le screen space vers le screen space.

Parameters
worldLa position dans le world space
Returns
La position dans le screen space

Definition at line 32 of file TYRenderViewport.cpp.

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

Member Data Documentation

◆ _camera

const OGLCamera* TYRenderViewport::_camera
private

Definition at line 59 of file TYRenderViewport.h.


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