#include <CSWVariousCommands.h>
Public Member Functions | |
virtual ARSTD::Command::PtrType | copy () const |
![]() | |
virtual std::string | getName () const |
![]() | |
virtual PtrType | copy () const =0 |
virtual std::string | getName () const =0 |
virtual bool | wasExecuted () const |
virtual double | getProgress () const |
Static Public Member Functions | |
static PtrType | create (std::shared_ptr< CSWEngine > &pEngine, const double &fHAngle, const double &fVAngle) |
static PtrType | create (std::shared_ptr< CSWEngine > &pEngine, const Vector3D &vecDirection) |
This is a specialization of a command. It provides the functionality to set the direction of an engine.
|
virtual |
|
static |
Creates a new command that let the given engine change its direction.
pEngine | The engine which should change its direction. |
fHAngle | The new horizontal angle. Positiv means rightward (in degree). |
fVAngle | The new vertical angle. Positiv means upward (in degree). |
|
static |
Creates a new command that let the given engine change its direction.
pEngine | The engine which should change its direction. |
vecDirection | The new direction relative to its parent. |