open_iA  2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Classes | Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Properties | List of all members
iAQSplom Class Reference

A scatter plot matrix (SPLOM) widget. More...

#include <iAQSplom.h>

Inheritance diagram for iAQSplom:
Collaboration diagram for iAQSplom:

Classes

struct  Settings
 All settings of the plot in one struct. More...
 

Public Types

enum  ColorScheme { AllPointsSame, ByParameter, Custom }
 < what color scheme to use for coloring the dots More...
 
- Public Types inherited from iAScatterPlotSelectionHandler
typedef std::vector< size_t > SelectionType
 

Public Slots

void rangeFromParameter ()
 Call when color range should be determined from parameter. More...
 
void setColorTheme (QString const &themeName)
 Call to adapt color theme used for coloring by a parameter. More...
 
void setFlipAxes (bool flip)
 set whether to flip parameters in large scatterplot More...
 
void setHistogramBins (int bins)
 set the number of histogram bins More...
 
void setHistogramVisible (bool visible)
 set visibility of histograms More...
 
void setSelectionMode (int mode)
 set selection mode to either rectangle or polygon mode More...
 
void showSettings ()
 Show the settings dialog. More...
 

Signals

void currentPointModified (size_t index)
 Emitted when hovered over a new point. More...
 
void lookupTableChanged ()
 Emitted when the lookup table has changed. More...
 
void parameterVisibilityChanged (size_t paramIndex, bool visible)
 Emitted when the visibility of a parameter has changed (from within SPLOM, not triggered if it was set from the outside via setParameterVisibility). More...
 
void selectionModified (SelectionType const &selInds)
 Emitted when new data points are selected. Contains a list of selected data points. More...
 

Public Member Functions

void addContextMenuAction (QAction *action)
 add an additional option to the context menu More...
 
void addFilter (int paramIndex, double value)
 set filter on data to be shown; only data points where given parameter contains given value will be shown More...
 
void clearSelection ()
 deletes current selection More...
 
size_t colorLookupParam () const
 parameter currently used for color lookup More...
 
ColorScheme colorScheme () const
 get current color scheme More...
 
QSharedPointer< iASPLOMDatadata ()
 set SPLOM data directly. More...
 
void enableSelection (bool enable)
 set whether selections are allowed or not More...
 
void getActivePlotIndices (int *inds_out)
 Get X and Y parameter indices of currently active scatter plot. More...
 
double getAnimIn () const override
 Getter for animation in property. More...
 
double getAnimOut () const override
 Getter for animation in property. More...
 
const iAColorThemegetBackgroundColorTheme ()
 retrieve the theme for background colors for the separated regions More...
 
const SelectionTypegetFilteredSelection () const override
 Get currently selected data points, as indices in the list of filtered data points. These indices are always sorted. More...
 
const SelectionTypegetHighlightedPoints () const override
 get the list of highlighted points More...
 
const SelectionTypegetSelection () const override
 Get vector of indices of currently selected data points. More...
 
SelectionTypegetSelection () override
 Get const vector of indices of currently selected data points. More...
 
int getVisibleParametersCount () const override
 Get the number of parameters currently displayed. More...
 
 iAQSplom (QWidget *parent=0, Qt::WindowFlags f=0)
 
void loadSettings (iASettings const &iniFile)
 load settings from given object More...
 
QSharedPointer< iALookupTablelookupTable () const
 get lookup table More...
 
void removeFilter (int paramIndex, double value)
 remove a specific filter More...
 
void resetFilter ()
 reset filter on data; after calling this method, all data points will be shown again More...
 
void saveSettings (QSettings &iniFile) const
 store current settings into given object More...
 
void setAnimIn (double anim)
 Setter for animation in property. More...
 
void setAnimOut (double anim)
 Setter for animation in property. More...
 
void setBackgroundColorTheme (iAColorTheme const *theme)
 define the color theme to use for coloring the different separated regions More...
 
void setColorParam (const QString &paramName)
 Set the parameter to color code, lookup table will be auto-determined (By Parameter) More...
 
void setColorParam (size_t colorLookupParam)
 Set the parameter to color code, lookup table will be auto-determined (By Parameter) More...
 
virtual void setData (const QTableWidget *data)
 
