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

#include <OGLBoxMesh.h>

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

Public Member Functions

 OGLBoxMesh (const QVector3D &dimensions)
 
void setDimensions (const QVector3D &dimensions)
 
const QVector3D & dimensions () const
 
- Public Member Functions inherited from OGLMesh
const std::vector< QVector3D > & vertices () const
 
const std::vector< unsigned int > & indices () const
 
void setMaterial (const OGLSimpleMaterial &material)
 
OGLSimpleMaterial material ()
 

Private Attributes

QVector3D _dimensions
 

Additional Inherited Members

- Protected Attributes inherited from OGLMesh
std::vector< QVector3D > _vertices
 
std::vector< unsigned int > _indices
 
OGLSimpleMaterial _material
 

Detailed Description

OGLMesh specific to Box shapes.

Definition at line 26 of file OGLBoxMesh.h.

Constructor & Destructor Documentation

◆ OGLBoxMesh()

OGLBoxMesh::OGLBoxMesh ( const QVector3D &  dimensions)

Definition at line 21 of file OGLBoxMesh.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ dimensions()

const QVector3D & OGLBoxMesh::dimensions ( ) const

Get the box dimensions.

Definition at line 51 of file OGLBoxMesh.cpp.

Here is the caller graph for this function:

◆ setDimensions()

void OGLBoxMesh::setDimensions ( const QVector3D &  dimensions)

Set the box dimensions.

Definition at line 26 of file OGLBoxMesh.cpp.

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

Member Data Documentation

◆ _dimensions

QVector3D OGLBoxMesh::_dimensions
private

Definition at line 42 of file OGLBoxMesh.h.


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