55 _output_units = output_units;
bool had_error() const
Returns true if an error was detected during the conversion process, false otherwise.
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...
void clear_error()
Resets the error flag to the no-error state.
void set_egg_data(EggData *egg_data)
Sets the egg data that will be filled in when convert_file() is called.
DistanceUnit get_output_units() const
Returns the value supplied to set_output_units().
void set_output_units(DistanceUnit output_units)
Specifies the units that the EggData has already been scaled to.
void clear_egg_data()
Sets the EggData to NULL and makes the converter invalid.
EggData * get_egg_data()
Returns the EggData structure.