Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/pnmimagetypes/config_pnmimagetypes.h

Go to the documentation of this file.
00001 // Filename: config_pnmimagetypes.h
00002 // Created by:  drose (17Jun00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef CONFIG_PNMIMAGETYPES_H
00020 #define CONFIG_PNMIMAGETYPES_H
00021 
00022 #include <pandabase.h>
00023 #include <notifyCategoryProxy.h>
00024 
00025 NotifyCategoryDecl(pnmimage_sgi, EXPCL_PANDA, EXPTP_PANDA);
00026 NotifyCategoryDecl(pnmimage_alias, EXPCL_PANDA, EXPTP_PANDA);
00027 NotifyCategoryDecl(pnmimage_tiff, EXPCL_PANDA, EXPTP_PANDA);
00028 NotifyCategoryDecl(pnmimage_tga, EXPCL_PANDA, EXPTP_PANDA);
00029 NotifyCategoryDecl(pnmimage_img, EXPCL_PANDA, EXPTP_PANDA);
00030 NotifyCategoryDecl(pnmimage_soft, EXPCL_PANDA, EXPTP_PANDA);
00031 NotifyCategoryDecl(pnmimage_bmp, EXPCL_PANDA, EXPTP_PANDA);
00032 NotifyCategoryDecl(pnmimage_jpg, EXPCL_PANDA, EXPTP_PANDA);
00033 NotifyCategoryDecl(pnmimage_jpg2000, EXPCL_PANDA, EXPTP_PANDA);
00034 
00035 extern int sgi_storage_type;
00036 extern const string sgi_imagename;
00037 extern const bool tga_rle;
00038 extern const bool tga_colormap;
00039 extern const bool tga_grayscale;
00040 
00041 extern const int jpeg_quality;
00042 extern const int jpeg_scale_num;
00043 extern const int jpeg_scale_denom;
00044 
00045 extern const int bmp_bpp;
00046 
00047 enum IMGHeaderType {
00048   IHT_none,
00049   IHT_short,
00050   IHT_long,
00051 };
00052 
00053 extern IMGHeaderType img_header_type;
00054 extern const int img_xsize;
00055 extern const int img_ysize;
00056 
00057 extern EXPCL_PANDA void init_libpnmimagetypes();
00058 
00059 #endif

Generated on Fri May 2 00:43:12 2003 for Panda by doxygen1.3