21#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
22#define DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
83 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
84 QWidget* widget)
override;
103 int type()
const override;
129 void LoadImageGrayColor(cpl_image*
const in_image);
136 void LoadImageGrayColorInt(cpl_image*
const in_image);
143 void LoadImageGrayColorFloat(cpl_image*
const in_image);
150 void LoadImageGrayColorDouble(cpl_image*
const in_image);
158 void LoadImageColor(
const cpl_image*
const in_image,
168 void LoadImageColor(
const cpl_image*
const in_image,
179 void LoadImageColorInt(cpl_image*
const in_image,
190 void LoadImageColorInt(cpl_image*
const in_image,
201 void LoadImageColorFloat(cpl_image*
const in_image,
212 void LoadImageColorFloat(cpl_image*
const in_image,
223 void LoadImageColorDouble(cpl_image*
const in_image,
234 void LoadImageColorDouble(cpl_image*
const in_image,
241 std::vector<unsigned int> GetRgbVectorGray()
const;
246 std::vector<unsigned int> GetRgbVectorColor(
253 void CreateImageAndPixvalRange(
const cpl_image*
const in_image,
254 double*
const min_pixval,
255 double*
const pixval_range);
261 void CreateImageAndScalingFactors(
const cpl_image*
const in_image,
263 double*
const offset,
double*
const factor);
268 void CreateImage(
const cpl_image*
const in_image);
Definition ddtCPLImageGraphicsItem.hpp:32
virtual ~DdtCPLImageGraphicsItem()
Definition ddtCPLImageGraphicsItem.cpp:76
virtual QImage * GetImage() override
Definition ddtCPLImageGraphicsItem.cpp:102
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
Definition ddtCPLImageGraphicsItem.cpp:94
int type() const override
Definition ddtCPLImageGraphicsItem.cpp:89
cpl_image * cimage
Definition ddtCPLImageGraphicsItem.hpp:109
@ ITEM_TYPE
Definition ddtCPLImageGraphicsItem.hpp:97
QImage * qimage
Definition ddtCPLImageGraphicsItem.hpp:114
QRectF boundingRect() const override
Definition ddtCPLImageGraphicsItem.cpp:84
DdtCPLImageGraphicsItem()
Definition ddtCPLImageGraphicsItem.cpp:29
Definition ddtImageGraphicsItem.hpp:28
DDT Widgets. Class for Image Graphics Items. Class derived from QGraphicsItem. Base class for all typ...
Image Color class, offers access to color map related functions. This file is part of the DDT Image H...
std::array< std::array< float, COLOR_MAP_ENTRY_SIZE >, MAX_COLOR_MAP_ENTRIES > colorMap_t
Definition imageColor.hpp:57
std::array< unsigned int, MAX_COLOR_MAP_ENTRIES > colorMapARGB_t
Definition imageColor.hpp:67
Definition imageColor.hpp:77