SPH
|
#include <PlotView.h>
Public Member Functions | |
PlotView (wxWindow *parent, const wxSize size, const wxSize padding, const SharedPtr< Array< PlotData >> &list, const Size defaultSelectedIdx, Optional< TicsParams > ticsParams) | |
void | resize (const Pixel size) |
AffineMatrix2 | getPlotTransformMatrix (const Interval &rangeX, const Interval &rangeY) const |
Returns the transformation matrix for managed plot. More... | |
void | drawAxes (wxDC &dc, const Interval rangeX, const Interval rangeY) |
Public Attributes | |
bool | addZeroX = false |
Include zero in x-range. More... | |
bool | addZeroY = false |
Include zero in y-range. More... | |
LockingPtr< IPlot > | plot |
Rgba | color |
Definition at line 27 of file PlotView.h.
NAMESPACE_SPH_BEGIN PlotView::PlotView | ( | wxWindow * | parent, |
const wxSize | size, | ||
const wxSize | padding, | ||
const SharedPtr< Array< PlotData >> & | list, | ||
const Size | defaultSelectedIdx, | ||
Optional< TicsParams > | ticsParams | ||
) |
Definition at line 17 of file PlotView.cpp.
Definition at line 161 of file PlotView.cpp.
AffineMatrix2 PlotView::getPlotTransformMatrix | ( | const Interval & | rangeX, |
const Interval & | rangeY | ||
) | const |
Returns the transformation matrix for managed plot.
Definition at line 50 of file PlotView.cpp.
void PlotView::resize | ( | const Pixel | size | ) |
Definition at line 35 of file PlotView.cpp.
bool PlotView::addZeroX = false |
Include zero in x-range.
Definition at line 41 of file PlotView.h.
bool PlotView::addZeroY = false |
Include zero in y-range.
Definition at line 44 of file PlotView.h.
Rgba PlotView::color |
Definition at line 34 of file PlotView.h.
LockingPtr<IPlot> PlotView::plot |
Definition at line 33 of file PlotView.h.