Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::app::OptionsResetService Class Reference

Stateless utility class providing default options restoration for UI analysis cards. More...

#include <OptionsResetService.hpp>

Static Public Member Functions

static void resetRDF (AppWindow &window)
 Restores default radial distribution (RDF) options in the UI.
static void resetAngle (AppWindow &window)
 Restores default bond and dihedral angle options in the UI.
static void resetSQ (AppWindow &window)
 Restores default structure factor (SQ) options in the UI.
static void resetXRD (AppWindow &window)
 Restores default powder XRD options in the UI.
static void resetRings (AppWindow &window)
 Restores default topological rings options in the UI.
static void resetSmoothing (AppWindow &window)
 Restores default smoothing options in the UI.
static void resetAdvanced (AppWindow &window)
 Restores default advanced order parameter options in the UI.
static void resetTrajectory (AppWindow &window, const TrajectoryLoader &loader)
 Restores default trajectory analysis options in the UI.
static void resetExportSettings (AppWindow &window)
 Restores default publication export settings in the UI.
static void resetMaterialType (AppWindow &window)
 Restores default material type in the UI.
static void setXRDPreset (AppWindow &window, int preset_idx)
 Sets XRD wavelength based on radiation source preset index.

Detailed Description

Stateless utility class providing default options restoration for UI analysis cards.

Member Function Documentation

◆ resetAdvanced()

void correlation::app::OptionsResetService::resetAdvanced ( AppWindow & window)
static

Restores default advanced order parameter options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetAngle()

void correlation::app::OptionsResetService::resetAngle ( AppWindow & window)
static

Restores default bond and dihedral angle options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetExportSettings()

void correlation::app::OptionsResetService::resetExportSettings ( AppWindow & window)
static

Restores default publication export settings in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetMaterialType()

void correlation::app::OptionsResetService::resetMaterialType ( AppWindow & window)
static

Restores default material type in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetRDF()

void correlation::app::OptionsResetService::resetRDF ( AppWindow & window)
static

Restores default radial distribution (RDF) options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetRings()

void correlation::app::OptionsResetService::resetRings ( AppWindow & window)
static

Restores default topological rings options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetSmoothing()

void correlation::app::OptionsResetService::resetSmoothing ( AppWindow & window)
static

Restores default smoothing options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetSQ()

void correlation::app::OptionsResetService::resetSQ ( AppWindow & window)
static

Restores default structure factor (SQ) options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ resetTrajectory()

void correlation::app::OptionsResetService::resetTrajectory ( AppWindow & window,
const TrajectoryLoader & loader )
static

Restores default trajectory analysis options in the UI.

Parameters
[in,out]windowTarget UI window.
[in]loaderSource TrajectoryLoader containing frame count and trajectory data.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetXRD()

void correlation::app::OptionsResetService::resetXRD ( AppWindow & window)
static

Restores default powder XRD options in the UI.

Parameters
[in,out]windowTarget UI window.
Here is the caller graph for this function:

◆ setXRDPreset()

void correlation::app::OptionsResetService::setXRDPreset ( AppWindow & window,
int preset_idx )
static

Sets XRD wavelength based on radiation source preset index.

Parameters
[in,out]windowTarget UI window.
[in]preset_idxSelected radiation source preset index.
Here is the caller graph for this function:

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