QuickTimeGrabber Class Reference

Grab frames (e.g. from a camera) using QuickTime's SequenceGrabber APIs. More...

#include <Devices/QuickTimeGrabber.H>

Inheritance diagram for QuickTimeGrabber:
Inheritance graph
[legend]
Collaboration diagram for QuickTimeGrabber:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Grab frames (e.g. from a camera) using QuickTime's SequenceGrabber APIs.

Definition at line 47 of file QuickTimeGrabber.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:24:06 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3