![]() |
Computer Assited Medical Intervention Tool Kit
version 3.4
|
#include <iostream>#include <string>#include <math.h>#include <PhysicalModel.h>#include <StructuralComponent.h>#include <MultiComponent.h>#include "../ansys2pml/programarg.h"
Include dependency graph for gensphere.cpp:Macros | |
| #define | C 0.5773502691896257645 |
| #define | X 0.525731112119133696 |
| #define | Z 0.850650808352039932 |
Functions | |
| int | main (int argc, char **argv) |
| Atom * | newAtom (double posA[3]) |
| void | normalize (double v[3]) |
| void | printArg () |
| void | processArg () |
| void | subdivide (Atom *a1, Atom *a2, Atom *a3, int depth) |
| void | subdivide (Atom *a1, Atom *a2, Atom *a3, Atom *a4, int depth) |
Variables | |
| unsigned int | atomIndex |
| unsigned int | cubeFace [6][4] |
| double | cubeVertex [8][3] |
| StructuralComponent * | elemSC |
| vector< unsigned int * > | faces |
| unsigned int | icosahedronFace [20][3] |
| double | icosahedronVertex [12][3] |
| string | outputPML |
| PhysicalModel * | pm |
| string | shapeType |
| int | subdiv |
| vector< double * > | vertices |
| #define C 0.5773502691896257645 |
| #define X 0.525731112119133696 |
| #define Z 0.850650808352039932 |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References StructuralComponent::addStructure(), MultiComponent::addSubComponent(), argVal(), atomIndex, PhysicalModel::getAtom(), PhysicalModel::getExclusiveComponents(), outputFile, outputPML, ProgramArg::parse(), printArg(), processArg(), PhysicalModel::setAtoms(), PhysicalModel::setExclusiveComponents(), PhysicalModel::setInformativeComponents(), PhysicalModel::setName(), shapeType, subdiv, subdivide(), usage, PMLAbortException::what(), and PhysicalModel::xmlPrint().
| Atom* newAtom | ( | double | posA[3] | ) |
References PhysicalModel::addAtom(), atomIndex, PhysicalModel::getAtoms(), and StructuralComponent::getStructure().
Referenced by subdivide().
| void normalize | ( | double | v[3] | ) |
Referenced by subdivide().
| void processArg | ( | ) |
References argVal(), cubeFace, cubeVertex, icosahedronFace, icosahedronVertex, outputPML, shapeType, and subdiv.
Referenced by main().
References StructuralComponent::addStructure(), c, Atom::getPosition(), newAtom(), normalize(), Atom::setPosition(), and StructureProperties::TRIANGLE.
Referenced by main(), and subdivide().
| unsigned int atomIndex |
Referenced by LoadsEditor::createDCLoads(), main(), newAtom(), nodesToAtoms(), refine(), StructuralComponentDC::updateAtoms(), and vertexToAtoms().
| unsigned int cubeFace[6][4] |
Referenced by processArg().
| double cubeVertex[8][3] |
| StructuralComponent* elemSC |
Referenced by main().
| vector<unsigned int *> faces |
| unsigned int icosahedronFace[20][3] |
Referenced by processArg().
| double icosahedronVertex[12][3] |
| string outputPML |
Referenced by main(), printArg(), and processArg().
| PhysicalModel* pm |
Referenced by CreateSC::apply(), LoadsEditor::applyToReturnPressed(), SofaSimulator::createPml(), LoadsSimulationDriver::init(), main(), PMManagerDC::PMManagerDC(), LoadsSimulationDriver::resetPositions(), Properties::setPhysicalModel(), LoadsSimulationDriver::updateAtomData(), MMLDisplay::updateDisplay(), and LoadsSimulationDriver::updatePositions().
| string shapeType |
Referenced by main(), printArg(), and processArg().
| int subdiv |
Referenced by main(), printArg(), and processArg().
| vector<double *> vertices |
1.8.8