SimpleFastOpenAtomicVisualiser
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CameraWindow Class Reference

The camera controls window. More...

#include <cameraWindow.h>

Public Member Functions

 CameraWindow ()
 
void draw (CommandLine &options)
 Draw the window with Imgui.
 
void applyQueueActions (Camera &camera, std::vector< Atom > &atoms, bool &atomsMoved, const CommandLine &options, const float &dr, const float &dtheta, const float &dphi)
 Apply queued actions from the UI.
 

Detailed Description

The camera controls window.

Constructor & Destructor Documentation

◆ CameraWindow()

CameraWindow::CameraWindow ( )
inline

Member Function Documentation

◆ applyQueueActions()

void CameraWindow::applyQueueActions ( Camera camera,
std::vector< Atom > &  atoms,
bool atomsMoved,
const CommandLine options,
const float dr,
const float dtheta,
const float dphi 
)
inline

Apply queued actions from the UI.

Parameters
camerathe Camera to update.
atomsthe Atoms to update.
atomsMovedsignal if atoms have been modified.
optionsthe options to use for actions.
drthe length unit.
dthetathe rotation unit.
dphithe incline unit.

◆ draw()

void CameraWindow::draw ( CommandLine options)
inline

Draw the window with Imgui.

Parameters
optionsthe current options.
Remarks
Actions in the UI are queued for later application.
See also
CameraWindow::applyQueueActions.

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