Panda3D
Enumerations | Functions | Variables
config_pnmimagetypes.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "notifyCategoryProxy.h"
#include "configVariableInt.h"
#include "configVariableString.h"
#include "configVariableBool.h"
#include "configVariableEnum.h"
#include "sgi.h"

Go to the source code of this file.

Enumerations

enum  IMGHeaderType { IHT_none, IHT_short, IHT_long }
 
enum  SGIStorageType { SST_rle = 1, SST_verbatim = 0 }
 

Functions

EXPCL_PANDA_PNMIMAGETYPES void init_libpnmimagetypes ()
 Initializes the library. More...
 
 NotifyCategoryDecl (pnmimage_sgi, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_tiff, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_exr, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_tga, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_img, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_soft, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_bmp, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_jpg, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_png, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
 NotifyCategoryDecl (pnmimage_pnm, EXPCL_PANDA_PNMIMAGETYPES, EXPTP_PANDA_PNMIMAGETYPES)
 
EXPCL_PANDA_PNMIMAGETYPES std::istream & operator >> (std::istream &in, SGIStorageType &sst)
 
EXPCL_PANDA_PNMIMAGETYPES std::istream & operator >> (std::istream &in, IMGHeaderType &iht)
 
EXPCL_PANDA_PNMIMAGETYPES std::ostream & operator<< (std::ostream &out, SGIStorageType sst)
 
EXPCL_PANDA_PNMIMAGETYPES std::ostream & operator<< (std::ostream &out, IMGHeaderType iht)
 

Variables

ConfigVariableInt bmp_bpp
 
ConfigVariableEnum< IMGHeaderType > img_header_type
 
ConfigVariableInt img_size
 
ConfigVariableInt jpeg_quality
 
ConfigVariableInt png_compression_level
 
ConfigVariableBool png_palette
 
ConfigVariableString sgi_imagename
 
ConfigVariableEnum< SGIStorageType > sgi_storage_type
 
ConfigVariableBool tga_colormap
 
ConfigVariableBool tga_grayscale
 
ConfigVariableBool tga_rle
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2000-06-17

Definition in file config_pnmimagetypes.h.

Function Documentation

◆ init_libpnmimagetypes()

EXPCL_PANDA_PNMIMAGETYPES 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 193 of file config_pnmimagetypes.cxx.

References PandaSystem::add_system(), PNMFileTypeRegistry::get_global_ptr(), PandaSystem::get_global_ptr(), init_libpnmimage(), PNMFileTypeRegistry::register_type(), and PNMFileTypePfm::register_with_read_factory().

Referenced by init_libpanda().