Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
GasGiant Class Reference

#include <GasGiant.h>

Inheritance diagram for GasGiant:
Inheritance graph
[legend]
Collaboration diagram for GasGiant:
Collaboration graph
[legend]

Public Member Functions

 GasGiant (const SystemBody *body)
 
virtual ~GasGiant ()
 
virtual void Update () override
 
virtual void Render (Graphics::Renderer *renderer, const matrix4x4d &modelView, vector3d campos, const float radius, const std::vector< Camera::Shadow > &shadows) override
 
virtual double GetHeight (const vector3d &p) const override final
 
virtual double GetMaxFeatureHeight () const override
 
virtual void Reset () override
 
- Public Member Functions inherited from BaseSphere
 BaseSphere (const SystemBody *body)
 
virtual ~BaseSphere ()
 
virtual void Update ()=0
 
virtual void Render (Graphics::Renderer *renderer, const matrix4x4d &modelView, vector3d campos, const float radius, const std::vector< Camera::Shadow > &shadows)=0
 
virtual double GetHeight (const vector3d &p) const
 
void DrawAtmosphereSurface (Graphics::Renderer *renderer, const matrix4x4d &modelView, const vector3d &campos, float rad, RefCountedPtr< Graphics::Material > mat)
 
virtual double GetMaxFeatureHeight () const =0
 
virtual void Reset ()=0
 
const SystemBodyGetSystemBody () const
 
TerrainGetTerrain () const
 
RefCountedPtr< Graphics::MaterialGetSurfaceMaterial () const
 

Static Public Member Functions

static bool OnAddTextureFaceResult (const SystemPath &path, GasGiantJobs::STextureFaceResult *res)
 
static bool OnAddGPUGenResult (const SystemPath &path, GasGiantJobs::SGPUGenResult *res)
 
static void Init ()
 
static void Uninit ()
 
static void UpdateAllGasGiants ()
 
static void OnChangeDetailLevel ()
 
static void CreateRenderTarget (const Uint16 width, const Uint16 height)
 
static void SetRenderTargetCubemap (const Uint32, Graphics::Texture *, const bool unBind=true)
 
static void BeginRenderTarget ()
 
static void EndRenderTarget ()
 
- Static Public Member Functions inherited from BaseSphere
static void Init ()
 
static void Uninit ()
 
static void UpdateAllBaseSphereDerivatives ()
 
static void OnChangeDetailLevel ()
 

Additional Inherited Members

- Protected Member Functions inherited from BaseSphere
virtual void SetUpMaterials ()=0
 
void SetMaterialParameters (const matrix4x4d &t, const float r, const std::vector< Camera::Shadow > &s, const AtmosphereParameters &ap)
 
- Protected Attributes inherited from BaseSphere
const SystemBodym_sbody
 
RefCountedPtr< Terrainm_terrain
 
RefCountedPtr< Graphics::Materialm_surfaceMaterial
 
RefCountedPtr< Graphics::Materialm_atmosphereMaterial
 
std::unique_ptr< Graphics::Drawables::Sphere3Dm_atmos
 

Constructor & Destructor Documentation

◆ GasGiant()

GasGiant::GasGiant ( const SystemBody body)
Here is the call graph for this function:

◆ ~GasGiant()

GasGiant::~GasGiant ( )
virtual

Member Function Documentation

◆ BeginRenderTarget()

void GasGiant::BeginRenderTarget ( )
static
Here is the call graph for this function:

◆ CreateRenderTarget()

void GasGiant::CreateRenderTarget ( const Uint16  width,
const Uint16  height 
)
static
Here is the call graph for this function:

◆ EndRenderTarget()

void GasGiant::EndRenderTarget ( )
static
Here is the call graph for this function:

◆ GetHeight()

virtual double GasGiant::GetHeight ( const vector3d p) const
inlinefinaloverridevirtual

Reimplemented from BaseSphere.

◆ GetMaxFeatureHeight()

virtual double GasGiant::GetMaxFeatureHeight ( ) const
inlineoverridevirtual

Implements BaseSphere.

◆ Init()

void GasGiant::Init ( )
static
Here is the call graph for this function:

◆ OnAddGPUGenResult()

bool GasGiant::OnAddGPUGenResult ( const SystemPath path,
GasGiantJobs::SGPUGenResult res 
)
static
Here is the call graph for this function:

◆ OnAddTextureFaceResult()

bool GasGiant::OnAddTextureFaceResult ( const SystemPath path,
GasGiantJobs::STextureFaceResult res 
)
static
Here is the call graph for this function:

◆ OnChangeDetailLevel()

void GasGiant::OnChangeDetailLevel ( )
static
Here is the call graph for this function:

◆ Render()

void GasGiant::Render ( Graphics::Renderer renderer,
const matrix4x4d modelView,
vector3d  campos,
const float  radius,
const std::vector< Camera::Shadow > &  shadows 
)
overridevirtual

Implements BaseSphere.

Here is the call graph for this function:

◆ Reset()

void GasGiant::Reset ( )
overridevirtual

Implements BaseSphere.

Here is the call graph for this function:

◆ SetRenderTargetCubemap()

void GasGiant::SetRenderTargetCubemap ( const Uint32  face,
Graphics::Texture pTexture,
const bool  unBind = true 
)
static
Here is the call graph for this function:

◆ Uninit()

void GasGiant::Uninit ( )
static
Here is the call graph for this function:

◆ Update()

void GasGiant::Update ( )
overridevirtual

Implements BaseSphere.

Here is the call graph for this function:

◆ UpdateAllGasGiants()

void GasGiant::UpdateAllGasGiants ( )
static

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