|
Cogs.Core
|
Public Member Functions | |
| HighlightRegionBounds (HighlightRegionSystem *hrSystem) | |
| void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds) override |
| Expand bounds including bounds of all entities in this system in world coordinates. | |
| bool | getBounds (Context *context, const ComponentModel::Entity *entity, Cogs::Geometry::BoundingBox &bounds, bool ignoreVisibility) const override |
Public Member Functions inherited from Cogs::Core::IGetBounds | |
| virtual void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds, float &) |
| virtual void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds)=0 |
| Expand bounds including bounds of all entities in this system in world coordinates. | |
| virtual bool | getBounds (Context *, const ComponentModel::Entity *, Cogs::Geometry::BoundingBox &, bool) const |
Private Attributes | |
| HighlightRegionSystem * | hrSystem = nullptr |
Definition at line 11 of file HighlightRegionBounds.h.
|
inlineexplicit |
Definition at line 13 of file HighlightRegionBounds.h.
|
overridevirtual |
Expand bounds including bounds of all entities in this system in world coordinates.
Implements Cogs::Core::IGetBounds.
Definition at line 46 of file HighlightRegionBounds.cpp.
References Cogs::Core::ComponentSystem< ComponentType >::pool.
|
overridevirtual |
Get bounds of an entity in world coordinates. Returns true + updated bounds if bounds could be calculated. No bounds change if not. bool getBounds(Context* context, const ComponentModel::Entity* entity, Cogs::Geometry::BoundingBox& bounds, bool ignoreVisibility) const
Reimplemented from Cogs::Core::IGetBounds.
Definition at line 53 of file HighlightRegionBounds.cpp.
References Cogs::ComponentModel::Entity::getComponent().
|
private |
Definition at line 20 of file HighlightRegionBounds.h.