Commit 3cd04dbe authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Added debug traces (GlImageActor).

parent b68a6ab0
......@@ -154,8 +154,23 @@ void GlImageActor::Initialize(const std::string & filename)
unsigned int ovrCount = m_FileReader->GetOverviewsCount();
std::cout << "overview-count: " << ovrCount << std::endl;
assert( ovrCount>0 );
{
typedef std::vector< std::string > StringVector;
StringVector info(
m_FileReader->GetOverviewsInfo()
);
for( StringVector::const_iterator it( info.begin() );
it!=info.end();
++it )
std::cout << *it << std::endl;
}
m_AvailableResolutions.clear();
for( unsigned int i=0; i<ovrCount; ++i )
......
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