|
void | run () |
|
void | traverse (EggNode *node) |
|
void | write_bin (EggBin *bin) |
|
void | write_vertex_pool (EggVertexPool *vpool) |
|
| EggToSomething (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 read, for instance "OpenFlight" or "Alias". More...
|
|
void | add_units_options () |
| Adds -ui and -uo as valid options for this program. More...
|
|
| EggConverter (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 alien file format that is to be read or written, for instance "OpenFlight" or "Alias". More...
|
|
| EggFilter (bool allow_last_param=false, bool allow_stdout=true) |
|
void | add_delod_options (double default_delod=-1.0) |
| Adds -delod as a valid option for this program. More...
|
|
void | add_texture_options () |
| Adds -td, -te, etc. More...
|
|
virtual EggReader * | as_reader () |
| Returns this object as an EggReader pointer, if it is in fact an EggReader, or NULL if it is not. More...
|
|
void | add_normals_options () |
| Adds -no, -np, etc. More...
|
|
void | add_points_options () |
| Adds -points as a valid option for this program. More...
|
|
void | add_transform_options () |
| Adds -TS, -TT, etc. More...
|
|
| ProgramBase (const std::string &name=std::string()) |
|
std::string | get_exec_command () const |
| Returns the command that invoked this program, as a shell-friendly string, suitable for pasting into the comments of output files. More...
|
|
virtual void | parse_command_line (int argc, char **argv) |
| Dispatches on each of the options on the command line, and passes the remaining parameters to handle_args(). More...
|
|
void | show_description () |
| Writes the program description to stderr. More...
|
|
void | show_options () |
| Describes each of the available options to stderr. More...
|
|
void | show_text (const std::string &text) |
| Formats the indicated text to stderr with the known _terminal_width. More...
|
|
void | show_text (const std::string &prefix, int indent_width, std::string text) |
| Formats the indicated text and its prefix for output to stderr with the known _terminal_width. More...
|
|
void | show_usage () |
| Writes the usage line(s) to stderr. More...
|
|
void | write_man_page (std::ostream &out) |
| Generates a man page in nroff syntax based on the description and options. More...
|
|
| EggWriter (bool allow_last_param=false, bool allow_stdout=true) |
| Egg-writing type programs may specify their output file using either the last-filename convention, the -o convention, and/or implicitly writing the result to standard output. More...
|
|
virtual EggWriter * | as_writer () |
| Returns this object as an EggWriter pointer, if it is in fact an EggWriter, or NULL if it is not. More...
|
|
virtual void | post_process_egg_file () |
| Performs any processing of the egg file that is appropriate before writing it out. More...
|
|
void | write_egg_file () |
| Writes out the egg file as the normal result of the program. More...
|
|
| WithOutputFile (bool allow_last_param, bool allow_stdout, bool binary_output) |
|
void | close_output () |
| Closes the output stream previously opened by get_output(). More...
|
|
std::ostream & | get_output () |
| Returns an output stream that corresponds to the user's intended egg file output–either stdout, or the named output file. More...
|
|
Filename | get_output_filename () const |
| If has_output_filename() returns true, this is the filename that the user specified. More...
|
|
bool | has_output_filename () const |
| Returns true if the user specified an output filename, false otherwise (e.g. More...
|
|
Definition at line 30 of file eggToC.h.