MythTV  master
Public Member Functions | Protected Attributes | List of all members
StereoScope Class Reference

#include <visualize.h>

Inheritance diagram for StereoScope:
Inheritance graph
[legend]
Collaboration diagram for StereoScope:
Collaboration graph
[legend]

Public Member Functions

 StereoScope ()
 
 ~StereoScope () override=default
 
void resize (const QSize &size) override
 
bool process (VisualNode *node) override
 
bool draw (QPainter *p, const QColor &back) override
 
void handleKeyPress (const QString &action) override
 
- Public Member Functions inherited from VisualBase
 VisualBase (bool screensaverenable=false)
 
virtual ~VisualBase (void)
 
virtual bool processUndisplayed (VisualNode *)
 
virtual int getDesiredFPS (void)
 
virtual unsigned long getDesiredSamples (void)
 

Protected Attributes

QColor m_startColor {Qt::green}
 
QColor m_targetColor {Qt::red}
 
std::vector< double > m_magnitudes {}
 
QSize m_size
 
const bool m_rubberband {RUBBERBAND}
 
const double m_falloff {1.0}
 
- Protected Attributes inherited from VisualBase
int m_fps {20}
 
bool m_xscreensaverenable {true}
 

Additional Inherited Members

- Static Public Member Functions inherited from VisualBase
static void drawWarning (QPainter *p, const QColor &back, QSize size, const QString &warning, int fontsize=28)
 

Detailed Description

Definition at line 109 of file visualize.h.

Constructor & Destructor Documentation

◆ StereoScope()

StereoScope::StereoScope ( )

Definition at line 162 of file visualize.cpp.

◆ ~StereoScope()

StereoScope::~StereoScope ( )
overridedefault

Member Function Documentation

◆ resize()

void StereoScope::resize ( const QSize &  size)
overridevirtual

Implements VisualBase.

Definition at line 167 of file visualize.cpp.

◆ process()

bool StereoScope::process ( VisualNode node)
overridevirtual

Implements VisualBase.

Reimplemented in MonoScope.

Definition at line 177 of file visualize.cpp.

◆ draw()

bool StereoScope::draw ( QPainter *  p,
const QColor &  back 
)
overridevirtual

Implements VisualBase.

Reimplemented in MonoScope.

Definition at line 295 of file visualize.cpp.

◆ handleKeyPress()

void StereoScope::handleKeyPress ( const QString &  action)
inlineoverridevirtual

Implements VisualBase.

Definition at line 118 of file visualize.h.

Member Data Documentation

◆ m_startColor

QColor StereoScope::m_startColor {Qt::green}
protected

Definition at line 122 of file visualize.h.

Referenced by draw(), and MonoScope::draw().

◆ m_targetColor

QColor StereoScope::m_targetColor {Qt::red}
protected

Definition at line 123 of file visualize.h.

Referenced by draw(), and MonoScope::draw().

◆ m_magnitudes

std::vector<double> StereoScope::m_magnitudes {}
protected

Definition at line 124 of file visualize.h.

Referenced by draw(), MonoScope::draw(), process(), MonoScope::process(), and resize().

◆ m_size

QSize StereoScope::m_size
protected

Definition at line 125 of file visualize.h.

Referenced by draw(), MonoScope::draw(), process(), MonoScope::process(), and resize().

◆ m_rubberband

const bool StereoScope::m_rubberband {RUBBERBAND}
protected

Definition at line 126 of file visualize.h.

Referenced by process(), and MonoScope::process().

◆ m_falloff

const double StereoScope::m_falloff {1.0}
protected

Definition at line 127 of file visualize.h.

Referenced by process(), and MonoScope::process().


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