Code_TYMPAN
4.4.0
Industrial site acoustic simulation
Tympan
gui
tools
OGLRectangle.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3
* This file is part of Code_TYMPAN (R).
4
* Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
* Code_TYMPAN (R) is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
* See the GNU General Public License for more details.
12
* You should have received a copy of the GNU General Public License along
13
* with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
14
*/
15
16
/*
17
*
18
*
19
*
20
*
21
*/
22
23
#ifndef __O_GLRECTANGLE__
24
#define __O_GLRECTANGLE__
25
26
class
OColor
;
27
class
QVector3D;
28
29
#include "
Tympan/core/smartptr.h
"
30
31
class
OGLRectangle
32
{
33
public
:
34
OGLRectangle
();
35
virtual
~OGLRectangle
();
36
40
void
drawRectangle
(
const
QVector3D& point0,
const
QVector3D& point1,
const
QVector3D& point2,
41
const
QVector3D& point3,
const
OColor
& oColor,
bool
bFalse =
false
)
const
;
42
43
private
:
44
};
45
46
// Smart pointer sur OGLRectangle.
47
typedef
SmartPtr<OGLRectangle>
LPOGLRectangle
;
48
49
#endif
// __O_GLRECTANGLE__
LPOGLRectangle
SmartPtr< OGLRectangle > LPOGLRectangle
Definition:
OGLRectangle.h:47
OColor
Definition:
color.h:31
OGLRectangle
Definition:
OGLRectangle.h:32
OGLRectangle::drawRectangle
void drawRectangle(const QVector3D &point0, const QVector3D &point1, const QVector3D &point2, const QVector3D &point3, const OColor &oColor, bool bFalse=false) const
Definition:
OGLRectangle.cpp:36
OGLRectangle::~OGLRectangle
virtual ~OGLRectangle()
Definition:
OGLRectangle.cpp:34
OGLRectangle::OGLRectangle
OGLRectangle()
Definition:
OGLRectangle.cpp:32
SmartPtr
Definition:
smartptr.h:106
smartptr.h
Generated on Mon Dec 22 2025 10:42:02 for Code_TYMPAN by
1.9.1