Panda3D
imageBase.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file imageBase.h
10  * @author drose
11  * @date 2000-06-19
12  */
13 
14 #ifndef IMAGEBASE_H
15 #define IMAGEBASE_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "programBase.h"
20 #include "coordinateSystem.h"
21 #include "pnmImage.h"
22 
23 /**
24  * This specialization of ProgramBase is intended for programs that read
25  * and/or write a single image file. (See ImageMultiBase for programs that
26  * operate on multiple image files at once.)
27  *
28  * This is just a base class; see ImageReader, ImageWriter, or ImageFilter
29  * according to your particular I/O needs.
30  */
31 class ImageBase : public ProgramBase {
32 public:
33  ImageBase();
34 
35 protected:
36  virtual bool post_command_line();
37 
38 protected:
39  PNMImage _image;
40 };
41 
42 #endif
pnmImage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ProgramBase
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:34
PNMImage
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
Definition: pnmImage.h:58
coordinateSystem.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ImageBase
This specialization of ProgramBase is intended for programs that read and/or write a single image fil...
Definition: imageBase.h:31
programBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.