The class ImageLutWidget defines a widget controling the Look Up Table of an instance of ImageComponent. More...
#include <ImageLutWidget.h>
Inheritance diagram for ImageLutWidget:
Collaboration diagram for ImageLutWidget:Public Member Functions | |
| ImageLutWidget (QWidget *parent=nullptr) | |
| Default construtor. More... | |
| void | showHistogramTooltip (QPointF) |
| show tool tip from the histogramGraphicsRectItem More... | |
| void | updateComponent (camitk::ImageComponent *) |
| load the LUT data using the LUT from the image component (requires an ImageComponent with a LUT) More... | |
| ~ImageLutWidget () override | |
| destructor More... | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) override |
| overwritten from QWidget to ensure fit in view, see fitView() More... | |
| void | showEvent (QShowEvent *) override |
| overwritten from QWidget to ensure fit in view, see fitView() More... | |
The class ImageLutWidget defines a widget controling the Look Up Table of an instance of ImageComponent.
Uses double data type to manage the histogram. This allows for managin properly all type of voxel datatype.
| ImageLutWidget::ImageLutWidget | ( | QWidget * | parent = nullptr | ) |
Default construtor.
|
override |
destructor
|
overrideprotected |
overwritten from QWidget to ensure fit in view, see fitView()
|
overrideprotected |
overwritten from QWidget to ensure fit in view, see fitView()
| void ImageLutWidget::showHistogramTooltip | ( | QPointF | mousePos | ) |
show tool tip from the histogramGraphicsRectItem
References ImageLutModel::getBinValue(), ImageLutModel::getMaxValue(), ImageLutModel::getMinValue(), and ImageLutModel::getNumberOfBins().
Referenced by HistogramGraphicsRectItem::hoverMoveEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImageLutWidget::updateComponent | ( | camitk::ImageComponent * | imageComponent | ) |
load the LUT data using the LUT from the image component (requires an ImageComponent with a LUT)
References camitk::ImageComponent::getImageData(), and camitk::ImageComponent::getLut().
Here is the call graph for this function: