Cogs.Core
Public Member Functions | List of all members
Cogs::Core::IGetBounds Class Referenceabstract

#include <GetBounds.h>

Inheritance diagram for Cogs::Core::IGetBounds:
Cogs::Core::AssetBounds Cogs::Core::Image360::Bounds Cogs::Core::InstancedMeshRenderBounds Cogs::Core::OGC3DTilesBounds Cogs::Core::OceanBounds Cogs::Core::PotreeBounds Cogs::Core::SeaCurrentsBounds Cogs::Core::TerrainBounds Cogs::Core::VectorField::VectorFieldBounds Cogs::Core::Volumetric::OctBounds

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
 

Detailed Description

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.

Member Function Documentation

◆ getBounds() [1/3]

virtual bool Cogs::Core::IGetBounds::getBounds ( Context ,
const ComponentModel::Entity ,
Cogs::Geometry::BoundingBox &  ,
bool   
) const
inlinevirtual

◆ getBounds() [2/3]

virtual void Cogs::Core::IGetBounds::getBounds ( Context context,
Cogs::Geometry::BoundingBox &  bounds 
)
pure virtual

◆ getBounds() [3/3]

virtual void Cogs::Core::IGetBounds::getBounds ( Context context,
Cogs::Geometry::BoundingBox &  bounds,
float &   
)
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().


The documentation for this class was generated from the following file: