class SpaceEntity

Space Entity class.

Inheritance:

SpaceEntity


Public Fields

[more]Vector3 pos
The stats are public so one can still manipulate them directly without the computing done within the "set" methods to orthogonalize everyting.
[more]Vector3 lookat
See Vector3 pos
[more]Vector3 up
See Vector3 pos
[more]SigC::Signal1<int, Vector3> pos_update
These signals can be used to update external informations, eg within a Gtk_CoordEntry.
[more]SigC::Signal1<int, Vector3> lookat_update
See SigC::Signal1<int, Vector3>pos_update
[more]SigC::Signal1<int, Vector3> up_update
See SigC::Signal1<int, Vector3>pos_update

Public Methods

[more] SpaceEntity()
Constructor
[more]int set_pos(Vector3 p)
These methods make sure that everything is perpendicular and that up is of unit length.
[more]int set_lookat(Vector3 p)
see int set_pos(Vector3 p)
[more]int set_up(Vector3 p)
see int set_pos(Vector3 p)
[more]SpaceStats get_stats()
Returns the whole bunch; No reference!


Documentation

Space Entity class. A Class for 3D objects in the GL Space. Contains methods which ensure that the variables can be manipulated in a correct way (eg. the lookat-vector must not equal the position).
o SpaceEntity()
Constructor

oint set_pos(Vector3 p)
These methods make sure that everything is perpendicular and that up is of unit length.

oint set_lookat(Vector3 p)
see int set_pos(Vector3 p)

oint set_up(Vector3 p)
see int set_pos(Vector3 p)

oSpaceStats get_stats()
Returns the whole bunch; No reference! read only

oVector3 pos
The stats are public so one can still manipulate them directly without the computing done within the "set" methods to orthogonalize everyting. Invalid oparations are not prevented, though!

oVector3 lookat
See Vector3 pos

oVector3 up
See Vector3 pos

oSigC::Signal1<int, Vector3> pos_update
These signals can be used to update external informations, eg within a Gtk_CoordEntry. They are called within the "set" methods; keep in mind that up might be changed without calling set_up due to ortogonalization within set_pos and set_camera; here the signal can be used to ensure actualization of external informations.

oSigC::Signal1<int, Vector3> lookat_update
See SigC::Signal1<int, Vector3>pos_update

oSigC::Signal1<int, Vector3> up_update
See SigC::Signal1<int, Vector3>pos_update


Direct child classes:
Waypoint

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.