Panda3D
 All Classes Functions Variables Enumerations
eggTrans.h
1 // Filename: eggTrans.h
2 // Created by: drose (14Feb00)
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 EGGTRANS_H
16 #define EGGTRANS_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggFilter.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : EggTrans
24 // Description : A program to read an egg file and write an equivalent
25 // egg file, possibly performing some minor operations
26 // along the way.
27 ////////////////////////////////////////////////////////////////////
28 class EggTrans : public EggFilter {
29 public:
30  EggTrans();
31 
32  void run();
33 
34  bool _flatten_transforms;
35  bool _apply_texmats;
36  bool _collapse_equivalent_textures;
37  bool _remove_invalid_primitives;
38  bool _triangulate_polygons;
39  bool _mesh_triangles;
40  bool _standardize_names;
41 };
42 
43 #endif
44 
A program to read an egg file and write an equivalent egg file, possibly performing some minor operat...
Definition: eggTrans.h:28
This is the base class for a program that reads an egg file, operates on it, and writes another egg f...
Definition: eggFilter.h:29