Grab frames (e.g. from a camera) using QuickTime's SequenceGrabber APIs. More...
#include <Devices/QuickTimeGrabber.H>
Public Member Functions | |
QuickTimeGrabber (OptionManager &mgr, const std::string &descrName="QuickTime Frame Grabber", const std::string &tagName="QuickTimeGrabber") | |
Constructor. | |
virtual | ~QuickTimeGrabber () |
Virtual destructor. | |
virtual void | startStream () |
Prepare to start grabbing streams with SGPrepare() and SGStartRecord(). | |
virtual GenericFrameSpec | peekFrameSpec () |
Return the specifications of the next frame to be returned. | |
virtual GenericFrame | readFrame () |
Grab the next frame from the camera. |
Grab frames (e.g. from a camera) using QuickTime's SequenceGrabber APIs.
Definition at line 47 of file QuickTimeGrabber.H.
QuickTimeGrabber::QuickTimeGrabber | ( | OptionManager & | mgr, | |
const std::string & | descrName = "QuickTime Frame Grabber" , |
|||
const std::string & | tagName = "QuickTimeGrabber" | |||
) |
Constructor.
Definition at line 690 of file QuickTimeGrabber.C.
QuickTimeGrabber::~QuickTimeGrabber | ( | ) | [virtual] |
Virtual destructor.
Definition at line 700 of file QuickTimeGrabber.C.
GenericFrameSpec QuickTimeGrabber::peekFrameSpec | ( | ) | [virtual] |
Return the specifications of the next frame to be returned.
Implements FrameIstream.
Definition at line 723 of file QuickTimeGrabber.C.
References OModelParam< T >::getVal(), and GenericFrame::RGB_U8.
GenericFrame QuickTimeGrabber::readFrame | ( | ) | [virtual] |
Grab the next frame from the camera.
Implements FrameIstream.
Definition at line 737 of file QuickTimeGrabber.C.
References ASSERT, and ModelComponent::started().
void QuickTimeGrabber::startStream | ( | ) | [virtual] |
Prepare to start grabbing streams with SGPrepare() and SGStartRecord().
Reimplemented from FrameIstream.
Definition at line 709 of file QuickTimeGrabber.C.
References ASSERT, and ModelComponent::started().