|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
#include <OGLRectangleMesh.h>


Public Member Functions | |
| OGLRectangleMesh (const QSizeF &dimensions) | |
| OGLRectangleMesh (const std::array< std::array< double, 3 >, 4 > &verticesCoords) | |
| void | setDimensions (const QSizeF &dimensions) |
| const QSizeF & | dimensions () const |
| void | setVertices (const std::array< std::array< double, 3 >, 4 > &verticesCoords) |
| Set vertices from coords. More... | |
Public Member Functions inherited from OGLMesh | |
| const std::vector< QVector3D > & | vertices () const |
| const std::vector< QVector2D > & | textureCoordinates () const |
| const std::vector< float > & | verticesColors () const |
| const std::vector< QVector3D > & | normals () const |
| const std::vector< unsigned int > & | indices () const |
| void | setMaterial (const OGLSimpleMaterial &material) |
| OGLSimpleMaterial & | material () |
| const OGLSimpleMaterial & | material () const |
| const OGLPrivimitiveType | primitiveType () const |
| const OBox | boundingBox () const |
Private Attributes | |
| QSizeF | _dimensions |
Additional Inherited Members | |
Protected Member Functions inherited from OGLMesh | |
| void | recomputeBoundingBox () |
Protected Attributes inherited from OGLMesh | |
| std::vector< QVector3D > | _vertices |
| std::vector< float > | _verticesColors |
| std::vector< QVector3D > | _normals |
| std::vector< QVector2D > | _textureCoordinates |
| std::vector< unsigned int > | _indices |
| OGLSimpleMaterial | _material |
| OGLPrivimitiveType | _primitiveType |
| OBox | _boundingBox |
OGLMesh specific to Rectangle shapes.
Definition at line 27 of file OGLRectangleMesh.h.
| OGLRectangleMesh::OGLRectangleMesh | ( | const QSizeF & | dimensions | ) |
| OGLRectangleMesh::OGLRectangleMesh | ( | const std::array< std::array< double, 3 >, 4 > & | verticesCoords | ) |
| const QSizeF & OGLRectangleMesh::dimensions | ( | ) | const |
Get the rectangle dimensions.
Definition at line 59 of file OGLRectangleMesh.cpp.

| void OGLRectangleMesh::setDimensions | ( | const QSizeF & | dimensions | ) |
Set the rectangle dimensions.
Definition at line 41 of file OGLRectangleMesh.cpp.


| void OGLRectangleMesh::setVertices | ( | const std::array< std::array< double, 3 >, 4 > & | verticesCoords | ) |
Set vertices from coords.
| verticesCoords |
Definition at line 64 of file OGLRectangleMesh.cpp.


|
private |
Definition at line 51 of file OGLRectangleMesh.h.