void setData (QSharedPointer< iASPLOMData > data, std::vector< char > const &visibility)
 import data from QTableWidget, first row should contain parameter names, each column corresponds to one parameter. More...
 
void setFilteredSelection (SelectionType const &filteredSelInds)
 Set selected data points from indices within the filtered data points. More...
 
void setLookupTable (iALookupTable &lut, size_t paramIndex)
 Set lookup table given the index of a parameter to color-code. More...
 
void setLookupTable (vtkLookupTable *lut, const QString &paramName)
 retrieve SPLOM data More...
 
void setParameterInverted (size_t paramIndex, bool isInverted)
 whether to invert the axis for a given parameter's index. More...
 
void setParameterVisibility (const QString &paramName, bool isVisible)
 Show/hide scatter plots of a parameter given parameter's name. More...
 
void setParameterVisibility (size_t paramIndex, bool isVisible)
 Show/hide scatter plots of a parameter given parameter's index. More...
 
void setParameterVisibility (std::vector< char > const &visibility)
 Adapt visibility of all parameters at once. More...
 
void setPointColor (QColor const &color)
 set the color for all data points More...
 
void setPointOpacity (double opacity)
 set the opacity for all data points More...
 
void setPointRadius (double radius)
 set the radius for scatter plot points More...
 
void setSelection (SelectionType const &selInds)
 Set selected data points from a vector of indices. More...
 
void setSelectionColor (QColor color)
 set the color for selected points More...
 
void setSeparation (int idx)
 define an index at which a separation margin is inserted More...
 
void showAllPlots (const bool enableAllPlotsVisible)
 switch between showing all plots or only upper half More...
 
void showDefaultMaxizimedPlot ()
 maximize plot in upper left corner More...
 
 ~iAQSplom ()
 

Public Attributes

Settings settings
 

Protected Slots

virtual void currentPointUpdated (size_t index)
 When hovered over a new point. More...
 

Protected Member Functions

virtual void addHighlightedPoint (size_t index)
 Keep a point with index always highlighted. More...
 
void changeActivePlot (iAScatterPlot *s)
 
void clear ()
 Clear all scatter plots in the SPLOM. More...
 
void drawPlotLabels (QVector< ulong > &ind_VisX, int axisOffSet, QPainter &painter, bool switchXY)
 
virtual bool drawPopup (QPainter &painter)
 Draws popup on the splom. More...
 
void drawTicks (QPainter &painter, QList< double > const &ticksX, QList< double > const &ticksY, QList< QString > const &textX, QList< QString > const &textY)
 Draw ticks for X and Y axes of all plots in the SPLOM. More...
 
void drawVisibleParameters (QPainter &painter)
 draws label for the whole scatter plot matrix More...
 
QRect getMaxRect ()
 
int getMaxTickLabelWidth (QList< QString > const &textX, QFontMetrics &fm) const
 Get the width of the longest tick label width. More...
 
QRect getPlotRectByIndex (int x, int y)
 Get a rectangle of a plot by its indices. More...
 
iAScatterPlotgetScatterplotAt (QPoint pos)
 Get a scatter plot at mouse position. More...
 
void initializeGL () override
 overrides function inherited from base class. More...
 
int invert (int val) const
 Inverts parameter index. Used for inverting SPLOM Y indexing order. More...
 
void maximizeSelectedPlot (iAScatterPlot *selectedPlot)
 shows a maximized preview of the selected plot More...
 
void paintEvent (QPaintEvent *event) override
 Draws all scatter plots, tick labels and axes. More...
 
virtual void removeHighlightedPoint (size_t index)
 Remove a point from the highlighted list. More...
 
void removeMaximizedPlot ()
 Removes maximized plot. More...
 
void removeMaxPlotIfHidden ()
 Removes maximized plot if any of his parameters is hidden. More...
 
void resetTransform ()
 Resets transform in all plots of the matrix. More...
 
void updateMaxPlotRect ()
 Updates the rectangle of the maximized scatter plot. More...
 
void updatePlotGridParams ()
 Updates some parameters used for the matrix grid layout calculations. More...
 
void updateSPLOMLayout ()
 Updates SPLOM layout: every plot in the matrix + maximized plot (if exists). More...
 
