Panda3D
eggMultiBase.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file eggMultiBase.h
10  * @author drose
11  * @date 2000-11-02
12  */
13 
14 #ifndef EGGMULTIBASE_H
15 #define EGGMULTIBASE_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "eggBase.h"
20 #include "coordinateSystem.h"
21 #include "eggData.h"
22 #include "pointerTo.h"
23 
24 class Filename;
25 
26 /**
27  * This specialization of ProgramBase is intended for programs that read
28  * and/or write multiple egg files.
29  *
30  * See also EggMultiFilter, for a class that also knows how to read a bunch of
31  * egg files in and write them out again.
32  */
33 class EggMultiBase : public EggBase {
34 public:
35  EggMultiBase();
36 
38 
39 protected:
40  virtual PT(EggData) read_egg(const Filename &filename);
41 
42 protected:
43  typedef pvector< PT(EggData) > Eggs;
44  Eggs _eggs;
45 
46  bool _force_complete;
47 };
48 
49 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This specialization of ProgramBase is intended for programs that read and/or write multiple egg files...
Definition: eggMultiBase.h:33
This is the primary interface into all the egg data, and the root of the egg file structure.
Definition: eggData.h:37
This is our own Panda specialization on the default STL vector.
Definition: pvector.h:42
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void post_process_egg_files()
Performs any processing of the egg file(s) that is appropriate before writing them out.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a base class for both EggSingleBase and EggMultiBase.
Definition: eggBase.h:29
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.