void setPosition(Position *newpos)
Sets the current position of the QParticle3D.
Definition: qparticle3d.cpp:34
QParticle3D(Particle *p)
Constructs a QParticle3D associated with the given Particle.
Definition: qparticle3d.cpp:7
void incrementTimestep()
Increments the internal timestep counter.
Definition: qparticle3d.cpp:42
3D graphical wrapper for Particle.
Definition: qparticle3d.h:18
void setCollisionTimestep(int t)
Sets the timestep for the a collision involving the Particle.
Definition: qparticle3d.cpp:38
void draw(QGLPainter *painter)
Draw the QParticle3D to the display.
Definition: qparticle3d.cpp:46
Definition: particle.h:12
Particle * getParticle()
Returns the Particle associated with this QParticle3D.
Definition: qparticle3d.cpp:30