|
Eris
1.3.23
|
An entity which is bound to an Eris::View. More...
#include <ViewEntity.h>
Public Member Functions | |
| ViewEntity (const std::string &id, TypeInfo *ty, View *view) | |
| Ctor. More... | |
| virtual void | shutdown () |
| Shuts down the entity. More... | |
| virtual View * | getView () const |
| Gets the view to which this entity belongs, if any. More... | |
Public Member Functions inherited from Eris::Entity | |
| Entity (const std::string &id, TypeInfo *ty) | |
| unsigned int | numContained () const |
| Gets the number of contained entities, i.e. More... | |
| Entity * | getContained (unsigned int index) const |
| Gets the child entity at the specified index. More... | |
| const Atlas::Message::Element & | valueOfAttr (const std::string &attr) const |
| Gets the value of a named attribute. More... | |
| bool | hasAttr (const std::string &p) const |
| Checks whether an attribute exists. More... | |
| sigc::connection | observe (const std::string &attr, const AttrChangedSlot &aslot) |
| Setup an observer so that the specified slot is fired when the named attribue's value changes. More... | |
| const std::string & | getId () const |
| Retrieve the unique entity ID. More... | |
| const std::string & | getName () const |
| Gets the name of the entity. More... | |
| float | getStamp () const |
| Access the current time-stamp of the entity. More... | |
| TypeInfo * | getType () const |
| Gets the type of this entity. More... | |
| Entity * | getLocation () const |
| The containing entity, or null if this is a top-level visible entity. More... | |
| WFMath::Point< 3 > | getPosition () const |
| Returns the Entity's position inside it's parent in the parent's local system coordinates. More... | |
| const AttrMap | getAttributes () const |
| Gets all attributes defined for this entity. More... | |
| const AttrMap & | getInstanceAttributes () const |
| Gets all locally defined attributes. More... | |
| bool | isMoving () const |
| Test if this entity has a non-zero velocity vector. More... | |
| WFMath::Point< 3 > | getPredictedPos () const |
| Retrieve the predicted position of this entity, based on it's velocity and acceleration. More... | |
| WFMath::Vector< 3 > | getPredictedVelocity () const |
| Retrieve the current predicted velocity of an entity. More... | |
| WFMath::Point< 3 > | getViewPosition () const |
| retreive this Entity's position in view coordinates. More... | |
| WFMath::Quaternion | getViewOrientation () const |
| retreive this Entity's orientation in view coordinates. More... | |
| const WFMath::Vector< 3 > & | getVelocity (void) const |
| Returns the entity's velocity as last set explicitely. More... | |
| const WFMath::Quaternion & | getOrientation (void) const |
| Returns the entity's orientation as last set explicitely. More... | |
| const WFMath::AxisBox< 3 > & | getBBox (void) const |
| Returns the entity's bounding box in the entity's local system coordinates. More... | |
| bool | hasBBox () const |
| Returns true if the entity has a bounding box. More... | |
| const TaskArray & | getTasks () const |
| Gets the tasks associated with this entity. More... | |
| TypeInfoArray | getUseOperations () const |
| Get a list of operations supported by this entity (tool) If the entity does no provide an operations list, this will return an empty array. | |
| bool | hasChild (const std::string &eid) const |
| bool | isVisible () const |
| determine if this entity is visible. More... | |
| template<class C > | |
| C | toLocationCoords (const C &c) const |
| template<class C > | |
| C | fromLocationCoords (const C &c) const |
| WFMath::Vector< 3 > | toLocationCoords (const WFMath::Vector< 3 > &v) const |
| WFMath::Vector< 3 > | fromLocationCoords (const WFMath::Vector< 3 > &v) const |
Protected Member Functions | |
| virtual void | onTalk (const Atlas::Objects::Operation::RootOperation &talk) |
| process TALK data - default implementation emits the Say signal. More... | |
| virtual void | protectedvirtual |
| onTalk(const Atlas::Objeption | |
|
getIsAdmin () | |
| More... | |