FF3DAttractivePointForceModel Struct Reference

#include <FF3DAttractivePointForceModel.h>

Inherits FF3DForceModel.

Collaboration diagram for FF3DAttractivePointForceModel:

Collaboration graph
[legend]
List of all members.

Detailed Description

constraint FF3DDevice on an invisible point

Definition at line 34 of file FF3DAttractivePointForceModel.h.

Public Member Functions

 FF3DAttractivePointForceModel (const Vec3f &)
 Default constructor.
 FF3DAttractivePointForceModel (const FF3DAttractivePointForceModel &fm)
 recopy constructor
virtual FF3DForceModelclone ()
 clone method
virtual Vec3f evaluate (const Vec3f &pos, const mgFloat &)

Public Attributes

mgFloat _stiffness
mgFloat _d
Vec3f _stick_point

Static Public Attributes

static Vec3f _oldForce = Vec3f(0,0,0)


Constructor & Destructor Documentation

FF3DAttractivePointForceModel::FF3DAttractivePointForceModel ( const Vec3f &  pPoint  ) 

Default constructor.

Parameters:
pPoint constrain point
stiffness stiffness

Definition at line 33 of file FF3DAttractivePointForceModel.cpp.

FF3DAttractivePointForceModel::FF3DAttractivePointForceModel ( const FF3DAttractivePointForceModel fm  ) 

recopy constructor

Definition at line 43 of file FF3DAttractivePointForceModel.cpp.


Member Function Documentation

virtual FF3DForceModel* FF3DAttractivePointForceModel::clone (  )  [inline, virtual]

clone method

Implements FF3DForceModel.

Definition at line 44 of file FF3DAttractivePointForceModel.h.

virtual Vec3f FF3DAttractivePointForceModel::evaluate ( const Vec3f &  pos,
const mgFloat &   
) [inline, virtual]

Definition at line 46 of file FF3DAttractivePointForceModel.h.


Member Data Documentation

mgFloat FF3DAttractivePointForceModel::_d

Definition at line 36 of file FF3DAttractivePointForceModel.h.

Vec3f FF3DForceModel::_oldForce = Vec3f(0,0,0) [static, inherited]

Definition at line 37 of file ff3dforcemodel.h.

Vec3f FF3DAttractivePointForceModel::_stick_point

Definition at line 38 of file FF3DAttractivePointForceModel.h.

mgFloat FF3DAttractivePointForceModel::_stiffness

Definition at line 36 of file FF3DAttractivePointForceModel.h.


The documentation for this struct was generated from the following files:
Generated on Tue Oct 16 17:10:52 2007 for Micole by  doxygen 1.4.7