Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
533db525
Commit
533db525
authored
Sep 23, 2009
by
Alexander Wiebel
Browse files
[STYLE] fixes ... I payed :-(
parent
f521cb81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
src/dataHandler/WEEG.h
src/dataHandler/WEEG.h
+1
-1
src/modules/eegTest/WEEGTestModule.cpp
src/modules/eegTest/WEEGTestModule.cpp
+3
-4
No files found.
src/dataHandler/WEEG.h
View file @
533db525
...
...
@@ -116,7 +116,7 @@ public:
*/
std
::
string
getChannelLabel
(
size_t
channelId
)
const
{
// TODO(wiebel) what is done with the second string of the label?
// TODO(wiebel)
:
what is done with the second string of the label?
return
m_channelLabels
[
channelId
].
first
;
}
...
...
src/modules/eegTest/WEEGTestModule.cpp
View file @
533db525
...
...
@@ -99,12 +99,11 @@ void drawChannel( boost::shared_ptr< const WEEG > eegData, size_t channelId, osg
wmath
::
WPosition
textPos
(
basePos
[
0
]
-
20
*
scaleX
,
basePos
[
1
],
basePos
[
2
]
+
(
*
eegData
)(
0
,
channelId
,
0
)
*
scaleZ
);
osgText
::
Text
*
textOne
=
new
osgText
::
Text
();
textOne
->
setCharacterSize
(
25
);
textOne
->
setCharacterSize
(
25
);
textOne
->
setText
(
eegData
->
getChannelLabel
(
channelId
)
);
textOne
->
setAxisAlignment
(
osgText
::
Text
::
SCREEN
);
textOne
->
setAxisAlignment
(
osgText
::
Text
::
SCREEN
);
textOne
->
setPosition
(
osg
::
Vec3
(
textPos
[
0
],
textPos
[
1
],
textPos
[
2
]
)
);
sceneDataGeode
->
addDrawable
(
textOne
);
}
void
WEEGTestModule
::
threadMain
()
...
...
@@ -113,7 +112,7 @@ void WEEGTestModule::threadMain()
osg
::
Geode
*
sceneDataGeode
=
new
osg
::
Geode
();
std
::
string
fileName
=
"dataHandler/fixtures/eeg_testData.asc"
;
// std::string fileName = "/dargb/bv_data/Medical/MPI-CBS/EEG-Test/Alex_Segment_1.edf";
// std::string fileName = "/dargb/bv_data/Medical/MPI-CBS/EEG-Test/Alex_Segment_1.edf";
std
::
cout
<<
"Test loading of "
<<
fileName
<<
"."
<<
std
::
endl
;
boost
::
shared_ptr
<
WDataHandler
>
dataHandler
=
boost
::
shared_ptr
<
WDataHandler
>
(
new
WDataHandler
()
);
...
...
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