eggMultiBase.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // Filename: eggMultiBase.h
  2. // Created by: drose (02Nov00)
  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 EGGMULTIBASE_H
  19. #define EGGMULTIBASE_H
  20. #include "pandatoolbase.h"
  21. #include "eggBase.h"
  22. #include "coordinateSystem.h"
  23. #include "eggData.h"
  24. #include "pointerTo.h"
  25. class Filename;
  26. ////////////////////////////////////////////////////////////////////
  27. // Class : EggMultiBase
  28. // Description : This specialization of ProgramBase is intended for
  29. // programs that read and/or write multiple egg files.
  30. //
  31. // See also EggMultiFilter, for a class that also knows
  32. // how to read a bunch of egg files in and write them
  33. // out again.
  34. ////////////////////////////////////////////////////////////////////
  35. class EggMultiBase : public EggBase {
  36. public:
  37. EggMultiBase();
  38. void post_process_egg_files();
  39. protected:
  40. virtual PT(EggData) read_egg(const Filename &filename);
  41. protected:
  42. typedef pvector< PT(EggData) > Eggs;
  43. Eggs _eggs;
  44. bool _force_complete;
  45. };
  46. #endif