Vista     Main Page   Class List   Function List   File List   Examples  


CImageWriter.h

Go to the documentation of this file.
00001 /*
 00002 
 00003   Copyright (c) 1995-2005 by INRIA.
 00004   All Rights Reserved.
 00005 
 00006   This software was developed at:
 00007   IRISA/INRIA Rennes
 00008   Campus Universitaire de Beaulieu
 00009   35042 Rennes Cedex
 00010 
 00011   http://www.irisa.fr
 00012 
 00013 */
 00014 
 00020 #ifndef CImageWriter_h
 00021 #define CImageWriter_h
 00022 
 00023 #include <CWriter.h>
 00024 
 00025 #if defined (WIN32)
 00026 #  if defined MOTION2D_DLL_EXPORTS
 00027 #     define MOTION2D_API __declspec( dllexport )
 00028 #  elif defined MOTION2D_DLL_IMPORTS
 00029 #     define MOTION2D_API __declspec( dllimport )
 00030 #  else
 00031 #     define MOTION2D_API
 00032 #  endif
 00033 #else
 00034 #     define MOTION2D_API
 00035 #endif
 00036 
 00037 class MOTION2D_API CImageWriter: public CWriter
 00038 {
 00039  public:
 00040   ~CImageWriter();
 00041 
 00042   string getFileName();
 00043   bool   writeFrame(CMotion2DImage<unsigned char> & I);
 00044   bool   writeFrame(CMotion2DImage<short> & I);
 00045   bool   openStream() {return true;};
 00046   bool   closeStream() {return true; };
 00047   void   getType() { cout <<" ImageWriter "<<endl;};
 00048   EWriterFormat getFormat();
 00049 };
 00050 
 00051 #endif
 

Motion2D is Copyright © 1995-2005 by Inria
This documentation was generated on 31 Jan 2005 by Fabien Spindler for Motion2D 1.3.11 using doxygen1.2.18 written by Dimitri van Heesch, © 1997-2005