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

panda/src/pnmimagetypes/config_pnmimagetypes.cxx File Reference

#include "config_pnmimagetypes.h"
#include "pnmFileTypeSGI.h"
#include "pnmFileTypeAlias.h"
#include "pnmFileTypeTGA.h"
#include "pnmFileTypeIMG.h"
#include "pnmFileTypeSoftImage.h"
#include "pnmFileTypeBMP.h"
#include "sgi.h"
#include "config_pnmimage.h"
#include "pnmFileTypeRegistry.h"
#include "string_utils.h"
#include "dconfig.h"

Go to the source code of this file.

Functions

 Configure (config_pnmimagetypes)
 NotifyCategoryDefName (pnmimage_sgi,"sgi", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_alias,"alias", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_tiff,"tiff", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_tga,"tga", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_img,"img", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_soft,"soft", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_bmp,"bmp", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_jpg,"jpg", pnmimage_cat)
 NotifyCategoryDefName (pnmimage_jpg2000,"jpg2000", pnmimage_cat)
 ConfigureFn (config_pnmimagetypes)
void init_libpnmimagetypes ()
 Initializes the library.


Variables

int sgi_storage_type = 1
const string sgi_imagename = config_pnmimagetypes.GetString("sgi-imagename", "")
const bool tga_rle = config_pnmimagetypes.GetBool("tga-rle", false)
const bool tga_colormap = config_pnmimagetypes.GetBool("tga-colormap", false)
const bool tga_grayscale = config_pnmimagetypes.GetBool("tga-grayscale", false)
IMGHeaderType img_header_type
const int img_xsize = config_pnmimagetypes.GetInt("img-xsize", 0)
const int img_ysize = config_pnmimagetypes.GetInt("img-ysize", 0)
const int jpeg_quality = config_pnmimagetypes.GetInt("jpeg-quality", 95)
const int jpeg_scale_num = config_pnmimagetypes.GetInt("jpeg-scale-num", 1)
const int jpeg_scale_denom = config_pnmimagetypes.GetInt("jpeg-scale-denom", 1)
const int bmp_bpp = config_pnmimagetypes.GetInt("bmp-bpp", 0)


Detailed Description

Definition in file config_pnmimagetypes.cxx.


Function Documentation

Configure config_pnmimagetypes   ) 
 

ConfigureFn config_pnmimagetypes   ) 
 

Definition at line 96 of file config_pnmimagetypes.cxx.

References init_libpnmimage(), PNMFileTypeAlias::init_type(), and PNMFileTypeSGI::init_type().

void init_libpnmimagetypes  ) 
 

Initializes the library.

This must be called at least once before any of the functions or classes in this library can be used. Normally it will be called by the static initializers and need not be called explicitly, but special cases exist.

Definition at line 116 of file config_pnmimagetypes.cxx.

References sgi_storage_type, and STORAGE_RLE.

NotifyCategoryDefName pnmimage_jpg2000  ,
"jpg2000"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_jpg  ,
"jpg"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_bmp  ,
"bmp"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_soft  ,
"soft"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_img  ,
"img"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_tga  ,
"tga"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_tiff  ,
"tiff"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_alias  ,
"alias"  ,
pnmimage_cat 
 

NotifyCategoryDefName pnmimage_sgi  ,
"sgi"  ,
pnmimage_cat 
 


Variable Documentation

const int bmp_bpp = config_pnmimagetypes.GetInt("bmp-bpp", 0)
 

Definition at line 94 of file config_pnmimagetypes.cxx.

Referenced by BMPEncode().

IMGHeaderType img_header_type
 

Definition at line 70 of file config_pnmimagetypes.cxx.

Referenced by PNMFileTypeIMG::Reader::read_row(), and read_ushort_IMG().

const int img_xsize = config_pnmimagetypes.GetInt("img-xsize", 0)
 

Definition at line 72 of file config_pnmimagetypes.cxx.

const int img_ysize = config_pnmimagetypes.GetInt("img-ysize", 0)
 

Definition at line 73 of file config_pnmimagetypes.cxx.

const int jpeg_quality = config_pnmimagetypes.GetInt("jpeg-quality", 95)
 

Definition at line 79 of file config_pnmimagetypes.cxx.

const int jpeg_scale_denom = config_pnmimagetypes.GetInt("jpeg-scale-denom", 1)
 

Definition at line 89 of file config_pnmimagetypes.cxx.

Referenced by PNMFileTypeJPG2000::Reader::Reader().

const int jpeg_scale_num = config_pnmimagetypes.GetInt("jpeg-scale-num", 1)
 

Definition at line 88 of file config_pnmimagetypes.cxx.

Referenced by PNMFileTypeJPG2000::Reader::Reader().

const string sgi_imagename = config_pnmimagetypes.GetString("sgi-imagename", "")
 

Definition at line 57 of file config_pnmimagetypes.cxx.

int sgi_storage_type = 1
 

Definition at line 56 of file config_pnmimagetypes.cxx.

Referenced by init_libpnmimagetypes().

const bool tga_colormap = config_pnmimagetypes.GetBool("tga-colormap", false)
 

Definition at line 64 of file config_pnmimagetypes.cxx.

const bool tga_grayscale = config_pnmimagetypes.GetBool("tga-grayscale", false)
 

Definition at line 65 of file config_pnmimagetypes.cxx.

Referenced by PNMFileTypeTGA::Writer::Writer().

const bool tga_rle = config_pnmimagetypes.GetBool("tga-rle", false)
 

Definition at line 63 of file config_pnmimagetypes.cxx.

Referenced by PNMFileTypeTGA::Writer::Writer().


Generated on Fri May 2 00:46:07 2003 for Panda by doxygen1.3