00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plppm.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 2001 Ulrich von Zadow 00007 | 00008 | Originally by Todd Harris - Mar 2001 00009 | adadapted from pgm.h originally by 00010 | Jose Miguel Buenaposada Biencinto. Mar 2000. 00011 | 00012 \-------------------------------------------------------------------- 00013 */ 00014 00016 00017 #ifndef INCL_PPM 00018 #define INCL_PPM 00019 00020 typedef struct _PpmHeader 00021 { 00022 int ImageType; // Image Type 00023 int ImageWidth; // Image Width 00024 int ImageHeight; // Image Height 00025 int MaxSampleValue; // Max sample value (RBG) 00026 00027 } PPMHEADER; 00028 00029 #define PPM_MAXLINESIZE 80 // Maximum number of characters per line 00030 00031 // Definitions for image types. 00032 #define PPM_P3 0 00033 #define PPM_P6 1 00034 00035 #endif 00036 00037 /* 00038 /-------------------------------------------------------------------- 00039 | 00040 | $Log: plppm.h,v $ 00041 | Revision 1.1 2004/05/21 21:02:53 maxx 00042 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00043 | 00044 | Revision 1.1 2002/11/13 01:58:22 mspindle 00045 | *** empty log message *** 00046 | 00047 | Revision 1.1 2001/10/16 17:51:32 uzadow 00048 | Added ppm support (Todd Harris) 00049 | 00050 | 00051 \-------------------------------------------------------------------- 00052 */