Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
4
Merge Requests
4
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
f6843511
Commit
f6843511
authored
Nov 25, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding rendering and reproduction module getter with "enabled" filter option
parent
7885735e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
applications/VirtualAcoustics/VA/itaVA.m
applications/VirtualAcoustics/VA/itaVA.m
+36
-0
No files found.
applications/VirtualAcoustics/VA/itaVA.m
View file @
f6843511
...
...
@@ -1088,6 +1088,24 @@ classdef itaVA < handle
[
dGain
]
=
VAMatlab
(
'getRenderingModuleGain'
,
this
.
handle
,
sModuleID
);
end
function
[]
=
getRenderingModules
(
this
,
bFilterEnabled
)
% Get list of rendering modules
%
% Parameters:
%
% bFilterEnabled [boolean-1x1] Filter activated (true) (optional, default: 1)
%
% Return values:
%
% None
%
if
this
.
handle
==
0
,
error
(
'Not connected.'
);
end
;
if
~
exist
(
'bFilterEnabled'
,
'var'
),
bFilterEnabled
=
1
;
end
VAMatlab
(
'getRenderingModules'
,
this
.
handle
,
bFilterEnabled
);
end
function
[
dGain
]
=
getReproductionModuleGain
(
this
,
sModuleID
)
% Returns the reproduction module output gain
%
...
...
@@ -1105,6 +1123,24 @@ classdef itaVA < handle
[
dGain
]
=
VAMatlab
(
'getReproductionModuleGain'
,
this
.
handle
,
sModuleID
);
end
function
[]
=
getReproductionModules
(
this
,
bFilterEnabled
)
% Get list of rendering modules
%
% Parameters:
%
% bFilterEnabled [boolean-1x1] Filter activated (true) (optional, default: 1)
%
% Return values:
%
% None
%
if
this
.
handle
==
0
,
error
(
'Not connected.'
);
end
;
if
~
exist
(
'bFilterEnabled'
,
'var'
),
bFilterEnabled
=
1
;
end
VAMatlab
(
'getReproductionModules'
,
this
.
handle
,
bFilterEnabled
);
end
function
[
info
]
=
getSceneInfo
(
this
)
% Returns information on the loaded scene
%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment