Hello
I am trying to find out what is going on in the array within a simple file
reader example, I can do this with gdb
(gdb) ptype reader.m_Pointer
and get this result:
type = class otb::ImageFileReader<otb::Image<float, 2u>,
otb::DefaultConvertPixelTraits<float> >
[with TOutputImage = otb::Image<float, 2u>, ConvertPixelTraits =
otb::DefaultConvertPixelTraits<float>]
: public itk::ImageSource<TOutputImage> {
private:
otb::ImageIOBase::Pointer m_ImageIO;
bool m_UserSpecifiedImageIO;
DataObjectIdentifierType m_FileName;
bool m_UseStreaming;
DataObjectIdentifierType m_ExceptionMessage;
itk::ImageIORegion m_ActualIORegion;
otb::ExtendedFilenameToReaderOptions::Pointer m_FilenameHelper;
unsigned int m_AdditionalNumber;
public:
static Pointer New(void);
virtual itk::LightObject::Pointer Creat .... stuff truncated
And it shows me that this class inherits from itk::ImageSource<TOutputImage>
But how do I follow the chain and get to the imageSource?
I've tried all the following but they don't work
o ptype reader.m_Pointer.ImageSource
o ptype reader.m_Pointer.ImageSource<TOutputImage>
o ptype itk::ImageSource
o ptype itk::ImageSource<TOutputImage>
John
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.