Vis2 Line Renderer
Linedata-Renderer with transparancy
line_renderer_app Class Reference

This is the main class of our project. It derives from gvk::invokee and as such gets invoked by the framework each update and render-step. More...

Inheritance diagram for line_renderer_app:

Public Member Functions

 line_renderer_app (avk::queue &aQueue)
 
void loadDatasetFromFile (std::string &filename)
 Loads a Line-Data set (only .obj supported) into the appropriate GPU buffers utilizing the Dataset-class. More...
 
void resetCamera ()
 Resets the camera to the initial position and looking direction. More...
 
void toggleInputMode ()
 Switches from mouse-interaction mode (ui-mode) to camera mode More...
 
void toggleFullscreenMode ()
 Switches between unobstracted fullscreen mode and windowed mode More...
 
bool inCameraMode ()
 return true if currently in camera mode More...
 
void renderUI ()
 This function draws the whole GUI using "dearImGui" commands and gets invoked by the ImGuiManager. More...
 
void initialize () override
 This function gets called by the framework before the first iteration of the render-loop. It initializes all of our needed buffers, textures, renderpasses and pipelines. More...
 
void update () override
 Handles key-inputs. (gets called by framework before each render-call) More...
 
void render () override
 Refreshes the UBO-Buffer and invokes all rendering pipelines/stages More...
 

Detailed Description

This is the main class of our project. It derives from gvk::invokee and as such gets invoked by the framework each update and render-step.

Constructor & Destructor Documentation

◆ line_renderer_app()

line_renderer_app::line_renderer_app ( avk::queue &  aQueue)
inline

Member Function Documentation

◆ inCameraMode()

bool line_renderer_app::inCameraMode ( )
inline

return true if currently in camera mode

◆ initialize()

void line_renderer_app::initialize ( )
inlineoverride

This function gets called by the framework before the first iteration of the render-loop. It initializes all of our needed buffers, textures, renderpasses and pipelines.

◆ loadDatasetFromFile()

void line_renderer_app::loadDatasetFromFile ( std::string &  filename)
inline

Loads a Line-Data set (only .obj supported) into the appropriate GPU buffers utilizing the Dataset-class.

Parameters
filenameThe full filename of the .obj dataset file

◆ render()

void line_renderer_app::render ( )
inlineoverride

Refreshes the UBO-Buffer and invokes all rendering pipelines/stages

◆ renderUI()

void line_renderer_app::renderUI ( )
inline

This function draws the whole GUI using "dearImGui" commands and gets invoked by the ImGuiManager.

◆ resetCamera()

void line_renderer_app::resetCamera ( )
inline

Resets the camera to the initial position and looking direction.

◆ toggleFullscreenMode()

void line_renderer_app::toggleFullscreenMode ( )
inline

Switches between unobstracted fullscreen mode and windowed mode

◆ toggleInputMode()

void line_renderer_app::toggleInputMode ( )
inline

Switches from mouse-interaction mode (ui-mode) to camera mode

◆ update()

void line_renderer_app::update ( )
inlineoverride

Handles key-inputs. (gets called by framework before each render-call)


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