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