Commit a43c1134 authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Correctly override GlImageActor::GetImd

parent 5a4b46aa
......@@ -111,6 +111,7 @@ public:
std::string GetWkt() const override;
bool GetImd( ImageMetadata & imd ) const override;
const ImageMetadata *GetImd() const;
itkGetMacro(RedIdx,unsigned int);
......
......@@ -229,6 +229,12 @@ const ImageMetadata * GlImageActor::GetImd() const
return &(m_FileReader->GetOutput()->m_Imd);
}
bool GlImageActor::GetImd( ImageMetadata & imd ) const
{
imd = m_FileReader->GetOutput()->GetImageMetadata();
return true;
}
void GlImageActor::Initialize(const std::string & filename)
{
// std::cout
......
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