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;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
AnimationConvert
This enumerated type lists the methods by which animation from an animation package might be represen...
This is a general base class for programs that convert between egg files and some other format.
This is the primary interface into all the egg data, and the root of the egg file structure.
The name of a file, such as a texture file or an Egg file.
This is a base class for a family of converter classes that manage a conversion from some file type t...
This is the general base class for a file-converter program that reads some model file format and gen...
void add_merge_externals_options()
Adds -f.
void add_units_options()
Adds -ui and -uo as valid options for this program.
void add_animation_options()
Adds options appropriate to animation packages.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.