Panda3D

eggTrans.h

00001 // Filename: eggTrans.h
00002 // Created by:  drose (14Feb00)
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 EGGTRANS_H
00016 #define EGGTRANS_H
00017 
00018 #include "pandatoolbase.h"
00019 
00020 #include "eggFilter.h"
00021 
00022 ////////////////////////////////////////////////////////////////////
00023 //       Class : EggTrans
00024 // Description : A program to read an egg file and write an equivalent
00025 //               egg file, possibly performing some minor operations
00026 //               along the way.
00027 ////////////////////////////////////////////////////////////////////
00028 class EggTrans : public EggFilter {
00029 public:
00030   EggTrans();
00031 
00032   void run();
00033 
00034   bool _flatten_transforms;
00035   bool _apply_texmats;
00036   bool _collapse_equivalent_textures;
00037   bool _remove_invalid_primitives;
00038   bool _triangulate_polygons;
00039   bool _mesh_triangles;
00040   bool _standardize_names;
00041 };
00042 
00043 #endif
00044 
 All Classes Functions Variables Enumerations