Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
Redstart
Commits
4187602e
Commit
4187602e
authored
Jul 15, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Updating diffraction function, now uses DF acronym
parent
39e9b714
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/RedstartWindow.cpp
View file @
4187602e
...
...
@@ -165,8 +165,8 @@ void RedstartWindow::ConnectSignalsAndSlots()
connect
(
ui
->
checkBox_am_dp
,
SIGNAL
(
stateChanged
(
int
)
),
this
,
SLOT
(
CoreChangeAuralizationModeDP
(
int
)
)
);
connect
(
this
,
SIGNAL
(
AuralizationModeSLChanged
(
bool
)
),
ui
->
checkBox_am_sl
,
SLOT
(
setChecked
(
bool
)
)
);
connect
(
ui
->
checkBox_am_sl
,
SIGNAL
(
stateChanged
(
int
)
),
this
,
SLOT
(
CoreChangeAuralizationModeSL
(
int
)
)
);
connect
(
this
,
SIGNAL
(
AuralizationModeD
I
FChanged
(
bool
)
),
ui
->
checkBox_am_dif
,
SLOT
(
setChecked
(
bool
)
)
);
connect
(
ui
->
checkBox_am_dif
,
SIGNAL
(
stateChanged
(
int
)
),
this
,
SLOT
(
CoreChangeAuralizationModeD
I
F
(
int
)
)
);
connect
(
this
,
SIGNAL
(
AuralizationModeDFChanged
(
bool
)
),
ui
->
checkBox_am_dif
,
SLOT
(
setChecked
(
bool
)
)
);
connect
(
ui
->
checkBox_am_dif
,
SIGNAL
(
stateChanged
(
int
)
),
this
,
SLOT
(
CoreChangeAuralizationModeDF
(
int
)
)
);
connect
(
this
,
SIGNAL
(
AuralizationModeSCChanged
(
bool
)
),
ui
->
checkBox_am_sca
,
SLOT
(
setChecked
(
bool
)
)
);
connect
(
ui
->
checkBox_am_sca
,
SIGNAL
(
stateChanged
(
int
)
),
this
,
SLOT
(
CoreChangeAuralizationModeSC
(
int
)
)
);
connect
(
this
,
SIGNAL
(
AuralizationModeNFChanged
(
bool
)
),
ui
->
checkBox_am_nf
,
SLOT
(
setChecked
(
bool
)
)
);
...
...
@@ -1172,9 +1172,9 @@ void RedstartWindow::CoreChangeAuralizationModeAB( int iState )
CoreChangeAuralizationMode
(
(
iState
>
0
),
IVAInterface
::
VA_AURAMODE_ABSORPTION
);
}
void
RedstartWindow
::
CoreChangeAuralizationModeD
I
F
(
int
iState
)
void
RedstartWindow
::
CoreChangeAuralizationModeDF
(
int
iState
)
{
emit
AuralizationModeD
I
FChanged
(
(
bool
)
iState
);
emit
AuralizationModeDFChanged
(
(
bool
)
iState
);
CoreChangeAuralizationMode
(
(
iState
>
0
),
IVAInterface
::
VA_AURAMODE_DIFFRACTION
);
}
...
...
@@ -1246,7 +1246,7 @@ void RedstartWindow::CoreChangeGlobalAuralizationMode( int iAM )
if
(
(
(
iAM
&
IVAInterface
::
VA_AURAMODE_ABSORPTION
)
>
0
)
!=
ui
->
checkBox_am_ab
->
isChecked
()
)
emit
AuralizationModeABChanged
(
!
ui
->
checkBox_am_ab
->
isChecked
()
);
if
(
(
(
iAM
&
IVAInterface
::
VA_AURAMODE_DIFFRACTION
)
>
0
)
!=
ui
->
checkBox_am_dif
->
isChecked
()
)
emit
AuralizationModeD
I
FChanged
(
!
ui
->
checkBox_am_dif
->
isChecked
()
);
emit
AuralizationModeDFChanged
(
!
ui
->
checkBox_am_dif
->
isChecked
()
);
if
(
(
(
iAM
&
IVAInterface
::
VA_AURAMODE_DIFFUSE_DECAY
)
>
0
)
!=
ui
->
checkBox_am_dd
->
isChecked
()
)
emit
AuralizationModeDDChanged
(
!
ui
->
checkBox_am_dd
->
isChecked
()
);
if
(
(
(
iAM
&
IVAInterface
::
VA_AURAMODE_DOPPLER
)
>
0
)
!=
ui
->
checkBox_am_dp
->
isChecked
()
)
...
...
src/RedstartWindow.h
View file @
4187602e
...
...
@@ -172,7 +172,7 @@ public:
void
CoreChangeAuralizationModeDIR
(
int
);
void
CoreChangeAuralizationModeDP
(
int
);
void
CoreChangeAuralizationModeSL
(
int
);
void
CoreChangeAuralizationModeD
I
F
(
int
);
void
CoreChangeAuralizationModeDF
(
int
);
void
CoreChangeAuralizationModeSC
(
int
);;
void
CoreChangeAuralizationModeNF
(
int
);
void
CoreChangeAuralizationModeTV
(
int
);
...
...
@@ -201,7 +201,7 @@ signals:
void
AuralizationModeDIRChanged
(
bool
);
void
AuralizationModeDPChanged
(
bool
);
void
AuralizationModeSLChanged
(
bool
);
void
AuralizationModeD
I
FChanged
(
bool
);
void
AuralizationModeDFChanged
(
bool
);
void
AuralizationModeSCChanged
(
bool
);
void
AuralizationModeNFChanged
(
bool
);
void
AuralizationModeTVChanged
(
bool
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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