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

Classes

class  InputFile
 
struct  NodeLine
 
struct  TetraElemLine
 

Typedefs

typedef map< unsigned int, Atom * > std::AtomIndexMap
 
typedef map< unsigned int,
Atom * >::iterator 
std::AtomIndexMapIterator
 
typedef std::pair< unsigned
int, Atom * > 
std::AtomIndexPair
 

Functions

StructuralComponent * elemToSC (StructuralComponent *elemSC, InputFile &elems)
 
void getNextElem (InputFile &elems)
 
void getNextNode (InputFile &nodes)
 
int main (int argc, char **argv)
 
StructuralComponent * nodesToAtoms (StructuralComponent *atoms, unsigned int *atomIndex, InputFile &nodes)
 
void printArg ()
 
void processArg ()
 

Variables

TetraElemLine currentElemLine
 
NodeLine currentNodeLine
 
vector< string > elemFileNames
 
vector< AtomIndexMap > maps
 
vector< string > nodeFileNames
 
string outputPML
 
StructureProperties::GeometricType type
 

Function Documentation

StructuralComponent* elemToSC ( StructuralComponent *  elemSC,
InputFile &  elems 
)
void getNextElem ( InputFile &  elems)
void getNextNode ( InputFile &  nodes)
int main ( int  argc,
char **  argv 
)
StructuralComponent* nodesToAtoms ( StructuralComponent *  atoms,
unsigned int *  atomIndex,
InputFile &  nodes 
)
void printArg ( )

References outputPML, StructureProperties::toString(), and type.

Referenced by main().

void processArg ( )

References argVal(), eof, outputPML, StructureProperties::toType(), type, and usage.

Referenced by main().

Variable Documentation

TetraElemLine currentElemLine
NodeLine currentNodeLine
vector<string> elemFileNames
vector<AtomIndexMap> maps
vector<string> nodeFileNames
string outputPML

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