Go to the documentation of this file.
17 #ifndef DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
18 #define DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
77 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
122 void loadImageGrayColor(cpl_image*
const in_image);
129 void loadImageGrayColorInt(cpl_image*
const in_image);
136 void loadImageGrayColorFloat(cpl_image*
const in_image);
143 void loadImageGrayColorDouble(cpl_image*
const in_image);
151 void loadImageColor(
const cpl_image*
const in_image,
161 void loadImageColor(
const cpl_image*
const in_image,
172 void loadImageColorInt(cpl_image*
const in_image,
183 void loadImageColorInt(cpl_image*
const in_image,
194 void loadImageColorFloat(cpl_image*
const in_image,
205 void loadImageColorFloat(cpl_image*
const in_image,
216 void loadImageColorDouble(cpl_image*
const in_image,
227 void loadImageColorDouble(cpl_image*
const in_image,
234 std::vector<unsigned int> getRgbVectorGray()
const;
239 std::vector<unsigned int> getRgbVectorColor(
246 void createImageAndPixvalRange(
const cpl_image*
const in_image,
247 double*
const min_pixval,
248 double*
const pixval_range);
254 void createImageAndScalingFactors(
const cpl_image*
const in_image,
256 double*
const offset,
double*
const factor);
261 void createImage(
const cpl_image*
const in_image);
264 #endif // DDT_DATAVISUALISATION_DDTWIDGETS_CPL_IMAGE_GRAPHICSITEM_HPP
Definition: imageColor.hpp:76
virtual ~DdtCPLImageGraphicsItem()
Definition: ddtCPLImageGraphicsItem.cpp:74
Definition: ddtCPLImageGraphicsItem.hpp:28
Definition: ddtImageGraphicsItem.hpp:25
std::array< unsigned int, MAX_COLOR_MAP_ENTRIES > colorMapARGB_t
Definition: imageColor.hpp:66
QImage * qimage
Definition: ddtCPLImageGraphicsItem.hpp:107
virtual QImage * GetImage()
Definition: ddtCPLImageGraphicsItem.cpp:100
QRectF boundingRect() const
Definition: ddtCPLImageGraphicsItem.cpp:82
DdtCPLImageGraphicsItem()
Definition: ddtCPLImageGraphicsItem.cpp:27
int type() const
Definition: ddtCPLImageGraphicsItem.cpp:87
cpl_image * cimage
Definition: ddtCPLImageGraphicsItem.hpp:103
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: ddtCPLImageGraphicsItem.cpp:92
std::array< std::array< float, COLOR_MAP_ENTRY_SIZE >, MAX_COLOR_MAP_ENTRIES > colorMap_t
Definition: imageColor.hpp:56
@ ITEM_TYPE
Definition: ddtCPLImageGraphicsItem.hpp:91