Panda3D
Protected Member Functions | Protected Attributes

ImageBase Class Reference

This specialization of ProgramBase is intended for programs that read and/or write a single image file. More...

#include "imageBase.h"

Inheritance diagram for ImageBase:
ProgramBase ImageReader ImageWriter ImageFilter ImageFilter ImageFixHiddenColor ImageResize ImageTrans ImageFixHiddenColor ImageResize ImageTrans

List of all members.

Protected Member Functions

virtual bool post_command_line ()
 This is called after the command line has been completely processed, and it gives the program a chance to do some last-minute processing and validation of the options and arguments.

Protected Attributes

PNMImage _image

Detailed Description

This specialization of ProgramBase is intended for programs that read and/or write a single image file.

(See ImageMultiBase for programs that operate on multiple image files at once.)

This is just a base class; see ImageReader, ImageWriter, or ImageFilter according to your particular I/O needs.

Definition at line 34 of file imageBase.h.


Member Function Documentation

bool ImageBase::post_command_line ( ) [protected, virtual]

This is called after the command line has been completely processed, and it gives the program a chance to do some last-minute processing and validation of the options and arguments.

It should return true if everything is fine, false if there is an error.

Reimplemented from ProgramBase.

Definition at line 33 of file imageBase.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations