ddt 1.2.1
Loading...
Searching...
No Matches
ddtRenderingPluginCPLImages.hpp
Go to the documentation of this file.
1
20#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_RENDERING_PLUGIN_CPL_IMAGES_HPP
21#define DDT_DATAVISUALISATION_DDTWIDGETS_RENDERING_PLUGIN_CPL_IMAGES_HPP
22
25
30 public:
40
45
53 cpl_image* const in_image, ddt::colorMap_t* const color_map,
54 ddt::scalingLut_t* const scaling_lut) override;
55
63 cpl_image* const in_image, ddt::colorMapARGB_t* const color_map,
64 ddt::scalingLut_t* const scaling_lut) override;
65
72 DdtImageGraphicsItem* CreateImageFromFile(const QString filename,
73 const int width,
74 const int height) override;
75
82 DdtImageGraphicsItem* CreateImage(std::vector<uint16_t> image_data,
83 const int width, const int height) override;
84
89 int GetRenderingPluginID() override;
90
94 void set_logger(ddt::DdtLogger* const in_logger) override;
95
96 private:
97 cpl_image* image = nullptr;
98
102 void Init() const;
103};
104
105#endif // DDT_DATAVISUALISATION_DDTWIDGETS_RENDERING_PLUGIN_CPL_IMAGES_HPP
106
Definition ddtImageGraphicsItem.hpp:28
Definition ddtRenderingPluginCPLImages.hpp:29
DdtRenderingPluginCPLImages(QPixmap pixmap)
DdtImageGraphicsItem * CreateImage(std::vector< uint16_t > image_data, const int width, const int height) override
Definition ddtRenderingPluginCPLImages.cpp:106
DdtImageGraphicsItem * CreateImageFromFile(const QString filename, const int width, const int height) override
Definition ddtRenderingPluginCPLImages.cpp:84
int GetRenderingPluginID() override
Definition ddtRenderingPluginCPLImages.cpp:30
void set_logger(ddt::DdtLogger *const in_logger) override
Definition ddtRenderingPluginCPLImages.cpp:35
DdtRenderingPluginCPLImages()
Definition ddtRenderingPluginCPLImages.cpp:22
virtual ~DdtRenderingPluginCPLImages()
DdtImageGraphicsItem * CreateGraphicsItem(cpl_image *const in_image, ddt::colorMap_t *const color_map, ddt::scalingLut_t *const scaling_lut) override
Definition ddtRenderingPluginCPLImages.cpp:44
Definition ddtRenderingPlugin.hpp:41
Definition ddtLogger.hpp:51
DDT Widgets. Class for CPL Image Graphics Items. Class derived from QGraphicsItem....
DDT Widgets. Base class for rendering plugins. Base class for rendering plugins.
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