Cogs.Core
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Cogs::Core::OGC3DTilesBounds Class Referencefinal
Inheritance diagram for Cogs::Core::OGC3DTilesBounds:
Cogs::Core::IGetBounds

Public Member Functions

 OGC3DTilesBounds (OGC3DTilesSystem *s)
 
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 Member Functions

bool getBounds (Context *context, const OGC3DTilesComponent &comp, Cogs::Geometry::BoundingBox &bounds, bool ignoreVisibility) const
 

Private Attributes

OGC3DTilesSystemsystem = nullptr
 

Detailed Description

Definition at line 12 of file OGC3DTilesBounds.h.

Constructor & Destructor Documentation

◆ OGC3DTilesBounds()

OGC3DTilesBounds::OGC3DTilesBounds ( OGC3DTilesSystem s)
explicit

Definition at line 8 of file OGC3DTilesBounds.cpp.

Member Function Documentation

◆ getBounds() [1/3]

void OGC3DTilesBounds::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 14 of file OGC3DTilesBounds.cpp.

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

Referenced by getBounds().

◆ getBounds() [2/3]

bool OGC3DTilesBounds::getBounds ( Context ,
const 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 22 of file OGC3DTilesBounds.cpp.

References getBounds(), and Cogs::ComponentModel::Entity::getComponent().

◆ getBounds() [3/3]

bool OGC3DTilesBounds::getBounds ( Context context,
const OGC3DTilesComponent comp,
Cogs::Geometry::BoundingBox &  bounds,
bool  ignoreVisibility 
) const
private

Definition at line 29 of file OGC3DTilesBounds.cpp.

Member Data Documentation

◆ system

OGC3DTilesSystem* Cogs::Core::OGC3DTilesBounds::system = nullptr
private

Definition at line 20 of file OGC3DTilesBounds.h.


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