Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
Editor::SystemEditorViewport Class Reference

#include <SystemEditorViewport.h>

Inheritance diagram for Editor::SystemEditorViewport:
Inheritance graph
[legend]
Collaboration diagram for Editor::SystemEditorViewport:
Collaboration graph
[legend]

Public Member Functions

 SystemEditorViewport (EditorApp *app, SystemEditor *editor)
 
 ~SystemEditorViewport ()
 
void SetSystem (RefCountedPtr< StarSystem > system)
 
SystemMapViewportGetMap ()
 
- Public Member Functions inherited from Editor::ViewportWindow
 ViewportWindow (EditorApp *app)
 
 ~ViewportWindow ()
 
virtual void OnAppearing () override
 
virtual void OnDisappearing () override
 
virtual void Update (float deltaTime) override
 
- Public Member Functions inherited from Editor::EditorWindow
 EditorWindow (EditorApp *app)
 
 ~EditorWindow ()
 
virtual void OnAppearing ()=0
 
virtual void OnDisappearing ()=0
 
virtual void Update (float deltaTime)
 
virtual const char * GetWindowName ()=0
 

Protected Member Functions

void OnUpdate (float deltaTime) override
 
void OnRender (Graphics::Renderer *renderer) override
 
void OnHandleInput (bool clicked, bool released, ImVec2 mousePos) override
 
void OnDraw () override
 
bool OnCloseRequested () override
 
const char * GetWindowName () override
 
- Protected Member Functions inherited from Editor::ViewportWindow
virtual void OnUpdate (float deltaTime)=0
 
virtual void OnRender (Graphics::Renderer *renderer)=0
 
virtual void OnHandleInput (bool clicked, bool released, ImVec2 mousePos)=0
 
virtual ImGuiWindowFlags SetupWindowFlags ()
 
void CreateRenderTarget ()
 
Graphics::RenderTargetGetRenderTarget ()
 
const Graphics::ViewportExtentsGetViewportExtents () const
 
bool IsViewportPressed () const
 
bool IsViewportHovered () const
 
- Protected Member Functions inherited from Editor::EditorWindow
virtual void OnDraw ()=0
 
virtual bool OnCloseRequested ()=0
 
EditorAppGetApp ()
 

Constructor & Destructor Documentation

◆ SystemEditorViewport()

SystemEditorViewport::SystemEditorViewport ( EditorApp app,
SystemEditor editor 
)
Here is the call graph for this function:

◆ ~SystemEditorViewport()

SystemEditorViewport::~SystemEditorViewport ( )

Member Function Documentation

◆ GetMap()

SystemMapViewport * Editor::SystemEditorViewport::GetMap ( )
inline

◆ GetWindowName()

const char * Editor::SystemEditorViewport::GetWindowName ( )
inlineoverrideprotectedvirtual

Implements Editor::EditorWindow.

◆ OnCloseRequested()

bool SystemEditorViewport::OnCloseRequested ( )
overrideprotectedvirtual

Implements Editor::EditorWindow.

◆ OnDraw()

void SystemEditorViewport::OnDraw ( )
overrideprotectedvirtual

Implements Editor::EditorWindow.

Here is the call graph for this function:

◆ OnHandleInput()

void SystemEditorViewport::OnHandleInput ( bool  clicked,
bool  released,
ImVec2  mousePos 
)
overrideprotectedvirtual

Implements Editor::ViewportWindow.

Here is the call graph for this function:

◆ OnRender()

void SystemEditorViewport::OnRender ( Graphics::Renderer renderer)
overrideprotectedvirtual

◆ OnUpdate()

void SystemEditorViewport::OnUpdate ( float  deltaTime)
overrideprotectedvirtual

◆ SetSystem()

void SystemEditorViewport::SetSystem ( RefCountedPtr< StarSystem system)

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