eggFilter.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Filename: eggFilter.h
  2. // Created by: drose (14Feb00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://www.panda3d.org/license.txt .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. #ifndef EGGFILTER_H
  19. #define EGGFILTER_H
  20. #include "pandatoolbase.h"
  21. #include "eggReader.h"
  22. #include "eggWriter.h"
  23. ////////////////////////////////////////////////////////////////////
  24. // Class : EggFilter
  25. // Description : This is the base class for a program that reads an
  26. // egg file, operates on it, and writes another egg file
  27. // out.
  28. ////////////////////////////////////////////////////////////////////
  29. class EggFilter : public EggReader, public EggWriter {
  30. public:
  31. EggFilter(bool allow_last_param = false, bool allow_stdout = true);
  32. protected:
  33. virtual bool handle_args(Args &args);
  34. virtual bool post_command_line();
  35. };
  36. #endif