Blobalizer
Loading...
Searching...
No Matches
Application Class Reference

The main application class. This class handles the setup and rendering of the application. More...

Inheritance diagram for Application:

Public Member Functions

 Application (const Arguments &arguments)
 

Private Member Functions

void drawEvent () override
 
void viewportEvent (ViewportEvent &event) override
 
void mousePressEvent (MouseEvent &event) override
 
void mouseReleaseEvent (MouseEvent &event) override
 
void mouseMoveEvent (MouseMoveEvent &event) override
 
void mouseScrollEvent (MouseScrollEvent &event) override
 
void keyPressEvent (KeyEvent &event) override
 
void keyReleaseEvent (KeyEvent &event) override
 
void textInputEvent (TextInputEvent &event) override
 

Private Attributes

Scene3D scene
 
SceneGraph::DrawableGroup3D drawables
 
Containers::Optional< ArcBallCameraarcballCamera
 
Object3D manipulator
 
GL::Texture3D sdfTexture
 
Vector3 sdfSize
 
RayMarchingShader rayMarchingShader
 
GL::Mesh screenTriangle
 
GL::Texture2D structureTexture
 
GL::Texture2D structurePosTexture
 
GL::Texture2D structureMaskTexture
 
GL::Renderbuffer structureDepthBuffer
 
Containers::Optional< GL::Framebuffer > structureFramebuffer
 
Containers::Array< Containers::Optional< GL::Mesh > > meshes
 
ChemStructureShader chemStructureShader
 
ImGuiIntegration::Context imgui {NoCreate}
 
UnsignedInt vis_surfaceRenderingMode = 0
 
UnsignedInt vis_displayMode = 2
 
float vis_dmax = 20.0f
 
bool vis_SSS = false
 
int vis_reflectionCount = 0
 
float vis_surfaceColor [3] = { 235.0 / 255.0, 120.0 / 255.0, 250.0 / 255.0 }
 
float vis_subSurfaceColor [3] = { 1.0, 1.0, 1.0 }
 
float vis_subSurfaceStrength = 0.1f
 
int vis_sssRenderingMode = 0
 

Detailed Description

The main application class. This class handles the setup and rendering of the application.

Constructor & Destructor Documentation

◆ Application()

Application::Application ( const Arguments &  arguments)
explicit

Member Function Documentation

◆ drawEvent()

void Application::drawEvent ( )
overrideprivate

◆ keyPressEvent()

void Application::keyPressEvent ( KeyEvent &  event)
overrideprivate

◆ keyReleaseEvent()

void Application::keyReleaseEvent ( KeyEvent &  event)
overrideprivate

◆ mouseMoveEvent()

void Application::mouseMoveEvent ( MouseMoveEvent &  event)
overrideprivate

◆ mousePressEvent()

void Application::mousePressEvent ( MouseEvent &  event)
overrideprivate

◆ mouseReleaseEvent()

void Application::mouseReleaseEvent ( MouseEvent &  event)
overrideprivate

◆ mouseScrollEvent()

void Application::mouseScrollEvent ( MouseScrollEvent &  event)
overrideprivate

◆ textInputEvent()

void Application::textInputEvent ( TextInputEvent &  event)
overrideprivate

◆ viewportEvent()

void Application::viewportEvent ( ViewportEvent &  event)
overrideprivate

Member Data Documentation

◆ arcballCamera

Containers::Optional<ArcBallCamera> Application::arcballCamera
private

◆ chemStructureShader

ChemStructureShader Application::chemStructureShader
private

◆ drawables

SceneGraph::DrawableGroup3D Application::drawables
private

◆ imgui

ImGuiIntegration::Context Application::imgui {NoCreate}
private

◆ manipulator

Object3D Application::manipulator
private

◆ meshes

Containers::Array<Containers::Optional<GL::Mesh> > Application::meshes
private

◆ rayMarchingShader

RayMarchingShader Application::rayMarchingShader
private

◆ scene

Scene3D Application::scene
private

◆ screenTriangle

GL::Mesh Application::screenTriangle
private

◆ sdfSize

Vector3 Application::sdfSize
private

◆ sdfTexture

GL::Texture3D Application::sdfTexture
private

◆ structureDepthBuffer

GL::Renderbuffer Application::structureDepthBuffer
private

◆ structureFramebuffer

Containers::Optional<GL::Framebuffer> Application::structureFramebuffer
private

◆ structureMaskTexture

GL::Texture2D Application::structureMaskTexture
private

◆ structurePosTexture

GL::Texture2D Application::structurePosTexture
private

◆ structureTexture

GL::Texture2D Application::structureTexture
private

◆ vis_displayMode

UnsignedInt Application::vis_displayMode = 2
private

◆ vis_dmax

float Application::vis_dmax = 20.0f
private

◆ vis_reflectionCount

int Application::vis_reflectionCount = 0
private

◆ vis_SSS

bool Application::vis_SSS = false
private

◆ vis_sssRenderingMode

int Application::vis_sssRenderingMode = 0
private

◆ vis_subSurfaceColor

float Application::vis_subSurfaceColor[3] = { 1.0, 1.0, 1.0 }
private

◆ vis_subSurfaceStrength

float Application::vis_subSurfaceStrength = 0.1f
private

◆ vis_surfaceColor

float Application::vis_surfaceColor[3] = { 235.0 / 255.0, 120.0 / 255.0, 250.0 / 255.0 }
private

◆ vis_surfaceRenderingMode

UnsignedInt Application::vis_surfaceRenderingMode = 0
private

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