#include <PMLInteractionForceField.h>


Public Member Functions | |
| PMLInteractionForceField (StructuralComponent *body, PMLBody *b1, PMLBody *b2, GNode *parent) | |
| ~PMLInteractionForceField () | |
| string | isTypeOf () |
| GNode * | getPointsNode () |
| Inherit methods. | |
| bool | FusionBody (PMLBody *) |
| merge 2 bodies | |
| Vector3 | getDOF (unsigned int) |
Private Member Functions | |
| void | createForceField () |
| creation of the scene graph only a forcefield is created | |
| void | createMechanicalState (StructuralComponent *) |
| creation of the scene graph | |
| void | createTopology (StructuralComponent *) |
| void | createMass (StructuralComponent *) |
| void | createVisualModel (StructuralComponent *) |
| void | createCollisionModel () |
| void | createSprings (StructuralComponent *body) |
Private Attributes | |
| StiffSpringForceField < Vec3Types > * | Sforcefield |
| PMLBody * | body1 |
| PMLBody * | body2 |
| SReal | ks |
| SReal | kd |
Definition at line 65 of file PMLInteractionForceField.h.
| sofa::filemanager::pml::PMLInteractionForceField::PMLInteractionForceField | ( | StructuralComponent * | body, | |
| PMLBody * | b1, | |||
| PMLBody * | b2, | |||
| GNode * | parent | |||
| ) |
Definition at line 55 of file PMLInteractionForceField.cpp.
References body1, body2, sofa::filemanager::pml::PMLBody::collisionsON, createForceField(), createSprings(), kd, ks, sofa::filemanager::pml::PMLBody::name, and sofa::filemanager::pml::PMLBody::parentNode.
| sofa::filemanager::pml::PMLInteractionForceField::~PMLInteractionForceField | ( | ) |
Definition at line 74 of file PMLInteractionForceField.cpp.
References sofa::filemanager::pml::PMLBody::mmodel, and Sforcefield.
| void sofa::filemanager::pml::PMLInteractionForceField::createCollisionModel | ( | ) | [inline, private, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 89 of file PMLInteractionForceField.h.
| void sofa::filemanager::pml::PMLInteractionForceField::createForceField | ( | ) | [private, virtual] |
creation of the scene graph only a forcefield is created
Implements sofa::filemanager::pml::PMLBody.
Definition at line 82 of file PMLInteractionForceField.cpp.
References sofa::simulation::tree::GNode::addObject(), body1, body2, sofa::filemanager::pml::PMLBody::getMechanicalState(), sofa::filemanager::pml::PMLBody::parentNode, and Sforcefield.
Referenced by PMLInteractionForceField().
| void sofa::filemanager::pml::PMLInteractionForceField::createMass | ( | StructuralComponent * | ) | [inline, private, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 87 of file PMLInteractionForceField.h.
| void sofa::filemanager::pml::PMLInteractionForceField::createMechanicalState | ( | StructuralComponent * | body | ) | [inline, private, virtual] |
creation of the scene graph
Implements sofa::filemanager::pml::PMLBody.
Definition at line 85 of file PMLInteractionForceField.h.
| void sofa::filemanager::pml::PMLInteractionForceField::createSprings | ( | StructuralComponent * | body | ) | [private] |
Definition at line 89 of file PMLInteractionForceField.cpp.
References sofa::filemanager::pml::PMLBody::AtomsToDOFsIndexes, body1, body2, dot(), sofa::filemanager::pml::PMLBody::getMechanicalState(), kd, ks, and Sforcefield.
Referenced by PMLInteractionForceField().
| void sofa::filemanager::pml::PMLInteractionForceField::createTopology | ( | StructuralComponent * | ) | [inline, private, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 86 of file PMLInteractionForceField.h.
| void sofa::filemanager::pml::PMLInteractionForceField::createVisualModel | ( | StructuralComponent * | ) | [inline, private, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 88 of file PMLInteractionForceField.h.
merge 2 bodies
Implements sofa::filemanager::pml::PMLBody.
Definition at line 77 of file PMLInteractionForceField.h.
| Vector3 sofa::filemanager::pml::PMLInteractionForceField::getDOF | ( | unsigned int | ) | [inline, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 78 of file PMLInteractionForceField.h.
| GNode* sofa::filemanager::pml::PMLInteractionForceField::getPointsNode | ( | ) | [inline, virtual] |
Inherit methods.
Implements sofa::filemanager::pml::PMLBody.
Definition at line 76 of file PMLInteractionForceField.h.
| string sofa::filemanager::pml::PMLInteractionForceField::isTypeOf | ( | ) | [inline, virtual] |
Implements sofa::filemanager::pml::PMLBody.
Definition at line 73 of file PMLInteractionForceField.h.
Definition at line 96 of file PMLInteractionForceField.h.
Referenced by createForceField(), createSprings(), and PMLInteractionForceField().
Definition at line 97 of file PMLInteractionForceField.h.
Referenced by createForceField(), createSprings(), and PMLInteractionForceField().
Definition at line 101 of file PMLInteractionForceField.h.
Referenced by createSprings(), and PMLInteractionForceField().
Definition at line 100 of file PMLInteractionForceField.h.
Referenced by createSprings(), and PMLInteractionForceField().
StiffSpringForceField<Vec3Types>* sofa::filemanager::pml::PMLInteractionForceField::Sforcefield [private] |
Definition at line 95 of file PMLInteractionForceField.h.
Referenced by createForceField(), createSprings(), and ~PMLInteractionForceField().
1.5.7.1