Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
ITAPropagationPathSim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Institute of Technical Acoustics (ITA)
ITAPropagationPathSim
Commits
e207733b
Commit
e207733b
authored
Apr 18, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning up, scene 5 & 6 ready
parent
54b01563
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
123 additions
and
4391 deletions
+123
-4391
tests/CombinedModel/GRAS_scene5.cpp
tests/CombinedModel/GRAS_scene5.cpp
+3
-1
tests/CombinedModel/GRAS_scene5.m
tests/CombinedModel/GRAS_scene5.m
+0
-27
tests/CombinedModel/GRAS_scene5_propagation_paths.json
tests/CombinedModel/GRAS_scene5_propagation_paths.json
+0
-966
tests/CombinedModel/GRAS_scene5_visualization.skp
tests/CombinedModel/GRAS_scene5_visualization.skp
+0
-0
tests/CombinedModel/GRAS_scene6.cpp
tests/CombinedModel/GRAS_scene6.cpp
+120
-79
tests/CombinedModel/GRAS_scene6_propagation_paths.json
tests/CombinedModel/GRAS_scene6_propagation_paths.json
+0
-3318
tests/CombinedModel/GRAS_scene6_visualization.skp
tests/CombinedModel/GRAS_scene6_visualization.skp
+0
-0
No files found.
tests/CombinedModel/GRAS_scene5.cpp
View file @
e207733b
...
...
@@ -14,7 +14,7 @@
*
* ----------------------------------------------------------------
*
*
Tests the image (source) model algorithm.
*
GRAS scene 5
*
*/
...
...
@@ -135,6 +135,8 @@ int main( int iNumInArgs, char* pcInArgs[] )
{
sw
.
start
();
cout
<<
" #### "
<<
scene
.
sName
<<
" #### "
<<
endl
;
auto
pPathEngine
=
make_shared
<
CombinedModel
::
CPathEngine
>
();
cout
<<
"Calculation time initialization path engine: "
<<
timeToString
(
sw
.
stop
()
)
<<
endl
;
...
...
tests/CombinedModel/GRAS_scene5.m
deleted
100644 → 0
View file @
54b01563
%% Load
json_file_path
=
'GRAS_scene5_propagation_paths.json'
;
txt
=
fileread
(
json_file_path
);
json_content
=
jsondecode
(
txt
);
N
=
numel
(
json_content
.
propagation_paths
);
fprintf
(
'Imported %i propagation paths\n'
,
N
)
%%
pps
=
json_content
.
propagation_paths
;
for
n
=
1
:
numel
(
pps
)
path
=
pps
(
n
);
anchors
=
path
.
propagation_anchors
;
for
a
=
1
:
numel
(
anchors
)
anchor
=
anchors
{
a
};
switch
(
anchor
.
class
)
case
'specular_reflection'
case
'outer_edge_diffraction'
ita_diffraction_utd
(
end
end
end
tests/CombinedModel/GRAS_scene5_propagation_paths.json
deleted
100644 → 0
View file @
54b01563
{
"class"
:
"PropagationPathList"
,
"identifier"
:
""
,
"propagation_paths"
:
[
{
"class"
:
"propagation_path"
,
"identifier"
:
""
,
"propagation_anchors"
:
[
{
"name"
:
"LS02_Genelec8020c"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"source"
,
"interaction_point"
:
[
2.487
,
2.985
,
2
,
1
]
},
{
"face_normal"
:
[
0
,
0
,
1
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"specular_reflection"
,
"interaction_point"
:
[
3.961277
,
2.984994
,
0
,
1
]
},
{
"vertex_start"
:
[
5.487153
,
5.360212
,
2.07
,
1
],
"vertex_end"
:
[
5.487153
,
0.610212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
-1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.487153
,
2.984989
,
2.07
,
1
]
},
{
"vertex_start"
:
[
5.512153
,
0.610212
,
2.07
,
1
],
"vertex_end"
:
[
5.512153
,
5.360212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.512153
,
2.984989
,
2.07
,
1
]
},
{
"name"
:
"MP01_FABIAN"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"receiver"
,
"interaction_point"
:
[
8.512
,
2.985
,
1.235
,
1
]
}
]
},
{
"class"
:
"propagation_path"
,
"identifier"
:
""
,
"propagation_anchors"
:
[
{
"name"
:
"LS02_Genelec8020c"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"source"
,
"interaction_point"
:
[
2.487
,
2.985
,
2
,
1
]
},
{
"face_normal"
:
[
0
,
0
,
1
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"specular_reflection"
,
"interaction_point"
:
[
3.961277
,
2.984992
,
0
,
1
]
},
{
"vertex_start"
:
[
5.487153
,
5.360212
,
2.07
,
1
],
"vertex_end"
:
[
5.487153
,
0.610212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
-1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.487153
,
2.984983
,
2.07
,
1
]
},
{
"vertex_start"
:
[
5.512153
,
0.610212
,
2.07
,
1
],
"vertex_end"
:
[
5.512153
,
5.360212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.512153
,
2.984983
,
2.07
,
1
]
},
{
"face_normal"
:
[
0
,
0
,
1
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"specular_reflection"
,
"interaction_point"
:
[
7.391028
,
2.984994
,
0
,
1
]
},
{
"name"
:
"MP01_FABIAN"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"receiver"
,
"interaction_point"
:
[
8.512
,
2.985
,
1.235
,
1
]
}
]
},
{
"class"
:
"propagation_path"
,
"identifier"
:
""
,
"propagation_anchors"
:
[
{
"name"
:
"LS02_Genelec8020c"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"source"
,
"interaction_point"
:
[
2.487
,
2.985
,
2
,
1
]
},
{
"vertex_start"
:
[
5.487153
,
5.360212
,
2.07
,
1
],
"vertex_end"
:
[
5.487153
,
0.610212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
-1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.487153
,
2.985005
,
2.07
,
1
]
},
{
"vertex_start"
:
[
5.512153
,
0.610212
,
2.07
,
1
],
"vertex_end"
:
[
5.512153
,
5.360212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.512154
,
2.985005
,
2.07
,
1
]
},
{
"name"
:
"MP01_FABIAN"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"receiver"
,
"interaction_point"
:
[
8.512
,
2.985
,
1.235
,
1
]
}
]
},
{
"class"
:
"propagation_path"
,
"identifier"
:
""
,
"propagation_anchors"
:
[
{
"name"
:
"LS02_Genelec8020c"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"source"
,
"interaction_point"
:
[
2.487
,
2.985
,
2
,
1
]
},
{
"vertex_start"
:
[
5.487153
,
5.360212
,
2.07
,
1
],
"vertex_end"
:
[
5.487153
,
0.610212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
-1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.487153
,
2.985004
,
2.07
,
1
]
},
{
"vertex_start"
:
[
5.512153
,
0.610212
,
2.07
,
1
],
"vertex_end"
:
[
5.512153
,
5.360212
,
2.07
,
1
],
"main_wedge_face_normal"
:
[
0
,
0
,
1
,
1
],
"opposite_wedge_face_normal"
:
[
1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.512153
,
2.985004
,
2.07
,
1
]
},
{
"face_normal"
:
[
0
,
0
,
1
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"specular_reflection"
,
"interaction_point"
:
[
7.391028
,
2.985001
,
0
,
1
]
},
{
"name"
:
"MP01_FABIAN"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"receiver"
,
"interaction_point"
:
[
8.512
,
2.985
,
1.235
,
1
]
}
]
},
{
"class"
:
"propagation_path"
,
"identifier"
:
""
,
"propagation_anchors"
:
[
{
"name"
:
"LS02_Genelec8020c"
,
"orientation"
:
[
0
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"source"
,
"interaction_point"
:
[
2.487
,
2.985
,
2
,
1
]
},
{
"vertex_start"
:
[
5.487153
,
0.610212
,
2.07
,
1
],
"vertex_end"
:
[
5.487153
,
0.610212
,
0
,
1
],
"main_wedge_face_normal"
:
[
0
,
-1
,
0
,
1
],
"opposite_wedge_face_normal"
:
[
-1
,
0
,
0
,
1
],
"class"
:
"propagation_anchor"
,
"anchor_type"
:
"outer_edge_diffraction"
,
"interaction_point"
:
[
5.487153
,
0.610212
,
1.618731
,
1
]
},