FF3DPointForceModel Struct Reference

#include <FF3DPointForceModel.h>

Inherits FF3DForceModel.

Collaboration diagram for FF3DPointForceModel:

Collaboration graph
[legend]
List of all members.

Detailed Description

constraint FF3DDevice on an invisible point

Definition at line 34 of file FF3DPointForceModel.h.

Public Member Functions

 FF3DPointForceModel (Playback *pb, const Vec3f &, const mgFloat &stiffness=STIFFNESS)
 Default constructor.
 FF3DPointForceModel (Playback *pb, const FF3DPointForceModel &fm)
 recopy constructor
virtual FF3DForceModelclone ()
 clone method
virtual Vec3f evaluate (const Vec3f &pos, const mgFloat &w)

Public Attributes

mgFloat _stiffness
Playback_pb
Vec3f _stick_point

Static Public Attributes

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


Constructor & Destructor Documentation

FF3DPointForceModel::FF3DPointForceModel ( Playback pb,
const Vec3f &  pPoint,
const mgFloat &  stiffness = STIFFNESS 
)

Default constructor.

Parameters:
pPoint constrain point
stiffness stiffness

Definition at line 31 of file FF3DPointForceModel.cpp.

FF3DPointForceModel::FF3DPointForceModel ( Playback pb,
const FF3DPointForceModel fm 
)

recopy constructor

Definition at line 39 of file FF3DPointForceModel.cpp.


Member Function Documentation

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

clone method

Implements FF3DForceModel.

Definition at line 46 of file FF3DPointForceModel.h.

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

Definition at line 48 of file FF3DPointForceModel.h.


Member Data Documentation

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

Definition at line 37 of file ff3dforcemodel.h.

Playback* FF3DPointForceModel::_pb

Definition at line 37 of file FF3DPointForceModel.h.

Vec3f FF3DPointForceModel::_stick_point

Definition at line 39 of file FF3DPointForceModel.h.

mgFloat FF3DPointForceModel::_stiffness

Definition at line 36 of file FF3DPointForceModel.h.


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