Panda3D
|
00001 // Filename: imageFilter.h 00002 // Created by: drose (19Jun00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef IMAGEFILTER_H 00016 #define IMAGEFILTER_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "imageReader.h" 00021 #include "imageWriter.h" 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // Class : ImageFilter 00025 // Description : This is the base class for a program that reads an 00026 // image file, operates on it, and writes another image 00027 // file out. 00028 //////////////////////////////////////////////////////////////////// 00029 class ImageFilter : public ImageReader, public ImageWriter { 00030 public: 00031 ImageFilter(bool allow_last_param); 00032 00033 protected: 00034 virtual bool handle_args(Args &args); 00035 }; 00036 00037 #endif 00038 00039