open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
iAScatterPlotWidget Class Reference

Widget for using a single scatter plot (outside of a SPLOM) More...

#include <iAScatterPlotWidget.h>

Inheritance diagram for iAScatterPlotWidget:
[legend]
Collaboration diagram for iAScatterPlotWidget:
[legend]

Signals

void highlightChanged ()
 Emitted once after the internal state of highlights has been fully updated to represent the new highlight situation after a user interaction. More...
 
void pointHighlighted (size_t ptIdx, bool state)
 emitted for each single point that was highlighted (or un-highlighted) The parameters reflect the new highlight state for the given point. More...
 
void selectionModified ()
 
void visibleParamChanged ()
 

Public Member Functions

 iAScatterPlotWidget (QSharedPointer< iASPLOMData > data, bool columnSelection=false)
 
QSharedPointer< iALookupTablelookupTable () const
 
int PaddingBottom ()
 
int PaddingLeft ()
 
const size_t * paramIndices () const
 Get column indices of visible X and Y parameters in data table. More...
 
void setFixPointsEnabled (bool enabled)
 
void setHighlightColor (QColor hltCol)
 
void setHighlightColorTheme (iAColorTheme const *theme)
 
void setHighlightDrawMode (iAScatterPlot::HighlightDrawModes drawMode)
 
void setLookupTable (QSharedPointer< iALookupTable > lut, size_t paramIdx)
 
void setPickedPointFactor (double factor)
 
void setPlotColor (QColor const &c, double rangeMin, double rangeMax)
 
void setPointInfo (QSharedPointer< iAScatterPlotPointInfo > pointInfo)
 
void setPointRadius (double pointRadius)
 
void setSelectionColor (QColor const &c)
 
void setSelectionEnabled (bool enabled)
 
void setSelectionMode (iAScatterPlot::SelectionMode mode)
 
void setVisibleParameters (size_t p1, size_t p2)
 proxy method for setting visible parameters in contained iAScatterPlot More...
 
void toggleHighlightedPoint (size_t curPoint, Qt::KeyboardModifiers modifiers)
 
QSharedPointer< iAScatterPlotViewDataviewData ()
 

Static Public Attributes

static const int PaddingRight = 5
 
static const int PaddingTop = 5
 
static const int TextPadding = 5
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void wheelEvent (QWheelEvent *event) override
 

Detailed Description

Widget for using a single scatter plot (outside of a SPLOM)

Constructor & Destructor Documentation

◆ iAScatterPlotWidget()

iAScatterPlotWidget::iAScatterPlotWidget ( QSharedPointer< iASPLOMData data,
bool  columnSelection = false 
)

Member Function Documentation

◆ contextMenuEvent()

void iAScatterPlotWidget::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotected

◆ highlightChanged

void iAScatterPlotWidget::highlightChanged ( )
signal

Emitted once after the internal state of highlights has been fully updated to represent the new highlight situation after a user interaction.

◆ keyPressEvent()

void iAScatterPlotWidget::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ lookupTable()

QSharedPointer< iALookupTable > iAScatterPlotWidget::lookupTable ( ) const

◆ mouseMoveEvent()

void iAScatterPlotWidget::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

◆ mousePressEvent()

void iAScatterPlotWidget::mousePressEvent ( QMouseEvent *  event)
overrideprotected

◆ mouseReleaseEvent()

void iAScatterPlotWidget::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

◆ PaddingBottom()

int iAScatterPlotWidget::PaddingBottom ( )

◆ PaddingLeft()

int iAScatterPlotWidget::PaddingLeft ( )

◆ paintEvent()

void iAScatterPlotWidget::paintEvent ( QPaintEvent *  event)
overrideprotected

◆ paramIndices()

const size_t * iAScatterPlotWidget::paramIndices ( ) const

Get column indices of visible X and Y parameters in data table.

◆ pointHighlighted

void iAScatterPlotWidget::pointHighlighted ( size_t  ptIdx,
bool  state 
)
signal

emitted for each single point that was highlighted (or un-highlighted) The parameters reflect the new highlight state for the given point.

Note: When this function is called, the highlightedPoints() might not be at the most up-to-date state (e.g. ptIdx might still be contained in the returned vector, if state parameter here is false). If you need a consistent, up-to-date state of all highlighted points, attach to the highlightChanged signal instead!

◆ resizeEvent()

void iAScatterPlotWidget::resizeEvent ( QResizeEvent *  event)
overrideprotected

◆ selectionModified

void iAScatterPlotWidget::selectionModified ( )
signal

◆ setFixPointsEnabled()

void iAScatterPlotWidget::setFixPointsEnabled ( bool  enabled)

◆ setHighlightColor()

void iAScatterPlotWidget::setHighlightColor ( QColor  hltCol)

◆ setHighlightColorTheme()

void iAScatterPlotWidget::setHighlightColorTheme ( iAColorTheme const *  theme)

◆ setHighlightDrawMode()

void iAScatterPlotWidget::setHighlightDrawMode ( iAScatterPlot::HighlightDrawModes  drawMode)

◆ setLookupTable()

void iAScatterPlotWidget::setLookupTable ( QSharedPointer< iALookupTable lut,
size_t  paramIdx 
)

◆ setPickedPointFactor()

void iAScatterPlotWidget::setPickedPointFactor ( double  factor)

◆ setPlotColor()

void iAScatterPlotWidget::setPlotColor ( QColor const &  c,
double  rangeMin,
double  rangeMax 
)

◆ setPointInfo()

void iAScatterPlotWidget::setPointInfo ( QSharedPointer< iAScatterPlotPointInfo pointInfo)

◆ setPointRadius()

void iAScatterPlotWidget::setPointRadius ( double  pointRadius)

◆ setSelectionColor()

void iAScatterPlotWidget::setSelectionColor ( QColor const &  c)

◆ setSelectionEnabled()

void iAScatterPlotWidget::setSelectionEnabled ( bool  enabled)

◆ setSelectionMode()

void iAScatterPlotWidget::setSelectionMode ( iAScatterPlot::SelectionMode  mode)

◆ setVisibleParameters()

void iAScatterPlotWidget::setVisibleParameters ( size_t  p1,
size_t  p2 
)

proxy method for setting visible parameters in contained iAScatterPlot

◆ toggleHighlightedPoint()

void iAScatterPlotWidget::toggleHighlightedPoint ( size_t  curPoint,
Qt::KeyboardModifiers  modifiers 
)

◆ viewData()

QSharedPointer< iAScatterPlotViewData > iAScatterPlotWidget::viewData ( )

◆ visibleParamChanged

void iAScatterPlotWidget::visibleParamChanged ( )
signal

◆ wheelEvent()

void iAScatterPlotWidget::wheelEvent ( QWheelEvent *  event)
overrideprotected

Member Data Documentation

◆ PaddingRight

const int iAScatterPlotWidget::PaddingRight = 5
static

◆ PaddingTop

const int iAScatterPlotWidget::PaddingTop = 5
static

◆ TextPadding

const int iAScatterPlotWidget::TextPadding = 5
static

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