Panda3D
 All Classes Functions Variables Enumerations
mayaToEgg.h
1 // Filename: mayaToEgg.h
2 // Created by: drose (15Feb00)
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 MAYATOEGG_H
16 #define MAYATOEGG_H
17 
18 #include "pandatoolbase.h"
19 #include "somethingToEgg.h"
20 #include "mayaToEggConverter.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : MayaToEgg
24 // Description :
25 ////////////////////////////////////////////////////////////////////
26 class MayaToEgg : public SomethingToEgg {
27 public:
28  MayaToEgg();
29 
30  void run();
31 
32 protected:
33  static bool dispatch_transform_type(const string &opt, const string &arg, void *var);
34 
35  int _verbose;
36  bool _polygon_output;
37  double _polygon_tolerance;
38  bool _respect_maya_double_sided;
39  bool _suppress_vertex_color;
40  bool _keep_all_uvsets;
41  bool _convert_cameras;
42  bool _convert_lights;
43  bool _round_uvs;
44  bool _legacy_shader;
45  bool _legacy_copytex;
46  Filename _legacy_copytex_dir;
47 
48  MayaToEggConverter::TransformType _transform_type;
49  vector_string _subroots;
50  vector_string _subsets;
51  vector_string _excludes;
52  vector_string _ignore_sliders;
53  vector_string _force_joints;
54 };
55 
56 #endif
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
This is the general base class for a file-converter program that reads some model file format and gen...