#include <FloodPlot.hpp>
Public Types | |
typedef std::shared_ptr< const FloodPlot > | ConstPtr |
typedef std::vector< ConstPtr > | ConstVec |
typedef std::weak_ptr< const FloodPlot > | ConstWeakPtr |
typedef std::shared_ptr < FloodPlot > | Ptr |
typedef std::vector< Ptr > | Vec |
typedef std::weak_ptr< FloodPlot > | WeakPtr |
![]() | |
typedef std::shared_ptr< const Plot2D > | ConstPtr |
typedef std::vector< ConstPtr > | ConstVec |
typedef std::weak_ptr< const Plot2D > | ConstWeakPtr |
typedef std::shared_ptr< Plot2D > | Ptr |
typedef std::vector< Ptr > | Vec |
typedef std::weak_ptr< Plot2D > | WeakPtr |
Public Member Functions | |
void | colorLevels (Vector &colorLevels) |
specific color map color stop values More... | |
void | colorMap (FloodPlotColorMap::ColorMapList clrMap) |
set the color map More... | |
void | colorMapRange (double min, double max) |
color map range min and max values More... | |
void | contourLevels (Vector &contourValues) |
contour level limits More... | |
void | dataAutoRange () |
data autoscaling More... | |
FloodPlot (const Matrix &m) | |
matrix constructor More... | |
void | floodPlotData (FloodPlotData::Ptr data) |
set the data More... | |
void | showContour (bool on) |
show the contour map More... | |
void | showSpectrogram (bool on) |
show the spectrogram More... | |
void | timeseriesData (TimeSeries tsData) |
convenience wrapper for timeseries data More... | |
void | xCenterSpan (double center, double span) |
update based on center and span More... | |
virtual | ~FloodPlot () |
virtual destructor More... | |
![]() | |
void | axesFontSize (unsigned axesFontSize) |
axis title font size for all axes More... | |
QString | axisTitleFromUnits (const std::string &units) |
axis titles based on units More... | |
virtual void | backgourndColor (QColor color) |
background color More... | |
void | bottomAxisFont (const QFont &axisFont) |
axis title font size for bottom axis More... | |
QFont | bottomAxisFont () const |
axis title font size for bottom axis More... | |
void | bottomAxisFontSize (const unsigned axisFontSize) |
axis title font size for bottom axis More... | |
unsigned | bottomAxisFontSize () const |
axis title font size for bottom axis More... | |
void | bottomAxisTitle (const std::string &bottomAxisTitle) |
bottom axis title More... | |
std::string | bottomAxisTitle () const |
bottom axis title More... | |
void | bottomTickFontSize (unsigned tickFontSize) |
tick font size for bottom axis More... | |
void | exportImageToFile (int w, int h) |
image exporting More... | |
void | generateImage (const openstudio::path &file, int w=800, int h=600) |
image generation More... | |
void | leftAxisFont (const QFont &axisFont) |
axis title font size for left axis More... | |
QFont | leftAxisFont () const |
axis title font size for left axis More... | |
void | leftAxisFontSize (const unsigned axisFontSize) |
axis title font size for left axis More... | |
unsigned | leftAxisFontSize () const |
axis title font size for left axis More... | |
void | leftAxisTitle (const std::string &leftAxisTitle) |
left axis title More... | |
std::string | leftAxisTitle () const |
left axis title More... | |
void | leftAxisTitleFromUnits (const std::string &units) |
axis titles based on units More... | |
void | leftTickFontSize (unsigned tickFontSize) |
tick font size for left axis More... | |
void | plotTitle (const std::string &title) |
graph title More... | |
std::string | plotTitle () const |
graph title More... | |
QwtPlot * | qwtPlot () |
access to qwtPlot widget More... | |
void | rightAxisFont (const QFont &axisFont) |
axis title font size for right axis More... | |
QFont | rightAxisFont () const |
axis title font size for right axis More... | |
void | rightAxisFontSize (const unsigned axisFontSize) |
axis title font size for right axis More... | |
unsigned | rightAxisFontSize () const |
axis title font size for right axis More... | |
void | rightAxisTitle (const std::string &rightAxisTitle) |
right axis title More... | |
std::string | rightAxisTitle () const |
right axis title More... | |
void | rightAxisTitleFromUnits (const std::string &units) |
axis titles based on units More... | |
void | rightTickFontSize (unsigned tickFontSize) |
tick font size for right axis More... | |
void | tickFontSize (unsigned tickFontSize) |
tick font size for all axes More... | |
void | titleFont (const QFont &titleFont) |
title font More... | |
QFont | titleFont () const |
title font size More... | |
void | titleFontSize (const unsigned titleFontSize) |
title font size More... | |
unsigned | titleFontSize () const |
title font size More... | |
void | topAxisFont (const QFont &axisFont) |
axis title font size for top axis More... | |
QFont | topAxisFont () const |
axis title font size for top axis More... | |
void | topAxisFontSize (const unsigned axisFontSize) |
axis title font size for top axis More... | |
unsigned | topAxisFontSize () const |
axis title font size for top axis More... | |
void | topAxisTitle (const std::string &topAxisTitle) |
top axis title More... | |
std::string | topAxisTitle () const |
top axis title More... | |
void | topTickFontSize (unsigned tickFontSize) |
tick font size for top axis More... | |
void | windowTitle (const std::string &title) |
window title More... | |
std::string | windowTitle () const |
window title - More... | |
virtual | ~Plot2D () |
destructor More... | |
Static Public Member Functions | |
static FloodPlot::Ptr | create (const Matrix &m) |
Public Attributes | |
QAction * | colorMapSelection |
QAction * | contourPlot |
FloodPlot * | parent |
default constructor More... | |
![]() | |
void setupUi * | widget |
setup widget items and layout More... | |
Static Public Attributes | |
static FloodPlot::Ptr create * | parent |
create More... | |
Protected Member Functions | |
void | dragEnterEvent (QDragEnterEvent *e) |
drop target support for drag/drop operations More... | |
Additional Inherited Members | |
![]() | |
void | signalClose (QString &windowTitle) |
![]() | |
QwtPlot * | m_qwtPlot |
QVBoxLayout * | m_vBoxLayout |
Plot2D * | parent |
constructor More... | |
FloodPlot plots data in a nice image.
typedef std::shared_ptr<const FloodPlot > openstudio::FloodPlot::ConstPtr |
typedef std::vector<ConstPtr> openstudio::FloodPlot::ConstVec |
typedef std::weak_ptr<const FloodPlot > openstudio::FloodPlot::ConstWeakPtr |
typedef std::shared_ptr< FloodPlot > openstudio::FloodPlot::Ptr |
typedef std::vector<Ptr> openstudio::FloodPlot::Vec |
typedef std::weak_ptr< FloodPlot > openstudio::FloodPlot::WeakPtr |
openstudio::FloodPlot::FloodPlot | ( | const Matrix & | m | ) |
matrix constructor
|
inlinevirtual |
virtual destructor
void openstudio::FloodPlot::colorLevels | ( | Vector & | colorLevels | ) |
specific color map color stop values
void openstudio::FloodPlot::colorMap | ( | FloodPlotColorMap::ColorMapList | clrMap | ) |
set the color map
void openstudio::FloodPlot::colorMapRange | ( | double | min, |
double | max | ||
) |
color map range min and max values
void openstudio::FloodPlot::contourLevels | ( | Vector & | contourValues | ) |
contour level limits
|
static |
void openstudio::FloodPlot::dataAutoRange | ( | ) |
data autoscaling
|
inlineprotected |
drop target support for drag/drop operations
void openstudio::FloodPlot::floodPlotData | ( | FloodPlotData::Ptr | data | ) |
set the data
void openstudio::FloodPlot::showContour | ( | bool | on | ) |
show the contour map
void openstudio::FloodPlot::showSpectrogram | ( | bool | on | ) |
show the spectrogram
void openstudio::FloodPlot::timeseriesData | ( | TimeSeries | tsData | ) |
convenience wrapper for timeseries data
|
virtual |
update based on center and span
Implements openstudio::Plot2D.
QAction* openstudio::FloodPlot::colorMapSelection |
QAction* openstudio::FloodPlot::contourPlot |
FloodPlot* openstudio::FloodPlot::parent |
default constructor
|
static |
create