Commit 533db525 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE] fixes ... I payed :-(

parent f521cb81
......@@ -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;
}
......
......@@ -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() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment