00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef EGGTOSOMETHING_H
00016 #define EGGTOSOMETHING_H
00017
00018 #include "pandatoolbase.h"
00019
00020 #include "eggConverter.h"
00021 #include "distanceUnit.h"
00022
00023
00024
00025
00026
00027
00028
00029 class EggToSomething : public EggConverter {
00030 public:
00031 EggToSomething(const string &format_name,
00032 const string &preferred_extension = string(),
00033 bool allow_last_param = true,
00034 bool allow_stdout = true);
00035
00036 void add_units_options();
00037
00038 protected:
00039 void apply_units_scale(EggData *data);
00040 virtual void pre_process_egg_file();
00041 virtual bool handle_args(Args &args);
00042
00043 DistanceUnit _input_units;
00044 DistanceUnit _output_units;
00045 };
00046
00047 #endif
00048
00049