Cogs.Core
Public Member Functions | Protected Attributes | List of all members
Cogs::Core::OceanBounds Class Reference
Inheritance diagram for Cogs::Core::OceanBounds:
Cogs::Core::IGetBounds

Public Member Functions

 OceanBounds (OceanComponent *oceanComponent, OceanData *oceanData)
 
void getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds, float &nearPlaneLimit) final
 
void getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds) final
 Expand bounds including bounds of all entities in this system in world coordinates.
 
- 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
 

Protected Attributes

OceanComponentoceanComponent
 
OceanDataoceanData
 

Detailed Description

Definition at line 40 of file OceanSystem.h.

Constructor & Destructor Documentation

◆ OceanBounds()

Cogs::Core::OceanBounds::OceanBounds ( OceanComponent oceanComponent,
OceanData oceanData 
)
inline

Definition at line 43 of file OceanSystem.h.

Member Function Documentation

◆ getBounds() [1/2]

void Cogs::Core::OceanBounds::getBounds ( Context context,
Cogs::Geometry::BoundingBox &  bounds 
)
finalvirtual

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

Implements Cogs::Core::IGetBounds.

Definition at line 219 of file OceanSystem.cpp.

◆ getBounds() [2/2]

void Cogs::Core::OceanBounds::getBounds ( Context context,
Cogs::Geometry::BoundingBox &  bounds,
float &   
)
finalvirtual

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 from Cogs::Core::IGetBounds.

Definition at line 238 of file OceanSystem.cpp.

Member Data Documentation

◆ oceanComponent

OceanComponent* Cogs::Core::OceanBounds::oceanComponent
protected

Definition at line 50 of file OceanSystem.h.

◆ oceanData

OceanData* Cogs::Core::OceanBounds::oceanData
protected

Definition at line 51 of file OceanSystem.h.


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