Wavelet and Image class library  1.3.2
Public Member Functions
VideoFrame Class Reference

#include <VideoFrame.hh>

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

List of all members.

Public Member Functions

 VideoFrame (VideoArray< coeff > *va)
virtual ~VideoFrame (void)
virtual Imageclone (void) const

Detailed Description

A video frame in black-white. Almost identical to StillImage, contains some optimization stuff for videos.

Definition at line 23 of file VideoFrame.hh.


Constructor & Destructor Documentation

Constructor. Creates an empty image with given dimensions. Unlike in the StillImage class the memory holding the coefficients is held externally and contains all frames. The VideoArray object automatically returns data from the frame which has previously been set as the current one. No boundary checking is done!

Parameters:
vaa pointer to the VideoArray holding all frames
virtual VideoFrame::~VideoFrame ( void  ) [virtual]

Destructor. Deallocates objects.


Member Function Documentation

virtual Image* VideoFrame::clone ( void  ) const [virtual]

Produce a copy. Every dynamically object will be cloned rather than passing on the reference. This operation returns a StillImage and not a VideoFrame, since a VideoFrame always depends on the external VideoArray, so that the copy would only alias to the same external memory!

Returns:
the new, copied object.

Reimplemented from StillImage.


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