14 #ifndef SOMETHINGTOEGG_H 15 #define SOMETHINGTOEGG_H 32 const std::string &preferred_extension = std::string(),
33 bool allow_last_param =
true,
34 bool allow_stdout =
true);
41 void apply_units_scale(
EggData *data);
44 virtual bool handle_args(
Args &args);
45 virtual bool post_command_line();
46 virtual void post_process_egg_file();
48 static bool dispatch_animation_convert(
const std::string &opt,
const std::string &arg,
void *var);
57 std::string _character_name;
61 double _neutral_frame;
62 double _input_frame_rate;
63 double _output_frame_rate;
64 bool _got_start_frame;
67 bool _got_neutral_frame;
68 bool _got_input_frame_rate;
69 bool _got_output_frame_rate;
71 bool _merge_externals;
AnimationConvert
This enumerated type lists the methods by which animation from an animation package might be represen...
void add_animation_options()
Adds options appropriate to animation packages.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the primary interface into all the egg data, and the root of the egg file structure.
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
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...
SomethingToEgg(const std::string &format_name, const std::string &preferred_extension=std::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...
void add_units_options()
Adds -ui and -uo as valid options for this program.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.