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 ()
 
virtual ~StereoScope ()=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}
 
vector< double > m_magnitudes
 
QSize m_size
 
bool const m_rubberband {RUBBERBAND}
 
double const 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, const QSize &size, const QString &warning, int fontsize=28)
 

Detailed Description

Definition at line 119 of file visualize.h.

Constructor & Destructor Documentation

◆ StereoScope()

StereoScope::StereoScope ( )

Definition at line 136 of file visualize.cpp.

◆ ~StereoScope()

virtual StereoScope::~StereoScope ( )
virtualdefault

Member Function Documentation

◆ resize()

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

Implements VisualBase.

Definition at line 141 of file visualize.cpp.

◆ process()

bool StereoScope::process ( VisualNode node)
overridevirtual

Implements VisualBase.

Reimplemented in MonoScope.

Definition at line 151 of file visualize.cpp.

◆ draw()

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

Implements VisualBase.

Reimplemented in MonoScope.

Definition at line 268 of file visualize.cpp.

◆ handleKeyPress()

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

Implements VisualBase.

Definition at line 128 of file visualize.h.

Member Data Documentation

◆ m_startColor

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

Definition at line 132 of file visualize.h.

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

◆ m_targetColor

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

Definition at line 133 of file visualize.h.

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

◆ m_magnitudes

vector<double> StereoScope::m_magnitudes
protected

Definition at line 134 of file visualize.h.

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

◆ m_size

QSize StereoScope::m_size
protected

Definition at line 135 of file visualize.h.

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

◆ m_rubberband

bool const StereoScope::m_rubberband {RUBBERBAND}
protected

Definition at line 136 of file visualize.h.

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

◆ m_falloff

double const StereoScope::m_falloff {1.0}
protected

Definition at line 137 of file visualize.h.

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


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