CVD::LocalVideoFrame< T > Class Template Reference
[Video frames]

#include <localvideoframe.h>

Inheritance diagram for CVD::LocalVideoFrame< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const Image< T > & image () const
Image< T > & image ()
 LocalVideoFrame (double time, CVD::Image< T > &local)
double & timestamp ()
virtual ~LocalVideoFrame ()

Private Attributes

CVD::Image< T > im

Detailed Description

template<class T>
class CVD::LocalVideoFrame< T >

A frame from a LocalVideoBuffer, which manages its own data rather than wrapping data owned by the system. The data is stored internally using Image, and programs which will only ever use LocalVideoBuffers can be optimized by using the image() method. Being Images, these can be deleted sensibly.

Parameters:
T The pixel type of the video frames

Definition at line 51 of file localvideoframe.h.


Constructor & Destructor Documentation

template<class T>
virtual CVD::LocalVideoFrame< T >::~LocalVideoFrame (  )  [inline, virtual]

Definition at line 56 of file localvideoframe.h.

template<class T>
CVD::LocalVideoFrame< T >::LocalVideoFrame ( double  time,
CVD::Image< T > &  local 
) [inline]

Construct a video frame from an Image and a timestamp

Parameters:
time The timestamp of this frame
local The Image to use for this frame

Definition at line 63 of file localvideoframe.h.


Member Function Documentation

template<class T>
const Image<T>& CVD::LocalVideoFrame< T >::image (  )  const [inline]

Definition at line 75 of file localvideoframe.h.

template<class T>
Image<T>& CVD::LocalVideoFrame< T >::image (  )  [inline]

Returns the image. A LocalVideoFrame can be treated just like any other Image (for example it can use optimised copying)

Definition at line 71 of file localvideoframe.h.

template<class T>
double& CVD::LocalVideoFrame< T >::timestamp (  )  [inline]

Definition at line 80 of file localvideoframe.h.


Member Data Documentation

template<class T>
CVD::Image<T> CVD::LocalVideoFrame< T >::im [private]

Definition at line 86 of file localvideoframe.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:51 2013