15 #ifndef EGGTOSOMETHING_H 16 #define EGGTOSOMETHING_H 18 #include "pandatoolbase.h" 20 #include "eggConverter.h" 21 #include "distanceUnit.h" 32 const string &preferred_extension =
string(),
33 bool allow_last_param =
true,
34 bool allow_stdout =
true);
39 void apply_units_scale(
EggData *data);
40 virtual void pre_process_egg_file();
41 virtual bool handle_args(
Args &args);
43 DistanceUnit _input_units;
44 DistanceUnit _output_units;
This is the primary interface into all the egg data, and the root of the egg file structure...
This is a general base class for programs that convert between egg files and some other format...
EggToSomething(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 the general base class for a file-converter program that reads some model file format and gen...
void add_units_options()
Adds -ui and -uo as valid options for this program.