Computer Assited Medical Intervention Tool Kit  version 3.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions | Variables
pml2ansys.cpp File Reference
#include <iostream>
#include <string>
#include <PhysicalModel.h>
#include <StructuralComponent.h>
#include <MultiComponent.h>
#include <map>
+ Include dependency graph for pml2ansys.cpp:

Classes

class  ProgramArg
 TODO Comment class here. More...
 

Functions

ProgramArg argVal (defaultsArg, sizeof defaultsArg/sizeof *defaultsArg)
 
int main (int argc, char **argv)
 
void printArg ()
 
void processArg ()
 

Variables

string defaultsArg [][2]
 
string outputBase
 
PhysicalModel * pm
 
string pmlFile
 
const char * usage
 

Function Documentation

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

Referenced by main(), and processArg().

int main ( int  argc,
char **  argv 
)
void printArg ( )

References outputBase, and pmlFile.

Referenced by main().

void processArg ( )

References argVal(), outputBase, pmlFile, and usage.

Referenced by main().

Variable Documentation

string defaultsArg[][2]
Initial value:
= {
{ "-f", "none" },
{ "-o", "pml2ansys-output" },
}
string outputBase

Referenced by main(), printArg(), and processArg().

string pmlFile

Referenced by main(), printArg(), and processArg().

const char* usage
Initial value:
= "usage:\n"
"pml2ansys -f=document.pml [-o=output]\n"
"Transform a PML document containing an 'Elements' exclusive structural component to a .node and .elem (readable in ANSYS)\n"
"(Note no space around '=')\n"
"Where the flags can be any of: \n"
"f (input pml document), o (output base file name) \n"

Referenced by main(), and processArg().