step/stepcore
softbody.cc File Reference
#include "softbody.h"
#include "types.h"
#include <algorithm>
#include <cstdlib>
#include <QtGlobal>
#include <QStringList>
Include dependency graph for softbody.cc:
Go to the source code of this file.
Namespaces | |
StepCore | |
Functions | |
StepCore::QT_TR_NOOP ("SoftBody spring") | |
StepCore::QT_TRANSLATE_NOOP ("ObjectClass","SoftBodySpring") | |
StepCore::STEPCORE_META_OBJECT (SoftBodyParticle, QT_TRANSLATE_NOOP("ObjectClass","SoftBodyParticle"), QT_TR_NOOP("SoftBody particle"), 0, STEPCORE_SUPER_CLASS(Particle),) STEPCORE_META_OBJECT(SoftBodySpring | |
StepCore::STEPCORE_META_OBJECT (SoftBody, QT_TRANSLATE_NOOP("ObjectClass","SoftBody"), QT_TR_NOOP("Deformable SoftBody"), 0, STEPCORE_SUPER_CLASS(ItemGroup), STEPCORE_PROPERTY_RW(bool, showInternalItems, QT_TRANSLATE_NOOP("PropertyName","showInternalItems"), STEPCORE_UNITS_NULL, QT_TR_NOOP("Show internal items"), showInternalItems, setShowInternalItems) STEPCORE_PROPERTY_RW_D(StepCore::Vector2d, position, QT_TRANSLATE_NOOP("PropertyName","position"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Position of the center of mass"), position, setPosition) STEPCORE_PROPERTY_RW_D(StepCore::Vector2d, velocity, QT_TRANSLATE_NOOP("PropertyName","velocity"), QT_TRANSLATE_NOOP("Units","m/s"), QT_TR_NOOP("Velocity of the center of mass"), velocity, setVelocity) STEPCORE_PROPERTY_RW_D(double, angularVelocity, QT_TRANSLATE_NOOP("PropertyName","angularVelocity"), QT_TRANSLATE_NOOP("Units","rad/s"), QT_TR_NOOP("Angular velocity of the body"), angularVelocity, setAngularVelocity) STEPCORE_PROPERTY_RW_D(double, angularMomentum, QT_TRANSLATE_NOOP("PropertyName","angularMomentum"), STEPCORE_FROM_UTF8(QT_TRANSLATE_NOOP("Units","kg m²/s")), QT_TR_NOOP("Angular momentum of the body"), angularMomentum, setAngularMomentum) STEPCORE_PROPERTY_R_D(StepCore::Vector2d, acceleration, QT_TRANSLATE_NOOP("PropertyName","acceleration"), STEPCORE_FROM_UTF8(QT_TRANSLATE_NOOP("Units","m/s²")), QT_TR_NOOP("Acceleration of the center of mass"), acceleration) STEPCORE_PROPERTY_R_D(double, angularAcceleration, QT_TRANSLATE_NOOP("PropertyName","angularAcceleration"), STEPCORE_FROM_UTF8(QT_TRANSLATE_NOOP("Units","rad/s²")), QT_TR_NOOP("Angular acceleration of the body"), angularAcceleration) STEPCORE_PROPERTY_R_D(StepCore::Vector2d, force, QT_TRANSLATE_NOOP("PropertyName","force"), QT_TRANSLATE_NOOP("Units","N"), QT_TR_NOOP("Force that acts upon the body"), force) STEPCORE_PROPERTY_R_D(double, torque, QT_TRANSLATE_NOOP("PropertyName","torque"), QT_TRANSLATE_NOOP("Units","N m"), QT_TR_NOOP("Torque that acts upon the body"), torque) STEPCORE_PROPERTY_R_D(double, mass, QT_TRANSLATE_NOOP("PropertyName","mass"), QT_TRANSLATE_NOOP("Units","kg"), QT_TR_NOOP("Total mass of the body"), mass) STEPCORE_PROPERTY_R_D(double, inertia, QT_TRANSLATE_NOOP("PropertyName","inertia"), STEPCORE_FROM_UTF8(QT_TRANSLATE_NOOP("Units","kg m²")), QT_TR_NOOP("Inertia \"tensor\" of the body"), inertia) STEPCORE_PROPERTY_RW(QString, borderParticleNames, QT_TRANSLATE_NOOP("PropertyName","borderParticleNames"), STEPCORE_UNITS_NULL, QT_TR_NOOP("Border particle names (temporal property)"), borderParticleNames, setBorderParticleNames)) ItemList SoftBody | |
StepCore::STEPCORE_SUPER_CLASS (Spring) | |
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.