open_iA  2020.04
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | List of all members
iAPlotCollection Class Reference

Collects multiple plots and makes them act as a single plot. More...

#include <iAPlotTypes.h>

Inheritance diagram for iAPlotCollection:
Collaboration diagram for iAPlotCollection:

Public Member Functions

void add (QSharedPointer< iAPlot > plot)
 
void clear ()
 
QSharedPointer< iAPlotDatadata () override
 Retrieves the data used for drawing. More...
 
void draw (QPainter &painter, double binWidth, size_t startBin, size_t endBin, iAMapper const &xMapper, iAMapper const &yMapper) const override
 Draws the plot. More...
 
 iAPlotCollection ()
 
void setColor (QColor const &color) override
 
- Public Member Functions inherited from iAPlot
 iAPlot (QSharedPointer< iAPlotData > data, QColor const &color)
 
virtual void setVisible (bool visible)
 Sets whether the plot should be currently drawn or not. More...
 
virtual bool visible () const
 Whether the plot is currently being drawn. More...
 
virtual ~iAPlot ()
 
- Public Member Functions inherited from iAColorable
QColor const getColor () const
 
 iAColorable ()
 
 iAColorable (QColor const &color)
 
virtual ~iAColorable ()
 

Additional Inherited Members

- Static Public Attributes inherited from iAColorable
static QColor const DefaultColor
 
- Protected Attributes inherited from iAPlot
QSharedPointer< iAPlotDatam_data
 
bool m_visible
 

Detailed Description

Collects multiple plots and makes them act as a single plot.

Constructor & Destructor Documentation

◆ iAPlotCollection()

iAPlotCollection::iAPlotCollection ( )

Member Function Documentation

◆ add()

void iAPlotCollection::add ( QSharedPointer< iAPlot plot)

◆ clear()

void iAPlotCollection::clear ( )

◆ data()

QSharedPointer< iAPlotData > iAPlotCollection::data ( )
overridevirtual

Retrieves the data used for drawing.

Reimplemented from iAPlot.

◆ draw()

void iAPlotCollection::draw ( QPainter &  painter,
double  binWidth,
size_t  startBin,
size_t  endBin,
iAMapper const &  xMapper,
iAMapper const &  yMapper 
) const
overridevirtual

Draws the plot.

Implements iAPlot.

◆ setColor()

void iAPlotCollection::setColor ( QColor const &  color)
overridevirtual

Reimplemented from iAColorable.


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