![]() |
Computer Assited Medical Intervention Tool Kit
version 3.4
|
#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 |
| void facetsToSC | ( | MultiComponent * | mother | ) |
References StructuralComponent::addStructure(), MultiComponent::addSubComponent(), c, ObjLine::data, ObjLine::directive, eof, PhysicalModel::getAtom(), getFacetType(), getNext(), MultiComponent::getNumberOfCells(), StructuralComponent::getNumberOfStructures(), MultiComponent::getNumberOfSubComponents(), getVertex(), lineNr, ObjLine::ok, StructureProperties::QUAD, StructureProperties::TRIANGLE, and type.
Referenced by main().
| unsigned int getFacetType | ( | ) |
References ObjLine::data.
Referenced by facetsToSC().
| void getNext | ( | ) |
References ObjLine::data, ObjLine::directive, eof, lineNr, objStream, and ObjLine::ok.
Referenced by facetsToSC(), and vertexToAtoms().
| 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 | ( | ) |
References eof, lineNr, and ObjLine::ok.
Referenced by SofaSimulator::build(), Chrono::Chrono(), camitk::Component::Component(), Connection::Connection(), camitk::ImageComponent::ImageComponent(), LoadsSimulationDriver::LoadsSimulationDriver(), main(), camitk::MeshComponent::MeshComponent(), InputFile::open(), PhysicalModel::PhysicalModel(), MonitoringManager::reload(), MonitoringManager::rewind(), MonitoringManager::simulate(), and Chrono::start().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| StructuralComponent* vertexToAtoms | ( | ) |
References StructuralComponent::addStructure(), atomIndex, ObjLine::directive, eof, getNext(), getVector(), and ObjLine::ok.
Referenced by main().
| ObjLine currentLine |
| bool eof |
Referenced by facetsToSC(), getNext(), init(), processArg(), and vertexToAtoms().
| unsigned lineNr |
Referenced by facetsToSC(), getNext(), and init().
| PhysicalModel* pm |
1.8.8