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


Public Member Functions | |
| OGLPolygonMesh () | |
| void | setVertices (const std::vector< QVector3D > &vertices) |
| void | setIndices (const std::vector< unsigned int > &indices) |
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 | |
| std::vector< QVector3D > | contour |
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 Polygon shapes.
Definition at line 28 of file OGLPolygonMesh.h.
| OGLPolygonMesh::OGLPolygonMesh | ( | ) |
Definition at line 24 of file OGLPolygonMesh.cpp.
| void OGLPolygonMesh::setIndices | ( | const std::vector< unsigned int > & | indices | ) |
| void OGLPolygonMesh::setVertices | ( | const std::vector< QVector3D > & | vertices | ) |
|
private |
Definition at line 37 of file OGLPolygonMesh.h.