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