Panda3D

eggFilter.h

00001 // Filename: eggFilter.h
00002 // Created by:  drose (14Feb00)
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 EGGFILTER_H
00016 #define EGGFILTER_H
00017 
00018 #include "pandatoolbase.h"
00019 
00020 #include "eggReader.h"
00021 #include "eggWriter.h"
00022 
00023 ////////////////////////////////////////////////////////////////////
00024 //       Class : EggFilter
00025 // Description : This is the base class for a program that reads an
00026 //               egg file, operates on it, and writes another egg file
00027 //               out.
00028 ////////////////////////////////////////////////////////////////////
00029 class EggFilter : public EggReader, public EggWriter {
00030 public:
00031   EggFilter(bool allow_last_param = false, bool allow_stdout = true);
00032 
00033 protected:
00034   virtual bool handle_args(Args &args);
00035   virtual bool post_command_line();
00036 };
00037 
00038 #endif
00039 
00040 
 All Classes Functions Variables Enumerations