Panda3D
mayaToEgg.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 mayaToEgg.h
10  * @author drose
11  * @date 2000-02-15
12  */
13 
14 #ifndef MAYATOEGG_H
15 #define MAYATOEGG_H
16 
17 #include "pandatoolbase.h"
18 #include "somethingToEgg.h"
19 #include "mayaToEggConverter.h"
20 
21 /**
22  *
23  */
24 class MayaToEgg : public SomethingToEgg {
25 public:
26  MayaToEgg();
27 
28  void run();
29 
30 protected:
31  static bool dispatch_transform_type(const std::string &opt, const std::string &arg, void *var);
32 
33  int _verbose;
34  bool _polygon_output;
35  double _polygon_tolerance;
36  bool _respect_maya_double_sided;
37  bool _suppress_vertex_color;
38  bool _keep_all_uvsets;
39  bool _convert_cameras;
40  bool _convert_lights;
41  bool _round_uvs;
42  bool _legacy_shader;
43  bool _legacy_copytex;
44  Filename _legacy_copytex_dir;
45 
46  MayaToEggConverter::TransformType _transform_type;
47  vector_string _subroots;
48  vector_string _subsets;
49  vector_string _excludes;
50  vector_string _ignore_sliders;
51  vector_string _force_joints;
52 };
53 
54 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
This is the general base class for a file-converter program that reads some model file format and gen...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.