15 #ifndef SOMETHINGTOEGG_H 16 #define SOMETHINGTOEGG_H 18 #include "pandatoolbase.h" 20 #include "eggConverter.h" 21 #include "distanceUnit.h" 22 #include "animationConvert.h" 35 const string &preferred_extension =
string(),
36 bool allow_last_param =
true,
37 bool allow_stdout =
true);
44 void apply_units_scale(
EggData *data);
47 virtual bool handle_args(
Args &args);
48 virtual bool post_command_line();
49 virtual void post_process_egg_file();
51 static bool dispatch_animation_convert(
const string &opt,
const string &arg,
void *var);
56 DistanceUnit _input_units;
57 DistanceUnit _output_units;
59 AnimationConvert _animation_convert;
60 string _character_name;
64 double _neutral_frame;
65 double _input_frame_rate;
66 double _output_frame_rate;
67 bool _got_start_frame;
70 bool _got_neutral_frame;
71 bool _got_input_frame_rate;
72 bool _got_output_frame_rate;
74 bool _merge_externals;
void add_animation_options()
Adds options appropriate to animation packages.
This is the primary interface into all the egg data, and the root of the egg file structure...
SomethingToEgg(const string &format_name, const string &preferred_extension=string(), bool allow_last_param=true, bool allow_stdout=true)
The first parameter to the constructor should be the one-word name of the file format that is to be r...
This is a general base class for programs that convert between egg files and some other format...
The name of a file, such as a texture file or an Egg file.
void add_merge_externals_options()
Adds -f.
This is the general base class for a file-converter program that reads some model file format and gen...
This is a base class for a family of converter classes that manage a conversion from some file type t...
void add_units_options()
Adds -ui and -uo as valid options for this program.