Cogs.Core
|
#include <GetBounds.h>
Public Member Functions | |
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 |
Interface for extensions to get bounds on all entities in the scene or of an individual entity if extension implements a rendering component in the entity.
Definition at line 20 of file GetBounds.h.
|
inlinevirtual |
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 in Cogs::Core::Image360::Bounds, Cogs::Core::VectorField::VectorFieldBounds, Cogs::Core::OGC3DTilesBounds, Cogs::Core::PotreeBounds, Cogs::Core::SeaCurrentsBounds, Cogs::Core::AssetBounds, and Cogs::Core::InstancedMeshRenderBounds.
Definition at line 38 of file GetBounds.h.
|
pure virtual |
Expand bounds including bounds of all entities in this system in world coordinates.
Implemented in Cogs::Core::OceanBounds, Cogs::Core::TerrainBounds, Cogs::Core::VectorField::VectorFieldBounds, Cogs::Core::Image360::Bounds, Cogs::Core::OGC3DTilesBounds, Cogs::Core::PotreeBounds, Cogs::Core::SeaCurrentsBounds, Cogs::Core::Volumetric::OctBounds, Cogs::Core::AssetBounds, and Cogs::Core::InstancedMeshRenderBounds.
|
inlinevirtual |
Expand bounds including bounds of all entities in this system in world coordinates.
This function also allows the bounds provided to specify a near-plane limit for the main camera.
Reimplemented in Cogs::Core::OceanBounds, and Cogs::Core::TerrainBounds.
Definition at line 28 of file GetBounds.h.
References getBounds().
Referenced by getBounds().