void updateVisiblePlots ()
 Updates matrix using only plots that are currently visible. More...
 
void wheelEvent (QWheelEvent *event) override
 Overrides of Qt event handlers. More...
 
void resizeEvent (QResizeEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
void mouseDoubleClickEvent (QMouseEvent *event) override
 
void contextMenuEvent (QContextMenuEvent *event) override
 

Protected Attributes

iAScatterPlotm_activePlot
 scatter plot that user currently interacts with More...
 
QPropertyAnimation * m_animationIn
 
QPropertyAnimation * m_animationOut
 
const iAColorThemem_bgColorTheme
 background colors for regions in the scatterplot More...
 
size_t m_colorLookupParam
 index of the column to use for color lookup (TODO: Move to settings?) More...
 
QMenu * m_columnPickMenu
 sub-menu of the context menu for picking which columns are visible More...
 
QMenu * m_contextMenu
 the context menu (can be extended via addContextMenuAction) More...
 
SelectionType m_filteredSelInds
 contains indices of selected points in filtered list (TODO: update only when selection changes and when filters change, remove mutable) More...
 
SelectionType m_highlightedPoints
 contains indices of always highlighted points More...
 
QSharedPointer< iALookupTablem_lut
 lookup table, shared with individual scatter plots More...
 
std::vector< std::vector< iAScatterPlot * > > m_matrix
 cache for all scatter plots More...
 
iAScatterPlotm_maximizedPlot
 pointer to the maximized plot More...
 
splom_mode m_mode
 SPLOM current state: all plots or upper triangle with maximized plot (TODO: Move to settings?) More...
 
std::vector< char > m_paramVisibility
 array of individual parameter visibility More...
 
double m_popupHeight
 height of the last drawn popup More...
 
iAScatterPlotm_previewPlot
 plot currently being previewed (shown in maximized plot) More...
 
QPoint m_scatPlotSize
 size of one scatter plot in the layout More...
 
SelectionType m_selInds
 contains indices of currently selected data points More...
 
int m_separationIdx
 index at which to separate scatterplots spatially (e.g. into in- and output parameters) More...
 
QSharedPointer< iASPLOMDatam_splomData
 contains raw data points used in SPLOM More...
 
std::vector< int > m_visibleIndices
 stores mapping from visible plot index to parameter index More...
 
std::vector< std::vector< iAScatterPlot * > > m_visiblePlots
 matrix of visible scatter plots More...
 

Properties

double m_animIn
 In animation parameter. More...
 
double m_animOut
 Out animation parameter. More...
 

Detailed Description

A scatter plot matrix (SPLOM) widget.

Multidimensional data points are shown using a grid of 2D scatter plots for each pair of dimensions.
Each plot is interactive and user-transformations such as scaling and translating
are possible using mouse wheel and right-button dragging correspondingly.
When 'R' key is pressed all the transformations are reset to default.
The user can also hover over points of any plot, to see a popup with detailed information about the point.
When hovering over a point, it will be highlighted in all plots to allow interactive exploration.
Any parameter of the data can be color-coded using a lookup table.
Any scatter plot from an upper matrix triangle can be maximized by clicking a button in the upper-right corner.
The maximized plot can be minimized by using a button in upper-right corner.
Inherits Q[Open]GLWidget,manages scatter plots internally.
Some customization options are available via the public settings member.

Usage:
- Create iAQSPLOM
- add to a window/widget, make visible
- set some data (using one of the setData methods)
- set a lookup table for dot colors (setLookupTable)
- (optional:) set the parameter visibility (by default, all parameters are visible
- (optional:)

Example (visibleWidget is some widget, currently shown, with a layout):
    iAQSplom* splom = new iAQSplom();
    visibleWidget->layout()->addWidget(splom);

... you might want enable Qt to process a paint event here, to make sure the OpenGL context is created QSharedPoiner<iASPLOMData> splomData = createSPLOMDataSomehow(); splom->setData(splomData); iALookupTable lut; we assume here you want all points colored in a middle gray; we set up a color lookoup table over all values of column 0, and set the same color for the whole range if you want to color the dots by an actual column value, adapt this to your own needs! lut.setRange( splomData->paramRange(0) ); lut.allocate(2); QColor CustomDotColor(128, 128, 128) lut.setColor( 0, CustomDotColor ); lut.setColor( 1, CustomDotColor ); splom->setLookupTable( lut, 0 );

Member Enumeration Documentation

◆ ColorScheme

< what color scheme to use for coloring the dots

Enumerator
AllPointsSame 

all points have the same color

ByParameter 

points are colored by a specific parameter, using a diverging, perceptually uniform lookup table

Custom 

points are colored

Constructor & Destructor Documentation

◆ iAQSplom()

iAQSplom::iAQSplom ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

◆ ~iAQSplom()

iAQSplom::~iAQSplom ( )

Member Function Documentation

◆ addContextMenuAction()

void iAQSplom::addContextMenuAction ( QAction *  action)

add an additional option to the context menu

◆ addFilter()

void iAQSplom::addFilter ( int  paramIndex,
double  value 
)

set filter on data to be shown; only data points where given parameter contains given value will be shown

◆ addHighlightedPoint()

void iAQSplom::addHighlightedPoint ( size_t  index)
protectedvirtual

Keep a point with index always highlighted.

◆ changeActivePlot()

void iAQSplom::changeActivePlot ( iAScatterPlot s)
protected

◆ clear()

void iAQSplom::clear ( )
protected

Clear all scatter plots in the SPLOM.

◆ clearSelection()

void iAQSplom::clearSelection ( )

deletes current selection

◆ colorLookupParam()

size_t iAQSplom::colorLookupParam ( ) const

parameter currently used for color lookup

◆ colorScheme()

iAQSplom::ColorScheme iAQSplom::colorScheme ( ) const

get current color scheme

◆ contextMenuEvent()

void iAQSplom::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotected

◆ currentPointModified

void iAQSplom::currentPointModified ( size_t  index)
signal

Emitted when hovered over a new point.

◆ currentPointUpdated

void iAQSplom::currentPointUpdated ( size_t  index)
protectedvirtualslot

When hovered over a new point.

◆ data()

QSharedPointer< iASPLOMData > iAQSplom::data ( )

set SPLOM data directly.

◆ drawPlotLabels()

void iAQSplom::drawPlotLabels ( QVector< ulong > &  ind_VisX,
int  axisOffSet,
QPainter &  painter,
bool  switchXY 
)
protected

◆ drawPopup()

bool iAQSplom::drawPopup ( QPainter &  painter)
protectedvirtual

Draws popup on the splom.

◆ drawTicks()

void iAQSplom::drawTicks ( QPainter &  painter,
QList< double > const &  ticksX,
QList< double > const &  ticksY,
QList< QString > const &  textX,
QList< QString > const &  textY 
)
protected

Draw ticks for X and Y axes of all plots in the SPLOM.

◆ drawVisibleParameters()

void iAQSplom::drawVisibleParameters ( QPainter &  painter)
protected

draws label for the whole scatter plot matrix

◆ enableSelection()

void iAQSplom::enableSelection ( bool  enable)

set whether selections are allowed or not

◆ getActivePlotIndices()

void iAQSplom::getActivePlotIndices ( int *  inds_out)

Get X and Y parameter indices of currently active scatter plot.

◆ getAnimIn()

double iAQSplom::getAnimIn ( ) const
inlineoverridevirtual

Getter for animation in property.

Implements iAScatterPlotSelectionHandler.

◆ getAnimOut()

double iAQSplom::getAnimOut ( ) const
inlineoverridevirtual

Getter for animation in property.

Implements iAScatterPlotSelectionHandler.

◆ getBackgroundColorTheme()

const iAColorTheme * iAQSplom::getBackgroundColorTheme ( )

retrieve the theme for background colors for the separated regions

◆ getFilteredSelection()

const iAQSplom::SelectionType & iAQSplom::getFilteredSelection ( ) const
overridevirtual

Get currently selected data points, as indices in the list of filtered data points. These indices are always sorted.

Implements iAScatterPlotSelectionHandler.

◆ getHighlightedPoints()

const iAQSplom::SelectionType & iAQSplom::getHighlightedPoints ( ) const
overridevirtual

get the list of highlighted points

Implements iAScatterPlotSelectionHandler.

◆ getMaxRect()

QRect iAQSplom::getMaxRect ( )
protected

◆ getMaxTickLabelWidth()

int iAQSplom::getMaxTickLabelWidth ( QList< QString > const &  textX,
QFontMetrics &  fm 
) const
protected

Get the width of the longest tick label width.

◆ getPlotRectByIndex()

QRect iAQSplom::getPlotRectByIndex ( int  x,
int  y 
)
protected

Get a rectangle of a plot by its indices.

◆ getScatterplotAt()

iAScatterPlot * iAQSplom::getScatterplotAt ( QPoint  pos)
protected

Get a scatter plot at mouse position.

◆ getSelection() [1/2]

const iAQSplom::SelectionType & iAQSplom::getSelection ( ) const
overridevirtual

Get vector of indices of currently selected data points.

Implements iAScatterPlotSelectionHandler.

◆ getSelection() [2/2]

iAQSplom::SelectionType & iAQSplom::getSelection ( )
overridevirtual

Get const vector of indices of currently selected data points.

Implements iAScatterPlotSelectionHandler.

◆ getVisibleParametersCount()

int iAQSplom::getVisibleParametersCount ( ) const
overridevirtual

Get the number of parameters currently displayed.

Implements iAScatterPlotSelectionHandler.

◆ initializeGL()

void iAQSplom::initializeGL ( )
overrideprotected

overrides function inherited from base class.

◆ invert()

int iAQSplom::invert ( int  val) const
protected

Inverts parameter index. Used for inverting SPLOM Y indexing order.

◆ keyPressEvent()

void iAQSplom::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ loadSettings()

void iAQSplom::loadSettings ( iASettings const &  iniFile)

load settings from given object

◆ lookupTable()

QSharedPointer< iALookupTable > iAQSplom::lookupTable ( ) const

get lookup table

◆ lookupTableChanged

void iAQSplom::lookupTableChanged ( )
signal

Emitted when the lookup table has changed.

◆ maximizeSelectedPlot()

void iAQSplom::maximizeSelectedPlot ( iAScatterPlot selectedPlot)
protected

shows a maximized preview of the selected plot

◆ mouseDoubleClickEvent()

void iAQSplom::mouseDoubleClickEvent ( QMouseEvent *  event)
overrideprotected

◆ mouseMoveEvent()

void iAQSplom::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

◆ mousePressEvent()

void iAQSplom::mousePressEvent ( QMouseEvent *  event)
overrideprotected

◆ mouseReleaseEvent()

void iAQSplom::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

◆ paintEvent()

void iAQSplom::paintEvent ( QPaintEvent *  event)
overrideprotected

Draws all scatter plots, tick labels and axes.

◆ parameterVisibilityChanged

void iAQSplom::parameterVisibilityChanged ( size_t  paramIndex,
bool  visible 
)
signal

Emitted when the visibility of a parameter has changed (from within SPLOM, not triggered if it was set from the outside via setParameterVisibility).

◆ rangeFromParameter

void iAQSplom::rangeFromParameter ( )
slot

Call when color range should be determined from parameter.

◆ removeFilter()

void iAQSplom::removeFilter ( int  paramIndex,
double  value 
)

remove a specific filter

◆ removeHighlightedPoint()

void iAQSplom::removeHighlightedPoint ( size_t  index)
protectedvirtual

Remove a point from the highlighted list.

◆ removeMaximizedPlot()

void iAQSplom::removeMaximizedPlot ( )
protected

Removes maximized plot.

◆ removeMaxPlotIfHidden()

void iAQSplom::removeMaxPlotIfHidden ( )
protected

Removes maximized plot if any of his parameters is hidden.

◆ resetFilter()

void iAQSplom::resetFilter ( )

reset filter on data; after calling this method, all data points will be shown again

◆ resetTransform()

void iAQSplom::resetTransform ( )
protected

Resets transform in all plots of the matrix.

◆ resizeEvent()

void iAQSplom::resizeEvent ( QResizeEvent *  event)
overrideprotected

◆ saveSettings()

void iAQSplom::saveSettings ( QSettings &  iniFile) const

store current settings into given object

◆ selectionModified

void iAQSplom::selectionModified ( SelectionType const &  selInds)
signal

Emitted when new data points are selected. Contains a list of selected data points.

◆ setAnimIn()

void iAQSplom::setAnimIn ( double  anim)

Setter for animation in property.

◆ setAnimOut()

void iAQSplom::setAnimOut ( double  anim)

Setter for animation in property.

◆ setBackgroundColorTheme()

void iAQSplom::setBackgroundColorTheme ( iAColorTheme const *  theme)

define the color theme to use for coloring the different separated regions

◆ setColorParam() [1/2]

void iAQSplom::setColorParam ( const QString &  paramName)

Set the parameter to color code, lookup table will be auto-determined (By Parameter)

◆ setColorParam() [2/2]

void iAQSplom::setColorParam ( size_t  colorLookupParam)

Set the parameter to color code, lookup table will be auto-determined (By Parameter)

◆ setColorTheme

void iAQSplom::setColorTheme ( QString const &  themeName)
slot

Call to adapt color theme used for coloring by a parameter.

◆ setData() [1/2]

void iAQSplom::setData ( const QTableWidget *  data)
virtual

◆ setData() [2/2]

void iAQSplom::setData ( QSharedPointer< iASPLOMData data,
std::vector< char > const &  visibility 
)

import data from QTableWidget, first row should contain parameter names, each column corresponds to one parameter.

◆ setFilteredSelection()

void iAQSplom::setFilteredSelection ( iAQSplom::SelectionType const &  filteredSelInds)

Set selected data points from indices within the filtered data points.

◆ setFlipAxes

void iAQSplom::setFlipAxes ( bool  flip)
slot

set whether to flip parameters in large scatterplot

◆ setHistogramBins

void iAQSplom::setHistogramBins ( int  bins)
slot

set the number of histogram bins

◆ setHistogramVisible

void iAQSplom::setHistogramVisible ( bool  visible)
slot

set visibility of histograms

◆ setLookupTable() [1/2]

void iAQSplom::setLookupTable ( iALookupTable lut,
size_t  paramIndex 
)

Set lookup table given the index of a parameter to color-code.

◆ setLookupTable() [2/2]

void iAQSplom::setLookupTable ( vtkLookupTable *  lut,
const QString &  paramName 
)

retrieve SPLOM data

Set lookup table from VTK (vtkLookupTable) given the name of a parameter to color-code.

◆ setParameterInverted()

void iAQSplom::setParameterInverted ( size_t  paramIndex,
bool  isInverted 
)

whether to invert the axis for a given parameter's index.

◆ setParameterVisibility() [1/3]

void iAQSplom::setParameterVisibility ( const QString &  paramName,
bool  isVisible 
)

Show/hide scatter plots of a parameter given parameter's name.

◆ setParameterVisibility() [2/3]

void iAQSplom::setParameterVisibility ( size_t  paramIndex,
bool  isVisible 
)

Show/hide scatter plots of a parameter given parameter's index.

◆ setParameterVisibility() [3/3]

void iAQSplom::setParameterVisibility ( std::vector< char > const &  visibility)

Adapt visibility of all parameters at once.

◆ setPointColor()

void iAQSplom::setPointColor ( QColor const &  color)

set the color for all data points

◆ setPointOpacity()

void iAQSplom::setPointOpacity ( double  opacity)

set the opacity for all data points

◆ setPointRadius()

void iAQSplom::setPointRadius ( double  radius)

set the radius for scatter plot points

◆ setSelection()

void iAQSplom::setSelection ( iAQSplom::SelectionType const &  selInds)

Set selected data points from a vector of indices.

◆ setSelectionColor()

void iAQSplom::setSelectionColor ( QColor  color)

set the color for selected points

◆ setSelectionMode

void iAQSplom::setSelectionMode ( int  mode)
slot

set selection mode to either rectangle or polygon mode

◆ setSeparation()

void iAQSplom::setSeparation ( int  idx)

define an index at which a separation margin is inserted

◆ showAllPlots()

void iAQSplom::showAllPlots ( const bool  enableAllPlotsVisible)

switch between showing all plots or only upper half

◆ showDefaultMaxizimedPlot()

void iAQSplom::showDefaultMaxizimedPlot ( )

maximize plot in upper left corner

◆ showSettings

void iAQSplom::showSettings ( )
slot

Show the settings dialog.

◆ updateMaxPlotRect()

void iAQSplom::updateMaxPlotRect ( )
protected

Updates the rectangle of the maximized scatter plot.

◆ updatePlotGridParams()

void iAQSplom::updatePlotGridParams ( )
protected

Updates some parameters used for the matrix grid layout calculations.

◆ updateSPLOMLayout()

void iAQSplom::updateSPLOMLayout ( )
protected

Updates SPLOM layout: every plot in the matrix + maximized plot (if exists).

◆ updateVisiblePlots()

void iAQSplom::updateVisiblePlots ( )
protected

Updates matrix using only plots that are currently visible.

◆ wheelEvent()

void iAQSplom::wheelEvent ( QWheelEvent *  event)
overrideprotected

Overrides of Qt event handlers.

Member Data Documentation

◆ m_activePlot

iAScatterPlot* iAQSplom::m_activePlot
protected

scatter plot that user currently interacts with

◆ m_animationIn

QPropertyAnimation* iAQSplom::m_animationIn
protected

◆ m_animationOut

QPropertyAnimation* iAQSplom::m_animationOut
protected

◆ m_bgColorTheme

const iAColorTheme* iAQSplom::m_bgColorTheme
protected

background colors for regions in the scatterplot

◆ m_colorLookupParam

size_t iAQSplom::m_colorLookupParam
protected

index of the column to use for color lookup (TODO: Move to settings?)

◆ m_columnPickMenu

QMenu* iAQSplom::m_columnPickMenu
protected

sub-menu of the context menu for picking which columns are visible

◆ m_contextMenu

QMenu* iAQSplom::m_contextMenu
protected

the context menu (can be extended via addContextMenuAction)

◆ m_filteredSelInds

SelectionType iAQSplom::m_filteredSelInds
mutableprotected

contains indices of selected points in filtered list (TODO: update only when selection changes and when filters change, remove mutable)

◆ m_highlightedPoints

SelectionType iAQSplom::m_highlightedPoints
protected

contains indices of always highlighted points

◆ m_lut

QSharedPointer<iALookupTable> iAQSplom::m_lut
protected

lookup table, shared with individual scatter plots

◆ m_matrix

std::vector<std::vector<iAScatterPlot*> > iAQSplom::m_matrix
protected

cache for all scatter plots

◆ m_maximizedPlot

iAScatterPlot* iAQSplom::m_maximizedPlot
protected

pointer to the maximized plot

◆ m_mode

splom_mode iAQSplom::m_mode
protected

SPLOM current state: all plots or upper triangle with maximized plot (TODO: Move to settings?)

◆ m_paramVisibility

std::vector<char> iAQSplom::m_paramVisibility
protected

array of individual parameter visibility

◆ m_popupHeight

double iAQSplom::m_popupHeight
protected

height of the last drawn popup

◆ m_previewPlot

iAScatterPlot* iAQSplom::m_previewPlot
protected

plot currently being previewed (shown in maximized plot)

◆ m_scatPlotSize

QPoint iAQSplom::m_scatPlotSize
protected

size of one scatter plot in the layout

◆ m_selInds

SelectionType iAQSplom::m_selInds
protected

contains indices of currently selected data points

◆ m_separationIdx

int iAQSplom::m_separationIdx
protected

index at which to separate scatterplots spatially (e.g. into in- and output parameters)

◆ m_splomData

QSharedPointer<iASPLOMData> iAQSplom::m_splomData
protected

contains raw data points used in SPLOM

◆ m_visibleIndices

std::vector<int> iAQSplom::m_visibleIndices
protected

stores mapping from visible plot index to parameter index

◆ m_visiblePlots

std::vector<std::vector<iAScatterPlot*> > iAQSplom::m_visiblePlots
protected

matrix of visible scatter plots

◆ settings

Settings iAQSplom::settings

Property Documentation

◆ m_animIn

double iAQSplom::m_animIn
readwrite

In animation parameter.

◆ m_animOut

double iAQSplom::m_animOut
readwrite

Out animation parameter.


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