Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
qpe::anonymous_namespace{wavefunctionimagerenderer.cpp} Namespace Reference

Functions

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

Variables

constexpr double kPi = 3.1415926535897932384626433832795
 

Function Documentation

◆ applyGamma()

double qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::applyGamma ( double normalizedValue,
double gamma )
noexcept

Applies gamma.

Parameters
normalizedValueThe normalized value value used by the operation.
gammaThe gamma value used by the operation.

Definition at line 43 of file wavefunctionimagerenderer.cpp.

References applyGamma().

Referenced by applyGamma(), phaseColor(), and signedColor().

◆ phaseColor()

QRgb qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::phaseColor ( const ComplexField2D::Value & v,
double peakAmplitude,
double gamma )
noexcept

Performs phase color.

Parameters
vThe v value used by the operation.
peakAmplitudeThe peak amplitude value used by the operation.
gammaThe gamma value used by the operation.

Definition at line 78 of file wavefunctionimagerenderer.cpp.

References applyGamma(), and phaseColor().

Referenced by phaseColor().

◆ signedColor()

QRgb qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::signedColor ( double value,
double peakAbs,
double gamma )
noexcept

Performs signed color.

Parameters
valueValue to assign or evaluate.
peakAbsThe peak abs value used by the operation.
gammaThe gamma value used by the operation.

Definition at line 54 of file wavefunctionimagerenderer.cpp.

References applyGamma(), and signedColor().

Referenced by signedColor().

◆ toByte()

int qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::toByte ( double v)
noexcept

Performs to byte.

Parameters
vThe v value used by the operation.

Definition at line 32 of file wavefunctionimagerenderer.cpp.

◆ validateOptions()

void qpe::anonymous_namespace{wavefunctionimagerenderer.cpp}::validateOptions ( const WaveFunctionRenderOptions & options)

Validates options.

Parameters
optionsThe options value used by the operation.

Definition at line 104 of file wavefunctionimagerenderer.cpp.

References qpe::WaveFunctionRenderOptions::gamma, and validateOptions().

Referenced by validateOptions().

Variable Documentation

◆ kPi

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

Definition at line 26 of file wavefunctionimagerenderer.cpp.