Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::AmplitudePalette Class Reference

#include <AmplitudePalette.h>

Inheritance diagram for sf::AmplitudePalette:
Collaboration diagram for sf::AmplitudePalette:

Public Member Functions

 AmplitudePalette (const Parameters &)
 Interface constructor.
 
void addPropertyPages (PropertySheetDialog *sheet) override
 Overridden from base class.
 
ColorTable getColorTable () const override
 Gets the color table of the implementation.
 
qreal getCurveLevel (qreal x) const override
 Gets calculated level for color shifts.
 
double getCalibLevel () const
 Property getter.
 
void setCalibLevel (double value)
 Property setter.
 
- Public Member Functions inherited from sf::PaletteInterface
 PaletteInterface (const Parameters &)
 Constructor for passing general structure for derived classes.
 
 ~PaletteInterface () override=default
 Virtual destructor for derived classes.
 
virtual void setSizes (qsizetype colorsUsed, qsizetype colorsSize)
 Sets the size of the color table of the implementation.
 
- Public Member Functions inherited from sf::Persistent
 Persistent (QObject *obj)
 
QStringList getProperties () const
 
void setProperties (const QStringList &) const
 

Properties

QColor colorFrom
 
QColor colorTo
 
QColor colorCalib
 
QColor colorOver
 
double calibLevel
 
double sizeCalib
 
sf::Gii::IdType idCalibMin
 
sf::Gii::IdType idCalibMax
 
sf::Gii::IdType idCalibPos
 

Additional Inherited Members

- Protected Attributes inherited from sf::PaletteInterface
Parameters::Callback _callback
 
qsizetype _colorsUsed {256}
 
qsizetype _colorsSize {256}
 

Constructor & Destructor Documentation

◆ AmplitudePalette()

sf::AmplitudePalette::AmplitudePalette ( const Parameters )
explicit

Interface constructor.

Member Function Documentation

◆ addPropertyPages()

void sf::AmplitudePalette::addPropertyPages ( PropertySheetDialog sheet)
overridevirtual

Overridden from base class.

Reimplemented from sf::PaletteInterface.

◆ getCalibLevel()

double sf::AmplitudePalette::getCalibLevel ( ) const

Property getter.

◆ getColorTable()

ColorTable sf::AmplitudePalette::getColorTable ( ) const
overridevirtual

Gets the color table of the implementation.

Implements sf::PaletteInterface.

◆ getCurveLevel()

qreal sf::AmplitudePalette::getCurveLevel ( qreal  x) const
overridevirtual

Gets calculated level for color shifts.

Used in calculation of colors and drawing a curve when configuring.

Parameters
xValue between 0.0 and 1.0.
Returns
Value between 0.0 and 1.0.

Implements sf::PaletteInterface.

◆ setCalibLevel()

void sf::AmplitudePalette::setCalibLevel ( double  value)

Property setter.

Property Documentation

◆ calibLevel

double sf::AmplitudePalette::calibLevel
readwrite

Calibration properties

◆ colorCalib

QColor sf::AmplitudePalette::colorCalib
readwrite

◆ colorFrom

QColor sf::AmplitudePalette::colorFrom
readwrite

Color properties

◆ colorOver

QColor sf::AmplitudePalette::colorOver
readwrite

◆ colorTo

QColor sf::AmplitudePalette::colorTo
readwrite

◆ idCalibMax

sf::Gii::IdType sf::AmplitudePalette::idCalibMax
readwrite

◆ idCalibMin

sf::Gii::IdType sf::AmplitudePalette::idCalibMin
readwrite

Calibration id properties.

◆ idCalibPos

sf::Gii::IdType sf::AmplitudePalette::idCalibPos
readwrite

◆ sizeCalib

double sf::AmplitudePalette::sizeCalib
readwrite

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