Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::Core::Image360::Bounds Struct Referencefinal
Inheritance diagram for Cogs::Core::Image360::Bounds:
Cogs::Core::IGetBounds

Public Member Functions

 Bounds (Image360System *im360System)
 
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 Cogs::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

Image360Systemim360System = nullptr
 

Detailed Description

Definition at line 21 of file Image360System.h.

Constructor & Destructor Documentation

◆ Bounds()

Cogs::Core::Image360::Bounds::Bounds ( Image360System im360System)
explicit

Definition at line 30 of file Bounds.cpp.

Member Function Documentation

◆ getBounds() [1/2]

void Cogs::Core::Image360::Bounds::getBounds ( Context context,
Cogs::Geometry::BoundingBox &  bounds 
)
overridevirtual

Expand bounds including bounds of all entities in this system in world coordinates.

Implements Cogs::Core::IGetBounds.

Definition at line 33 of file Bounds.cpp.

References getBounds(), and Cogs::Core::ComponentSystem< ComponentType >::pool.

Referenced by getBounds().

◆ getBounds() [2/2]

bool Cogs::Core::Image360::Bounds::getBounds ( Context ,
const Cogs::ComponentModel::Entity ,
Cogs::Geometry::BoundingBox &  ,
bool   
) const
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 42 of file Bounds.cpp.

References Cogs::ComponentModel::Entity::getComponent().

Member Data Documentation

◆ im360System

Image360System* Cogs::Core::Image360::Bounds::im360System = nullptr
private

Definition at line 28 of file Image360System.h.


The documentation for this struct was generated from the following files: