In file /home/blah/darwin2k/src/dyno/mechanism/dynoInfluence.h:

class uniformField

Applies a force proportional to mass to every link.

Inheritance:


Public Fields

[more]triple acc
the direction and magnitude of the acceleration felt by each link

Public Methods

[more] uniformField(void)
constructor
[more] uniformField(const triple &Acc)
constructor
[more]int apply(void)
applies a force of acc*link::mass to each link in the system


Inherited from dynoInfluence:


Inherited from dynoObject:

Public Fields

odynamicSystem* ds
oint active
oint stateSize

Public Methods

oinline virtual int getState(double* state)
oinline virtual int setState(const double* state)
oinline virtual int reset(void)


Inherited from synObject:

Public Fields

ostatic int staticClassID
oint objectID
oint verboseLevel

Public Methods

ovirtual const char* className(void) const
ovirtual synObject* copy(void) const
ovirtual int isOfType(int typeNum, int derivedOk)
ostatic int setStaticClassID(void)
ovirtual int classID(void) const


Documentation

Applies a force proportional to mass to every link. The uniformField class provides an easy way to add gravity (or gravity-like forces) to all links in a dynamicSystem. The force for each link is computed as acc*link::mass, where acc is a triple indicating direction and magnitude. For example, acc = (0, 0, -9.8) would correspond to a gravitational acceleration of 9.8m/s^2 acting in the -z direction.
otriple acc
the direction and magnitude of the acceleration felt by each link

o uniformField(void)
constructor

o uniformField(const triple &Acc)
constructor

oint apply(void)
applies a force of acc*link::mass to each link in the system


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.