sofa::filemanager::pml::PMLInteractionForceField Class Reference

#include <PMLInteractionForceField.h>

Inheritance diagram for sofa::filemanager::pml::PMLInteractionForceField:

Inheritance graph
[legend]
Collaboration diagram for sofa::filemanager::pml::PMLInteractionForceField:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 65 of file PMLInteractionForceField.h.


Constructor & Destructor Documentation

sofa::filemanager::pml::PMLInteractionForceField::PMLInteractionForceField ( StructuralComponent *  body,
PMLBody *  b1,
PMLBody *  b2,
GNode *  parent 
)

sofa::filemanager::pml::PMLInteractionForceField::~PMLInteractionForceField (  ) 


Member Function Documentation

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]

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]

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.

bool sofa::filemanager::pml::PMLInteractionForceField::FusionBody ( PMLBody *   )  [inline, virtual]

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.


Field Documentation

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().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:23:58 2008 for Sofa by  doxygen 1.5.7.1