3Depict
|
Plotting data. More...
#include <filter.h>
Public Member Functions | |
PlotStreamData () | |
PlotStreamData (const Filter *f) | |
bool | save (const char *filename) const |
void | clear () |
Free mem held by objects. More... | |
size_t | getNumBasicObjects () const |
void | autoSetHardBounds () |
![]() | |
FilterStreamData () | |
FilterStreamData (const Filter *) | |
virtual | ~FilterStreamData () |
virtual unsigned int | getStreamType () const |
Returns an integer unique to the class to identify type (yes rttid...) More... | |
Public Attributes | |
float | r |
float | g |
float | b |
float | a |
unsigned int | plotStyle |
unsigned int | plotMode |
bool | logarithmic |
std::string | dataLabel |
std::string | xLabel |
std::string | yLabel |
bool | useDataLabelAsYDescriptor |
When showing raw XY data, is the data. More... | |
std::vector< std::pair< float, float > > | xyData |
XY data pairs for plotting curve. More... | |
std::vector< std::pair< float, float > > | regions |
Rectangular marked regions. More... | |
std::vector< std::string > | regionTitle |
std::vector< float > | regionR |
Region colours. More... | |
std::vector< float > | regionB |
std::vector< float > | regionG |
std::vector< unsigned int > | regionID |
Region indices from parent region. More... | |
Filter * | regionParent |
Region parent filter pointer, used for matching interaction. More... | |
unsigned int | index |
Parent filter index. More... | |
PLOT_ERROR | errDat |
Error bar mode. More... | |
float | hardMinX |
Hard bounds that cannot be exceeded when drawing plot. More... | |
float | hardMaxX |
float | hardMinY |
float | hardMaxY |
![]() | |
const Filter * | parent |
Parent filter pointer. More... | |
unsigned int | cached |
Tells us if the filter has cached this data for later use. More... | |
Additional Inherited Members | |
![]() | |
unsigned int | streamType |
Plotting data.
PlotStreamData::PlotStreamData | ( | ) |
References errDat, hardMaxX, hardMaxY, hardMinX, hardMinY, PLOT_ERROR::mode, PLOT_ERROR_NONE, STREAM_TYPE_PLOT, and FilterStreamData::streamType.
PlotStreamData::PlotStreamData | ( | const Filter * | f | ) |
void PlotStreamData::autoSetHardBounds | ( | ) |
|
inlinevirtual |
Free mem held by objects.
Implements FilterStreamData.
|
inlinevirtual |
Implements FilterStreamData.
Referenced by VisController::updateScene().
bool PlotStreamData::save | ( | const char * | filename | ) | const |
References ASSERT, dataLabel, errDat, hardMaxX, hardMaxY, hardMinX, hardMinY, index, logarithmic, PLOT_ERROR::mode, PLOT_ERROR_ENDOFENUM, PLOT_ERROR_NONE, PLOT_MODE_ENUM_END, PLOT_TYPE_ENUM_END, plotMode, plotStyle, regionB, regionG, regionID, regionParent, regionR, TRANS, xLabel, xyData, and yLabel.
Referenced by MainWindowFrame::OnFileExportFilterVideo().
float PlotStreamData::a |
float PlotStreamData::b |
Referenced by SpectrumPlotFilter::needsUnrangedData(), Plot2DStreamData::Plot2DStreamData(), ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), SpectrumPlotFilter::setProperty(), SpatialAnalysisFilter::setProperty(), ClusterAnalysisFilter::setPropFromBinding(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
std::string PlotStreamData::dataLabel |
PLOT_ERROR PlotStreamData::errDat |
Error bar mode.
Referenced by PlotStreamData(), ProfileFilter::refresh(), save(), and VisController::updateScene().
float PlotStreamData::g |
Referenced by SpectrumPlotFilter::needsUnrangedData(), Plot2DStreamData::Plot2DStreamData(), ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), SpectrumPlotFilter::setProperty(), SpatialAnalysisFilter::setProperty(), ClusterAnalysisFilter::setPropFromBinding(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
float PlotStreamData::hardMaxX |
Referenced by autoSetHardBounds(), PlotStreamData(), and save().
float PlotStreamData::hardMaxY |
Referenced by autoSetHardBounds(), PlotStreamData(), and save().
float PlotStreamData::hardMinX |
Hard bounds that cannot be exceeded when drawing plot.
Referenced by autoSetHardBounds(), PlotStreamData(), and save().
float PlotStreamData::hardMinY |
Referenced by autoSetHardBounds(), PlotStreamData(), and save().
unsigned int PlotStreamData::index |
Parent filter index.
Referenced by ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), ClusterAnalysisFilter::refresh(), save(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
bool PlotStreamData::logarithmic |
unsigned int PlotStreamData::plotMode |
unsigned int PlotStreamData::plotStyle |
Referenced by Plot2DStreamData::getNumBasicObjects(), ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), save(), SpectrumPlotFilter::setProperty(), ClusterAnalysisFilter::setPropFromBinding(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
float PlotStreamData::r |
Referenced by SpectrumPlotFilter::needsUnrangedData(), Plot2DStreamData::Plot2DStreamData(), ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), SpectrumPlotFilter::setProperty(), SpatialAnalysisFilter::setProperty(), ClusterAnalysisFilter::setPropFromBinding(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
std::vector<float> PlotStreamData::regionB |
Referenced by save(), and VisController::updateScene().
std::vector<float> PlotStreamData::regionG |
Referenced by save(), and VisController::updateScene().
std::vector<unsigned int> PlotStreamData::regionID |
Region indices from parent region.
Referenced by save(), and VisController::updateScene().
Filter* PlotStreamData::regionParent |
Region parent filter pointer, used for matching interaction.
Referenced by save(), and VisController::updateScene().
std::vector<float> PlotStreamData::regionR |
Region colours.
Referenced by save(), and VisController::updateScene().
std::vector<std::pair<float,float> > PlotStreamData::regions |
Rectangular marked regions.
Referenced by VisController::updateScene().
std::vector<std::string> PlotStreamData::regionTitle |
Referenced by VisController::updateScene().
bool PlotStreamData::useDataLabelAsYDescriptor |
When showing raw XY data, is the data.
Referenced by VisController::updateScene().
std::string PlotStreamData::xLabel |
std::vector<std::pair<float,float> > PlotStreamData::xyData |
XY data pairs for plotting curve.
Referenced by autoSetHardBounds(), Plot2DStreamData::getNumBasicObjects(), SpectrumPlotFilter::needsUnrangedData(), ExternalProgramFilter::refresh(), SpectrumPlotFilter::refresh(), ProfileFilter::refresh(), save(), ProfileFilter::setPropFromBinding(), ClusterAnalysisFilter::setPropFromBinding(), SpatialAnalysisFilter::setPropFromBinding(), and VisController::updateScene().
std::string PlotStreamData::yLabel |