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  More... | |
| 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  More... | |
| void | help_menu (void) | 
| help menu function  More... | |
| int | main (int argc, char *argv[]) | 
| main program call  More... | |
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 help_menu | ( | void | ) | 
help menu function
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
main program call
| 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.8.13
Imprint/Privacy
 1.8.13
Imprint/Privacy