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

#include <VidWriter.hh>

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

List of all members.

Public Member Functions

 VidWriter (char const *name, VideoArray< coeff > *arrays[], int colors, int skip)
virtual ~VidWriter (void)

Protected Member Functions

virtual int writefmt (void)

Protected Attributes

int m_skip

Detailed Description

A VID video file writer. Dimensions are known from the {Image} object.

Definition at line 22 of file VidWriter.hh.


Constructor & Destructor Documentation

VidWriter::VidWriter ( char const *  name,
VideoArray< coeff > *  arrays[],
int  colors,
int  skip 
) [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
colorsthe number of colors
skipthe size of the header to fill with zeros before the actual contents

Definition at line 36 of file VidWriter.hh.

References m_skip.

virtual VidWriter::~VidWriter ( void  ) [inline, virtual]

Destructor - does nothing.

Definition at line 41 of file VidWriter.hh.


Member Function Documentation

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

Write a VID 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

int VidWriter::m_skip [protected]

The number of bytes before the contents

Definition at line 50 of file VidWriter.hh.

Referenced by VidWriter().


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