ardour
|
#include <fft_graph.h>
Public Member Functions | |
FFTGraph (int windowSize) | |
~FFTGraph () | |
void | set_analysis_window (AnalysisWindow *a_window) |
int | windowSize () const |
void | setWindowSize (int windowSize) |
void | redraw () |
bool | on_expose_event (GdkEventExpose *event) |
void | on_size_request (Gtk::Requisition *requisition) |
void | on_size_allocate (Gtk::Allocation &alloc) |
FFTResult * | prepareResult (Gdk::Color color, std::string trackname) |
void | set_show_minmax (bool v) |
void | set_show_normalized (bool v) |
Private Member Functions | |
void | update_size () |
void | setWindowSize_internal (int windowSize) |
void | draw_scales (Glib::RefPtr< Gdk::Window > window) |
Private Attributes | |
int | currentScaleWidth |
int | currentScaleHeight |
Glib::RefPtr< Gdk::GC > | graph_gc |
int | width |
int | height |
int | _windowSize |
int | _dataSize |
Glib::RefPtr< Pango::Layout > | layout |
AnalysisWindow * | _a_window |
fftwf_plan | _plan |
float * | _out |
float * | _in |
float * | _hanning |
int * | _logScale |
bool | _show_minmax |
bool | _show_normalized |
Static Private Attributes | |
static const int | minScaleWidth = 512 |
static const int | minScaleHeight = 420 |
static const int | h_margin = 20 |
static const int | v_margin = 20 |
Friends | |
class | FFTResult |
Definition at line 39 of file fft_graph.h.
FFTGraph::FFTGraph | ( | int | windowSize | ) |
Definition at line 48 of file fft_graph.cc.
FFTGraph::~FFTGraph | ( | ) |
Definition at line 141 of file fft_graph.cc.
|
private |
4 5 _ _ | | 1 | | 2 |________| 3
Definition at line 170 of file fft_graph.cc.
bool FFTGraph::on_expose_event | ( | GdkEventExpose * | event | ) |
Definition at line 148 of file fft_graph.cc.
void FFTGraph::on_size_allocate | ( | Gtk::Allocation & | alloc | ) |
Definition at line 455 of file fft_graph.cc.
void FFTGraph::on_size_request | ( | Gtk::Requisition * | requisition | ) |
Definition at line 443 of file fft_graph.cc.
FFTResult * FFTGraph::prepareResult | ( | Gdk::Color | color, |
std::string | trackname | ||
) |
Definition at line 155 of file fft_graph.cc.
void FFTGraph::redraw | ( | ) |
Definition at line 274 of file fft_graph.cc.
void FFTGraph::set_analysis_window | ( | AnalysisWindow * | a_window | ) |
Definition at line 164 of file fft_graph.cc.
|
inline |
Definition at line 58 of file fft_graph.h.
|
inline |
Definition at line 59 of file fft_graph.h.
void FFTGraph::setWindowSize | ( | int | windowSize | ) |
Definition at line 66 of file fft_graph.cc.
|
private |
Definition at line 77 of file fft_graph.cc.
|
private |
Definition at line 466 of file fft_graph.cc.
|
inline |
Definition at line 48 of file fft_graph.h.
|
friend |
Definition at line 98 of file fft_graph.h.
|
private |
Definition at line 86 of file fft_graph.h.
|
private |
Definition at line 83 of file fft_graph.h.
|
private |
Definition at line 92 of file fft_graph.h.
|
private |
Definition at line 91 of file fft_graph.h.
|
private |
Definition at line 93 of file fft_graph.h.
|
private |
Definition at line 90 of file fft_graph.h.
|
private |
Definition at line 88 of file fft_graph.h.
|
private |
Definition at line 95 of file fft_graph.h.
|
private |
Definition at line 96 of file fft_graph.h.
|
private |
Definition at line 82 of file fft_graph.h.
|
private |
Definition at line 73 of file fft_graph.h.
|
private |
Definition at line 72 of file fft_graph.h.
|
private |
Definition at line 77 of file fft_graph.h.
|
staticprivate |
Definition at line 75 of file fft_graph.h.
|
private |
Definition at line 80 of file fft_graph.h.
|
private |
Definition at line 85 of file fft_graph.h.
|
staticprivate |
Definition at line 70 of file fft_graph.h.
|
staticprivate |
Definition at line 69 of file fft_graph.h.
|
staticprivate |
Definition at line 76 of file fft_graph.h.
|
private |
Definition at line 79 of file fft_graph.h.