#include <GPositionalInfluence.h>
Inheritance diagram for GBE::GPositionalInfluence:


Public Member Functions | |
| GPositionalInfluence (const GCS::GElementID &source, const GCS::GEnergy &energy, const GCS::GVector3 &position, const GCS::GVector3 &rotation, double radius, const GCS::GElementID &parent) | |
| virtual | ~GPositionalInfluence () |
| const GCS::GVector3 & | position () const |
| const GCS::GVector3 & | rotation () const |
| const double | radius () const |
| const GCS::GElementID & | parent () const |
Protected Attributes | |
| const GCS::GVector3 | Position |
| const GCS::GVector3 | Rotation |
| const double | Radius |
| const GCS::GElementID | Parent |
This type of influence has a position and radius attribute added so agents can react according to the influence sender's position and size.
|
||||||||||||||||||||||||||||
|
Constructor. |
|
|
Destructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since the position is relative to the parent element, it could be of interest to know the parent. |
|
|
The additional position information. This should be set to the position of the source element when creating the influence. |
|
|
The additional radius information so the receiver knows about size of the source element. |
|
|
The additional rotation information. This should be set to the rotation of the source element when creating the influence. |
1.3.6