Commit 80fdefc8 authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE #42] fixed style

parent 2b010065
......@@ -533,7 +533,7 @@ void WMData::load()
m_dataSet = eegAsciiLoader.load();
}
#ifdef WEEP_ENABLED
else if( suffix == ".cnt" )
else if( suffix == ".cnt" ) // NOLINT: An else should appear after closing } in previous line
{
boost::shared_ptr< WPagerEEG > pager( new WPagerEEGLibeep( fileName ) );
......@@ -546,7 +546,7 @@ void WMData::load()
m_dataSet = boost::shared_ptr< WEEG2 >( new WEEG2( pager, eegPositionsLibrary ) );
}
#endif
else if( suffix == ".fib" )
else if( suffix == ".fib" ) // NOLINT: An else should appear after closing } in previous line
{
WReaderFiberVTK fibReader( fileName );
m_dataSet = fibReader.read();
......
......@@ -148,14 +148,14 @@ void WMReadLAS::load()
return;
}
liblas::ReaderFactory factory;
liblas::ReaderFactory factory;
liblas::Reader reader = factory.CreateWithStream( ifs );
size_t numPoints = reader.GetHeader().GetPointRecordsCount();
infoLog() << "LAS Header: Point Count = " << numPoints;
infoLog() << "LAS Header: Compressed = " << reader.GetHeader().Compressed();
infoLog() << "LAS Header: File Signature = " << reader.GetHeader().GetFileSignature();
infoLog() << "LAS Header: Compressed = " << reader.GetHeader().Compressed();
infoLog() << "LAS Header: File Signature = " << reader.GetHeader().GetFileSignature();
boost::shared_ptr< WProgress > progress1( new WProgress( "Loading" ) );
m_progress->addSubProgress( progress1 );
......@@ -168,10 +168,10 @@ void WMReadLAS::load()
infoLog() << "Start Loading ...";
// interpret file
size_t realNumPoints = 0;
size_t realNumPoints = 0;
while( reader.ReadNextPoint() )
{
realNumPoints++;
realNumPoints++;
liblas::Point const& coord = reader.GetPoint();
vertices->push_back( coord.GetX() );
......@@ -195,4 +195,3 @@ void WMReadLAS::load()
progress1->finish();
ifs.close();
}
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