#include <wire_environment.h>
Public Member Functions | |
WireEnvironment () | |
Default constructor. | |
~WireEnvironment () | |
Destructor. | |
virtual void | timeUpdate (float dt) |
Timer value change event occured. | |
Private Member Functions | |
WireEnvironment (const WireEnvironment &) | |
WireEnvironment & | operator= (const WireEnvironment &) |
SoSeparator * | createWire (const SbColor &colour, const SbVec3f &translation, float angleX, float angleY, float angleZ) |
Returns a wire attached to the SoSeparator. |
Reference object (cannot be copied).
WireEnvironment::WireEnvironment | ( | const WireEnvironment & | ) | [private] |
WireEnvironment::WireEnvironment | ( | ) |
Default constructor.
WireEnvironment::~WireEnvironment | ( | ) |
Destructor.
WireEnvironment& WireEnvironment::operator= | ( | const WireEnvironment & | ) | [private] |
SoSeparator* WireEnvironment::createWire | ( | const SbColor & | colour, | |
const SbVec3f & | translation, | |||
float | angleX, | |||
float | angleY, | |||
float | angleZ | |||
) | [private] |
Returns a wire attached to the SoSeparator.
[in] | colour | Colour of the wire |
[in] | translation | Translation of the wire |
[in] | angleX | X axis rotation |
[in] | angleY | Y axis rotation |
[in] | angleZ | Z axis rotation |
virtual void WireEnvironment::timeUpdate | ( | float | dt | ) | [virtual] |
Timer value change event occured.
This method is called on each timer value change.
[in] | dt | Time difference between the last call (delta). |
Implements TimeUpdateable.