FF3DPlanarForceModel Struct Reference

#include <FF3DPlanarForceModel.h>

Inherits FF3DForceModel.

Collaboration diagram for FF3DPlanarForceModel:

Collaboration graph
[legend]
List of all members.

Detailed Description

constraint FF3DDevice on an invisible plan

Definition at line 33 of file FF3DPlanarForceModel.h.

Public Member Functions

 FF3DPlanarForceModel (const Vec3f &pt1, const Vec3f &pt2, const mgFloat &stiffness=STIFFNESS)
 default constructor
 FF3DPlanarForceModel (const FF3DPlanarForceModel &fm)
 recopy constructor
virtual FF3DForceModelclone ()
 clone method
virtual Vec3f evaluate (const Vec3f &pPos, const mgFloat &w)

Public Attributes

mgFloat _stiffness
Vec3f _pt1
Vec3f _pt2
Vec3f _pt3

Static Public Attributes

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


Constructor & Destructor Documentation

FF3DPlanarForceModel::FF3DPlanarForceModel ( const Vec3f &  pt1,
const Vec3f &  pt2,
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 31 of file FF3DPlanarForceModel.cpp.

FF3DPlanarForceModel::FF3DPlanarForceModel ( const FF3DPlanarForceModel fm  ) 

recopy constructor

Definition at line 40 of file FF3DPlanarForceModel.cpp.


Member Function Documentation

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

clone method

Implements FF3DForceModel.

Definition at line 49 of file FF3DPlanarForceModel.h.

virtual Vec3f FF3DPlanarForceModel::evaluate ( const Vec3f &  pPos,
const mgFloat &  w 
) [inline, virtual]

Definition at line 51 of file FF3DPlanarForceModel.h.


Member Data Documentation

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

Definition at line 37 of file ff3dforcemodel.h.

Vec3f FF3DPlanarForceModel::_pt1

Definition at line 37 of file FF3DPlanarForceModel.h.

Vec3f FF3DPlanarForceModel::_pt2

Definition at line 38 of file FF3DPlanarForceModel.h.

Vec3f FF3DPlanarForceModel::_pt3

Definition at line 39 of file FF3DPlanarForceModel.h.

mgFloat FF3DPlanarForceModel::_stiffness

Definition at line 35 of file FF3DPlanarForceModel.h.


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