Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
programarg.h File Reference
#include <map>
#include <iostream>
#include <string>
+ Include dependency graph for programarg.h:

Go to the source code of this file.

Classes

class  ProgramArg
 TODO Comment class here. More...
 

Functions

ProgramArg argVal (defaultsArg, sizeof defaultsArg/sizeof *defaultsArg)
 

Variables

string defaultsArg [][2]
 
const char * usage
 

Function Documentation

ProgramArg argVal ( defaultsArg  ,
sizeof defaultsArg/sizeof *  defaultsArg 
)

Variable Documentation

string defaultsArg[][2]
Initial value:
= {
{ "-n", "none" },
{ "-e", "none" },
{ "-t", "none" },
{ "-o", "ansys2pml-output.pml" },
}
const char* usage
Initial value:
= "usage:\n"
"ansys2pml -n=nodes1.txt,..,nodesN.txt [-e=elem1.txt,..elemN.txt] [-t=ELEM_TYPE] [-o=output]\n"
"Transform nodes and elements ANSYS files to a PML\n"
"To produce a correct PML, the file are to be ordered the same way they were exported in ANSYS\n"
"(Note no space around '=')\n"
"Where the flags can be any of: \n"
" -n input node files separated by a comma\n"
" -e input element files separated by a comma\n"
" -t element type (see below)\n"
" -o output PML file name\n"
"\n"
"Element type defines the element geometry:\n"
"- TETRAHEDRON elements are tetrahedron, node index are integer #1, #2, #3 and #5 for each element file line\n"
"- QUAD elements are 2D quads, node index are integer #1, #2, #3 and #4 (I,J,K,L) for each element file line\n"