Wavelet and Image class library  1.3.2
Public Member Functions | Protected Member Functions | Protected Attributes
AviWriter Class Reference

#include <AviWriter.hh>

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

List of all members.

Public Member Functions

 AviWriter (char const *name, VideoArray< coeff > *arrays[], int channels, double fps)

Protected Member Functions

virtual int writefmt (void)

Protected Attributes

double m_frameRate

Detailed Description

A AVI image file writer.

Definition at line 21 of file AviWriter.hh.


Constructor & Destructor Documentation

AviWriter::AviWriter ( char const *  name,
VideoArray< coeff > *  arrays[],
int  channels,
double  fps 
) [inline]

Constructor. Only calls the mother class' constructor to initialize the {ImageArray} reference and set the offset if necessary.

Parameters:
namethe file name
arraysthe array of video arrays for the values
channelsthe number of color channels
fpsthe frame rate per second

Definition at line 36 of file AviWriter.hh.

References m_frameRate.


Member Function Documentation

virtual int AviWriter::writefmt ( void  ) [protected, virtual]

Write a AVI video file. This is the method that does the actual work. It will be called by the {write ()} method.

Returns:
0 if successful, -1 on write error.

Implements VideoWriter.


Member Data Documentation

double AviWriter::m_frameRate [protected]

The frame rate

Definition at line 47 of file AviWriter.hh.

Referenced by AviWriter().


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