Code_TYMPAN  4.4.0
Industrial site acoustic simulation
PostTreatment.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
14  */
15 
16 #ifndef POSTTREATMENT_H
17 #define POSTTREATMENT_H
18 
19 #include "Geometry/Scene.h"
20 #include "Recepteur.h"
21 
22 #ifdef _ALLOW_TARGETING_
23  #include "Tools/TargetManager.h"
24 #endif
25 
29 namespace PostTreatment
30 {
32 bool constructEdge(Scene* scene);
33 
34 #ifdef _ALLOW_TARGETING_
35 bool findTargetsForNMPB(Scene* scene, std::vector<Recepteur>& recepteurs, TargetManager& targetManager,
36  decimal density);
37 void appendDirectionToSources(TargetManager* targets, std::vector<Source>& sources);
38 #endif
39 }; // namespace PostTreatment
40 
41 #endif
This class mainly define a mesh (list of Shape) used by the Simulation object.
Definition: Scene.h:51
Class to manage targets.
Definition: TargetManager.h:27
Namespace for post-treatment.
Definition: PostTreatment.h:30
bool constructEdge(Scene *scene)
Build the edges list of a scene.
float decimal
Definition: mathlib.h:45