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


Public Member Functions | |
| void | fromMeshVertices (const OGLMesh &mesh) |
| void | fromQuadMeshEdges (const OGLMesh &mesh) |
| void | setVertices (const std::vector< QVector3D > &vertices) |
| void | setVerticesColors (const std::vector< QColor > &verticesColors) |
| void | setNormals (const std::vector< QVector3D > &normals) |
| void | setTextureCoordinates (const std::vector< QVector2D > &textureCoordinates) |
| void | setIndices (const std::vector< unsigned int > &indices) |
| void | setPrimitiveType (OGLPrivimitiveType primitiveType) |
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 |
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 |
Specialization of OGLMesh exposing methods to set the geometry data.
Definition at line 26 of file OGLArrayMesh.h.
| void OGLArrayMesh::fromMeshVertices | ( | const OGLMesh & | mesh | ) |
| void OGLArrayMesh::fromQuadMeshEdges | ( | const OGLMesh & | mesh | ) |
| void OGLArrayMesh::setIndices | ( | const std::vector< unsigned int > & | indices | ) |
Definition at line 84 of file OGLArrayMesh.cpp.


| void OGLArrayMesh::setNormals | ( | const std::vector< QVector3D > & | normals | ) |
Definition at line 74 of file OGLArrayMesh.cpp.


| void OGLArrayMesh::setPrimitiveType | ( | OGLPrivimitiveType | primitiveType | ) |
| void OGLArrayMesh::setTextureCoordinates | ( | const std::vector< QVector2D > & | textureCoordinates | ) |
Definition at line 79 of file OGLArrayMesh.cpp.


| void OGLArrayMesh::setVertices | ( | const std::vector< QVector3D > & | vertices | ) |
Definition at line 55 of file OGLArrayMesh.cpp.


| void OGLArrayMesh::setVerticesColors | ( | const std::vector< QColor > & | verticesColors | ) |