Panda3D
|
00001 // Filename: mayaToEgg.h 00002 // Created by: drose (15Feb00) 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 MAYATOEGG_H 00016 #define MAYATOEGG_H 00017 00018 #include "pandatoolbase.h" 00019 #include "somethingToEgg.h" 00020 #include "mayaToEggConverter.h" 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Class : MayaToEgg 00024 // Description : 00025 //////////////////////////////////////////////////////////////////// 00026 class MayaToEgg : public SomethingToEgg { 00027 public: 00028 MayaToEgg(); 00029 00030 void run(); 00031 00032 protected: 00033 static bool dispatch_transform_type(const string &opt, const string &arg, void *var); 00034 00035 int _verbose; 00036 bool _polygon_output; 00037 double _polygon_tolerance; 00038 bool _respect_maya_double_sided; 00039 bool _suppress_vertex_color; 00040 bool _keep_all_uvsets; 00041 bool _round_uvs; 00042 bool _legacy_shader; 00043 bool _legacy_copytex; 00044 Filename _legacy_copytex_dir; 00045 00046 MayaToEggConverter::TransformType _transform_type; 00047 vector_string _subroots; 00048 vector_string _subsets; 00049 vector_string _excludes; 00050 vector_string _ignore_sliders; 00051 vector_string _force_joints; 00052 }; 00053 00054 #endif