Panda3D
 All Classes Functions Variables Enumerations
eggMultiBase.h
00001 // Filename: eggMultiBase.h
00002 // Created by:  drose (02Nov00)
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 EGGMULTIBASE_H
00016 #define EGGMULTIBASE_H
00017 
00018 #include "pandatoolbase.h"
00019 
00020 #include "eggBase.h"
00021 #include "coordinateSystem.h"
00022 #include "eggData.h"
00023 #include "pointerTo.h"
00024 
00025 class Filename;
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //       Class : EggMultiBase
00029 // Description : This specialization of ProgramBase is intended for
00030 //               programs that read and/or write multiple egg files.
00031 //
00032 //               See also EggMultiFilter, for a class that also knows
00033 //               how to read a bunch of egg files in and write them
00034 //               out again.
00035 ////////////////////////////////////////////////////////////////////
00036 class EggMultiBase : public EggBase {
00037 public:
00038   EggMultiBase();
00039 
00040   void post_process_egg_files();
00041 
00042 protected:
00043   virtual PT(EggData) read_egg(const Filename &filename);
00044 
00045 protected:
00046   typedef pvector< PT(EggData) > Eggs;
00047   Eggs _eggs;
00048 
00049   bool _force_complete;
00050 };
00051 
00052 #endif
00053 
00054 
 All Classes Functions Variables Enumerations