Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
wavefunctionimagerenderer.cpp File Reference

Implements the wavefunctionimagerenderer visualization component used by QPE. More...

#include "wavefunctionimagerenderer.h"
#include "core/math/complexfield2d.h"
#include "graphics/renderer/probabilityimagerenderer.h"
#include <QColor>
#include <algorithm>
#include <cmath>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  qpe
 
namespace  qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}
 

Functions

int qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::toByte (double v) noexcept
 Performs to byte.
 
double qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::applyGamma (double normalizedValue, double gamma) noexcept
 Applies gamma.
 
QRgb qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::signedColor (double value, double peakAbs, double gamma) noexcept
 Performs signed color.
 
QRgb qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::phaseColor (const ComplexField2D::Value &v, double peakAmplitude, double gamma) noexcept
 Performs phase color.
 
void qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::validateOptions (const WaveFunctionRenderOptions &options)
 Validates options.
 

Variables

constexpr double qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::kPi = 3.1415926535897932384626433832795
 

Detailed Description

Implements the wavefunctionimagerenderer visualization component used by QPE.

Source: graphics/renderer/wavefunctionimagerenderer.cpp. This file is part of Quantum Phenomena Explorer (QPE), maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for third-party components.

Definition in file wavefunctionimagerenderer.cpp.