| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- // Filename: eggMultiBase.h
- // Created by: drose (02Nov00)
- //
- ////////////////////////////////////////////////////////////////////
- //
- // PANDA 3D SOFTWARE
- // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
- //
- // All use of this software is subject to the terms of the Panda 3d
- // Software license. You should have received a copy of this license
- // along with this source code; you will also find a current copy of
- // the license at http://www.panda3d.org/license.txt .
- //
- // To contact the maintainers of this program write to
- // [email protected] .
- //
- ////////////////////////////////////////////////////////////////////
- #ifndef EGGMULTIBASE_H
- #define EGGMULTIBASE_H
- #include "pandatoolbase.h"
- #include "eggBase.h"
- #include "coordinateSystem.h"
- #include "eggData.h"
- #include "pointerTo.h"
- class Filename;
- ////////////////////////////////////////////////////////////////////
- // Class : EggMultiBase
- // Description : This specialization of ProgramBase is intended for
- // programs that read and/or write multiple egg files.
- //
- // See also EggMultiFilter, for a class that also knows
- // how to read a bunch of egg files in and write them
- // out again.
- ////////////////////////////////////////////////////////////////////
- class EggMultiBase : public EggBase {
- public:
- EggMultiBase();
- void post_process_egg_files();
- protected:
- virtual PT(EggData) read_egg(const Filename &filename);
- protected:
- typedef pvector< PT(EggData) > Eggs;
- Eggs _eggs;
- bool _force_complete;
- };
- #endif
|