IO::AVI Class Reference

#include <ioavi.h>

Collaboration diagram for IO::AVI:

Collaboration graph
[legend]

List of all members.


Detailed Description

AVI reader

Public Member Functions

 AVI (const char *filename=0)
 ~AVI ()
void open (const char *filename)
void close ()
unsigned int getNbFrames ()
void getFrameSize (unsigned int &width, unsigned int &height)
void read (color< unsigned char > *&image, unsigned int frame)
void read (color< unsigned char > *&image)
void read (color< unsigned char > *&image, unsigned int start, unsigned int end)

Classes

struct  header

Constructor & Destructor Documentation

IO::AVI::AVI ( const char *  filename = 0  ) 

constructor

IO::AVI::~AVI (  ) 


Member Function Documentation

void IO::AVI::open ( const char *  filename  ) 

open an avi file

void IO::AVI::close (  ) 

close file

unsigned int IO::AVI::getNbFrames (  ) 

returns the number of frames in the movie

void IO::AVI::getFrameSize ( unsigned int &  width,
unsigned int &  height 
)

returns the image size

void IO::AVI::read ( color< unsigned char > *&  image,
unsigned int  frame 
)

read a single frame in a 2D image

void IO::AVI::read ( color< unsigned char > *&  image  ) 

read the whole movie in a 3D image

void IO::AVI::read ( color< unsigned char > *&  image,
unsigned int  start,
unsigned int  end 
)

read part of the movie in a 3D image (including start & end frames)


The documentation for this class was generated from the following file:

Generated on Tue Aug 4 17:57:43 2009 for libvd by  doxygen 1.5.5