FF3DSphericalForceModel Struct Reference

#include <FF3DSphericalForceModel.h>

Inherits FF3DForceModel.

Collaboration diagram for FF3DSphericalForceModel:

Collaboration graph
[legend]
List of all members.

Detailed Description

constraint FF3DDevice on an invisible plan

Definition at line 36 of file FF3DSphericalForceModel.h.

Public Member Functions

 FF3DSphericalForceModel (const Vec3f &pt, const mgFloat &pRange, const mgFloat &stiffness=STIFFNESS)
 default constructor
 FF3DSphericalForceModel (const FF3DSphericalForceModel &fm)
 recopy constructor
virtual FF3DForceModelclone ()
 clone method
virtual Vec3f evaluate (const Vec3f &pos, const mgFloat &w)

Public Attributes

mgFloat _stiffness
Vec3f _pt1
Vec3f _pt2
Vec3f _pt3
mgFloat _range

Static Public Attributes

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


Constructor & Destructor Documentation

FF3DSphericalForceModel::FF3DSphericalForceModel ( const Vec3f &  pt,
const mgFloat &  pRange,
const mgFloat &  stiffness = STIFFNESS 
)

default constructor

Parameters:
pt1 first point to define base of plan
pt2 second point define vector and "norm" of plan

Definition at line 32 of file FF3DSphericalForceModel.cpp.

FF3DSphericalForceModel::FF3DSphericalForceModel ( const FF3DSphericalForceModel fm  ) 

recopy constructor

Definition at line 40 of file FF3DSphericalForceModel.cpp.


Member Function Documentation

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

clone method

Implements FF3DForceModel.

Definition at line 55 of file FF3DSphericalForceModel.h.

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

Definition at line 57 of file FF3DSphericalForceModel.h.


Member Data Documentation

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

Definition at line 37 of file ff3dforcemodel.h.

Vec3f FF3DSphericalForceModel::_pt1

Definition at line 40 of file FF3DSphericalForceModel.h.

Vec3f FF3DSphericalForceModel::_pt2

Definition at line 41 of file FF3DSphericalForceModel.h.

Vec3f FF3DSphericalForceModel::_pt3

Definition at line 42 of file FF3DSphericalForceModel.h.

mgFloat FF3DSphericalForceModel::_range

Definition at line 44 of file FF3DSphericalForceModel.h.

mgFloat FF3DSphericalForceModel::_stiffness

Definition at line 38 of file FF3DSphericalForceModel.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