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
15a272dd
Commit
15a272dd
authored
May 08, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging minor stuff
parent
5068d735
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
applications/VirtualAcoustics/openDAFF/OpenDAFFv1.7/DAFF.m
applications/VirtualAcoustics/openDAFF/OpenDAFFv1.7/DAFF.m
+9
-3
No files found.
applications/VirtualAcoustics/openDAFF/OpenDAFFv1.7/DAFF.m
View file @
15a272dd
...
...
@@ -5,22 +5,28 @@ classdef DAFF < handle
end
methods
function
obj
=
DAFF
(
filepath
)
%% Create DAFF class and load from file
%% Create DAFF class and load
s content
from file
% filepath Path to DAFF file
if
(
nargin
>
0
)
obj
.
open
(
filepath
)
end
end
function
open
(
obj
,
filepath
)
%% Opens a DAFF file
obj
.
daffhandle
=
DAFFv17
(
'open'
,
filepath
);
end
function
close
(
obj
)
%% Closes the DAFF file
DAFFv17
(
'close'
,
obj
.
daffhandle
)
end
function
set_data_view
(
obj
)
%% Switches to data view (alpha, beta)
obj
.
view
=
'data'
;
end
function
set_object_view
(
obj
)
%% Switches to object / user view (elevation, azimuth) [default]
obj
.
view
=
'object'
;
end
function
metadata
=
get_metadata
(
obj
)
%% Returns the metadata of an opened DAFF file
metadata
=
DAFFv17
(
'getMetadata'
,
obj
.
daffhandle
);
...
...
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