Main program to convert a DT-Grid file into a UHBD format file. More...
#include <stdlib.h>#include <iostream>#include <fstream>#include <string.h>#include <sstream>#include <iomanip>#include "../datastructures/DTGrid3Dex.hpp"#include "../datastructures/DTGrid3D.hpp"Functions | |
| void | write_uhbd_ascii_header (FILE *output_file, char *Title, float scale, float spacing, int one, int grdflag, int dimi, int dimj, int dimk, float o_x, float o_y, float o_z, float dummy1, float dummy2, float dummy3, float dummy4, float dummy5, float dummy6, float dummy7, int idummy1, int idummy2, int idummy3, int idummy4, int idummy5) |
| //WRITE THE UHBD FILE HEADER in ascii format | |
| void | write_uhbd_binary_header (FILE *output_file, char *Title, float scale, float spacing, int one, int grdflag, int dimi, int dimj, int dimk, float o_x, float o_y, float o_z, float dummy1, float dummy2, float dummy3, float dummy4, float dummy5, float dummy6, float dummy7, int idummy1, int idummy2, int idummy3, int idummy4, int idummy5) |
| //WRITE THE UHBD FILE HEADER in binary format | |
| void | help_menu (void) |
| help menu function | |
| int | main (int argc, char *argv[]) |
| main program call | |
Main program to convert a DT-Grid file into a UHBD format file.
This program converts a DT-Grid file into a UHBD grid file. It inputs and outputs both ascii and binary types. Running the program with "-h" option in command line returns the options available for the user.
| void write_uhbd_ascii_header | ( | FILE * | output_file, |
| char * | Title, | ||
| float | scale, | ||
| float | spacing, | ||
| int | one, | ||
| int | grdflag, | ||
| int | dimi, | ||
| int | dimj, | ||
| int | dimk, | ||
| float | o_x, | ||
| float | o_y, | ||
| float | o_z, | ||
| float | dummy1, | ||
| float | dummy2, | ||
| float | dummy3, | ||
| float | dummy4, | ||
| float | dummy5, | ||
| float | dummy6, | ||
| float | dummy7, | ||
| int | idummy1, | ||
| int | idummy2, | ||
| int | idummy3, | ||
| int | idummy4, | ||
| int | idummy5 | ||
| ) |
| void write_uhbd_binary_header | ( | FILE * | output_file, |
| char * | Title, | ||
| float | scale, | ||
| float | spacing, | ||
| int | one, | ||
| int | grdflag, | ||
| int | dimi, | ||
| int | dimj, | ||
| int | dimk, | ||
| float | o_x, | ||
| float | o_y, | ||
| float | o_z, | ||
| float | dummy1, | ||
| float | dummy2, | ||
| float | dummy3, | ||
| float | dummy4, | ||
| float | dummy5, | ||
| float | dummy6, | ||
| float | dummy7, | ||
| int | idummy1, | ||
| int | idummy2, | ||
| int | idummy3, | ||
| int | idummy4, | ||
| int | idummy5 | ||
| ) |
1.9.8
Imprint/Privacy