MythTV  master
Public Member Functions | Private Attributes | List of all members
LogScale Class Reference

#include <libmythtv/visualisations/videovisualdefs.h>

Collaboration diagram for LogScale:
[legend]

Public Member Functions

 LogScale (int maxscale=0, int maxrange=0)
 
int scale () const
 
int range () const
 
void setMax (int maxscale, int maxrange)
 
int operator[] (int index) const
 
 LogScale (int maxscale=0, int maxrange=0)
 
int scale () const
 
int range () const
 
void setMax (int maxscale, int maxrange)
 
int operator[] (int index)
 

Private Attributes

std::vector< int > m_indices
 
int m_s {0}
 
int m_r {0}
 
int m_scale {0}
 
int m_range {0}
 

Detailed Description

Definition at line 7 of file videovisualdefs.h.

Constructor & Destructor Documentation

◆ LogScale() [1/2]

LogScale::LogScale ( int  maxscale = 0,
int  maxrange = 0 
)
inlineexplicit

Definition at line 10 of file videovisualdefs.h.

◆ LogScale() [2/2]

LogScale::LogScale ( int  maxscale = 0,
int  maxrange = 0 
)
explicit

Member Function Documentation

◆ scale() [1/2]

int LogScale::scale ( ) const
inline

Definition at line 15 of file videovisualdefs.h.

◆ range() [1/2]

int LogScale::range ( ) const
inline

◆ setMax() [1/2]

void LogScale::setMax ( int  maxscale,
int  maxrange 
)
inline

Definition at line 18 of file videovisualdefs.h.

Referenced by VideoVisualSpectrum::Initialise(), and LogScale().

◆ operator[]() [1/2]

int LogScale::operator[] ( int  index) const
inline

Definition at line 54 of file videovisualdefs.h.

◆ scale() [2/2]

int LogScale::scale ( ) const
inline

Definition at line 184 of file visualize.h.

◆ range() [2/2]

int LogScale::range ( ) const
inline

Definition at line 185 of file visualize.h.

◆ setMax() [2/2]

void LogScale::setMax ( int  maxscale,
int  maxrange 
)

◆ operator[]() [2/2]

int LogScale::operator[] ( int  index)

Definition at line 143 of file visualize.cpp.

Member Data Documentation

◆ m_indices

std::vector< int > LogScale::m_indices
private

Definition at line 61 of file videovisualdefs.h.

Referenced by operator[](), and setMax().

◆ m_s

int LogScale::m_s {0}
private

Definition at line 62 of file videovisualdefs.h.

Referenced by scale(), and setMax().

◆ m_r

int LogScale::m_r {0}
private

Definition at line 63 of file videovisualdefs.h.

Referenced by range(), and setMax().

◆ m_scale

int LogScale::m_scale {0}
private

Definition at line 194 of file visualize.h.

Referenced by scale().

◆ m_range

int LogScale::m_range {0}
private

Definition at line 195 of file visualize.h.

Referenced by range().


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