12#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
13#define DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
74 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
75 QWidget* widget)
override;
94 int type()
const override;
120 void LoadImageGrayColor(cpl_image*
const in_image);
127 void LoadImageGrayColorInt(cpl_image*
const in_image);
134 void LoadImageGrayColorFloat(cpl_image*
const in_image);
141 void LoadImageGrayColorDouble(cpl_image*
const in_image);
149 void LoadImageColor(
const cpl_image*
const in_image,
159 void LoadImageColor(
const cpl_image*
const in_image,
170 void LoadImageColorInt(cpl_image*
const in_image,
181 void LoadImageColorInt(cpl_image*
const in_image,
192 void LoadImageColorFloat(cpl_image*
const in_image,
203 void LoadImageColorFloat(cpl_image*
const in_image,
214 void LoadImageColorDouble(cpl_image*
const in_image,
225 void LoadImageColorDouble(cpl_image*
const in_image,
232 std::vector<unsigned int> GetRgbVectorGray()
const;
237 std::vector<unsigned int> GetRgbVectorColor(
244 void CreateImageAndPixvalRange(
const cpl_image*
const in_image,
245 double*
const min_pixval,
246 double*
const pixval_range);
252 void CreateImageAndScalingFactors(
const cpl_image*
const in_image,
254 double*
const offset,
double*
const factor);
259 void CreateImage(
const cpl_image*
const in_image);
virtual ~DdtCPLImageGraphicsItem()
Definition ddtCPLImageGraphicsItem.cpp:68
virtual QImage * GetImage() override
Definition ddtCPLImageGraphicsItem.cpp:94
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
Definition ddtCPLImageGraphicsItem.cpp:86
int type() const override
Definition ddtCPLImageGraphicsItem.cpp:81
@ ITEM_TYPE
Definition ddtCPLImageGraphicsItem.hpp:88
cpl_image * cimage
Definition ddtCPLImageGraphicsItem.hpp:100
QImage * qimage
Definition ddtCPLImageGraphicsItem.hpp:105
QRectF boundingRect() const override
Definition ddtCPLImageGraphicsItem.cpp:76
DdtCPLImageGraphicsItem()
Definition ddtCPLImageGraphicsItem.cpp:21
DdtImageGraphicsItem()
Definition ddtImageGraphicsItem.cpp:12
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:48
std::array< unsigned int, MAX_COLOR_MAP_ENTRIES > colorMapARGB_t
Definition imageColor.hpp:58
Definition imageColor.hpp:68