Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
quantumgraphicspreset.h
Go to the documentation of this file.
1/**
2 * @file quantumgraphicspreset.h
3 * @brief Declares the quantumgraphicspreset visualization component used by QPE.
4 * @ingroup qpe_graphics
5 *
6 * Source: @c graphics/renderer/quantumgraphicspreset.h. This file is part of Quantum Phenomena Explorer (QPE),
7 * maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the
8 * QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for
9 * third-party components.
10 */
11
12#pragma once
13
14namespace qpe {
15
16/**
17 * @brief Enumerates the supported Quantum Graphics Preset Kind values.
18 *
19 * The enumeration is part of the typed interface used to keep experiment configuration and analysis routing explicit.
20 */
22{
23 Scientific = 0,
24 Presentation = 1,
25 Cinematic = 2
26};
27
28/**
29 * @brief Data structure used by the Quantum Graphics Preset Values component.
30 *
31 * The structure keeps related values explicit and testable across the QPE physics, analysis, or persistence layers.
32 */
34{
35 int paletteIndex = 0;
37 double exposureEv = 0.0;
38 double gamma = 1.0;
40 double brightThreshold = 0.72;
41 double brightSoftKnee = 0.08;
42 double blurSpread = 2.0;
43 double bloomStrength = 0.0;
44 int toneMapIndex = 0;
45};
46
47/**
48 * @brief Implements the Quantum Graphics Preset component.
49 *
50 * The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.
51 */
53{
54public:
55 /**
56 * @brief Returns values.
57 * @param kind The kind value used by the operation.
58 */
60 /**
61 * @brief Returns name.
62 * @param kind The kind value used by the operation.
63 */
64 static const char *name(QuantumGraphicsPresetKind kind);
65};
66
67} // namespace qpe
Implements the Quantum Graphics Preset component.
static QuantumGraphicsPresetValues values(QuantumGraphicsPresetKind kind)
Returns values.
static const char * name(QuantumGraphicsPresetKind kind)
Returns name.
QuantumGraphicsPresetKind
Enumerates the supported Quantum Graphics Preset Kind values.
Data structure used by the Quantum Graphics Preset Values component.