Public Member Functions | |
XMLInput (OptionManager &mgr) | |
virtual void | setConfigInfo (const std::string &filename) |
Override from FrameIstream;. | |
virtual bool | setFrameNumber (int n) |
Set the current frame number and remember it. | |
virtual GenericFrameSpec | peekFrameSpec () |
Peek at the specifications of the next frame to be read. | |
virtual GenericFrame | readFrame () |
Get a frame from the xmlfile in the same order as in the file. |
Definition at line 48 of file XMLInput.H.
GenericFrameSpec XMLInput::peekFrameSpec | ( | ) | [virtual] |
Peek at the specifications of the next frame to be read.
Implements FrameIstream.
Definition at line 110 of file XMLInput.C.
References GenericFrame::RGB_U8.
GenericFrame XMLInput::readFrame | ( | ) | [virtual] |
Get a frame from the xmlfile in the same order as in the file.
Implements FrameIstream.
Definition at line 124 of file XMLInput.C.
References GenericFrame::addMetaData(), findBoundingRect(), rutz::shared_ptr< T >::get(), Image< T >::getDims(), OModelParam< T >::getVal(), Dims::isEmpty(), rescale(), and writeText().
void XMLInput::setConfigInfo | ( | const std::string & | filename | ) | [virtual] |
Override from FrameIstream;.
Reimplemented from FrameIstream.
Definition at line 85 of file XMLInput.C.
References rutz::shared_ptr< T >::get(), and rutz::shared_ptr< T >::reset().
bool XMLInput::setFrameNumber | ( | int | n | ) | [virtual] |
Set the current frame number and remember it.
Reimplemented from FrameIstream.
Definition at line 100 of file XMLInput.C.
References ASSERT.