step/stepcore
StepCore::LinearMotor Class Reference
#include <motor.h>
Inheritance diagram for StepCore::LinearMotor:

Public Member Functions | |
| LinearMotor (Object *body=0, const Vector2d &localPosition=Vector2d::Zero(), Vector2d forceValue=Vector2d::Zero()) | |
| Object * | body () const |
| void | calcForce (bool calcVariances) |
| const Vector2d & | forceValue () const |
| const Vector2d & | localPosition () const |
| Vector2d | position () const |
| void | setBody (Object *body) |
| void | setForceValue (const Vector2d &forceValue) |
| void | setLocalPosition (const Vector2d &localPosition) |
Public Member Functions inherited from StepCore::Item | |
| Item (const QString &name=QString()) | |
| Item (const Item &item) | |
| virtual | ~Item () |
| Color | color () const |
| void | deleteObjectErrors () |
| ItemGroup * | group () const |
| ObjectErrors * | objectErrors () |
| Item & | operator= (const Item &item) |
| void | setColor (Color color) |
| virtual void | setGroup (ItemGroup *group) |
| virtual void | setWorld (World *world) |
| ObjectErrors * | tryGetObjectErrors () const |
| World * | world () const |
| virtual void | worldItemRemoved (Item *item STEPCORE_UNUSED) |
Public Member Functions inherited from StepCore::Object | |
| Object (const QString &name=QString()) | |
| virtual | ~Object () |
| const QString & | name () const |
| void | setName (const QString &name) |
Public Member Functions inherited from StepCore::Force | |
| virtual | ~Force () |
Protected Attributes | |
| Object * | _body |
| Vector2d | _forceValue |
| Vector2d | _localPosition |
| Particle * | _p |
| RigidBody * | _r |
Protected Attributes inherited from StepCore::Object | |
| QString | _name |
Additional Inherited Members | |
Protected Member Functions inherited from StepCore::Item | |
| virtual ObjectErrors * | createObjectErrors () |
Detailed Description
Constructor & Destructor Documentation
|
explicit |
Constructs LinearMotor.
Member Function Documentation
|
inline |
|
virtual |
|
inline |
|
inline |
| Vector2d StepCore::LinearMotor::position | ( | ) | const |
| void StepCore::LinearMotor::setBody | ( | Object * | body | ) |
|
inline |
|
inline |
Member Data Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from