#include <positionedobject.h>
Inheritance diagram for openalpp::PositionedObject:
Public Member Functions | |
PositionedObject () | |
virtual void | setPosition (float x, float y, float z)=0 |
virtual void | getPosition (float &x, float &y, float &z) const =0 |
virtual void | setVelocity (float vx, float vy, float vz)=0 |
virtual void | getVelocity (float &vx, float &vy, float &vz) const =0 |
Protected Member Functions | |
virtual | ~PositionedObject () |
openalpp::PositionedObject::PositionedObject | ( | ) | [inline] |
virtual openalpp::PositionedObject::~PositionedObject | ( | ) | [inline, protected, virtual] |
virtual void openalpp::PositionedObject::getPosition | ( | float & | x, | |
float & | y, | |||
float & | z | |||
) | const [pure virtual] |
Get position.
x | x coordinate. | |
y | y coordinate. | |
z | z coordinate. |
Implemented in openalpp::Listener, and openalpp::SourceBase.
virtual void openalpp::PositionedObject::getVelocity | ( | float & | vx, | |
float & | vy, | |||
float & | vz | |||
) | const [pure virtual] |
Get velocity.
vx | x member of velocity vector. | |
vy | y member of velocity vector. | |
vz | z member of velocity vector. |
Implemented in openalpp::Listener, and openalpp::SourceBase.
virtual void openalpp::PositionedObject::setPosition | ( | float | x, | |
float | y, | |||
float | z | |||
) | [pure virtual] |
Set position.
x | x coordinate. | |
y | y coordinate. | |
z | z coordinate. |
Implemented in openalpp::Listener, and openalpp::SourceBase.
virtual void openalpp::PositionedObject::setVelocity | ( | float | vx, | |
float | vy, | |||
float | vz | |||
) | [pure virtual] |
Set velocity.
vx | x member of velocity vector. | |
vy | y member of velocity vector. | |
vz | z member of velocity vector. |
Implemented in openalpp::Listener, and openalpp::SourceBase.