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
obj2pml.cpp File Reference
#include <iostream>
#include <string>
#include <PhysicalModel.h>
#include <StructuralComponent.h>
#include <MultiComponent.h>
+ Include dependency graph for obj2pml.cpp:

Classes

struct  ObjLine
 

Functions

void facetsToSC (MultiComponent *mother)
 
unsigned int getFacetType ()
 
void getNext ()
 
void getVector (double d[3])
 
void getVertex (unsigned int size, int v[])
 
void init ()
 
int main (int argc, char **argv)
 
StructuralComponent * vertexToAtoms ()
 

Variables

ObjLine currentLine
 
bool eof
 
unsigned lineNr
 
std::ifstream objStream
 
PhysicalModel * pm
 

Function Documentation

void facetsToSC ( MultiComponent *  mother)
unsigned int getFacetType ( )

References ObjLine::data.

Referenced by facetsToSC().

void getNext ( )
void getVector ( double  d[3])

References ObjLine::data.

Referenced by vertexToAtoms().

void getVertex ( unsigned int  size,
int  v[] 
)

References ObjLine::data.

Referenced by facetsToSC().

void init ( )
int main ( int  argc,
char **  argv 
)
StructuralComponent* vertexToAtoms ( )

Variable Documentation

ObjLine currentLine
bool eof
unsigned lineNr

Referenced by facetsToSC(), getNext(), and init().

std::ifstream objStream

Referenced by getNext(), and main().