homoefeld berechnung und animation sollten grundlegend funktionieren

git-svn-id: http://svn.lsim.tuxzone.org/trunk@3 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-10-11 23:16:51 +00:00
parent 509cacdca6
commit c2a919a15e
8 changed files with 75 additions and 43 deletions

View File

@@ -32,6 +32,8 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
QWidget* getDockWidget() const;
~GraphicsEllipseItem();
QList<QPointF> * getCurrProbePath();
@@ -58,12 +60,15 @@ class GraphicsEllipseItem : public QObject , public QGraphicsEllipseItem {
/*!
\param steps Anzahl der auszuf&uuml;renden Schriite
*/
void calculateProbePath (QPointF startPoint = QPointF(0,0), double startSpeedX = 0, double startSpeedY = 0);
void calculateProbePath (QPointF startPoint = QPointF(0,0) , double startSpeedX = 0, double startSpeedY = 0);
void setMasse ( const long double& theValue );
void setMasse ( const double& theValue );
long double getMasse() const;
//! Gibt die Masse zur&uuml;ck
/*!
\param speed alles != 0 relativistisch
*/
double getMasse(double speed);
void setCharge ( const long double& theValue );