#include <ddtRenderingPluginCPLImages.hpp>
|
| DdtRenderingPluginCPLImages (QPixmap pixmap) |
|
virtual DdtImageGraphicsItem * | CreateGraphicsItem (cpl_image *image, ddt::colorMap_t *color_map, ddt::scalingLut_t *scaling_lut)=0 |
|
virtual DdtImageGraphicsItem * | CreateGraphicsItem (cpl_image *image, ddt::colorMapARGB_t *color_map, ddt::scalingLut_t *scaling_lut)=0 |
|
virtual DdtImageGraphicsItem * | CreateImageFromFile (QString filename, int width, int height)=0 |
|
virtual DdtImageGraphicsItem * | CreateImage (std::vector< uint16_t > image_data, int width, int height)=0 |
|
virtual int | GetRenderingPluginID ()=0 |
|
| DdtRenderingPlugin () |
|
virtual | ~DdtRenderingPlugin () |
|
| DdtRenderingPluginCPLImages () |
|
virtual | ~DdtRenderingPluginCPLImages () |
|
DdtImageGraphicsItem * | CreateGraphicsItem (cpl_image *const in_image, ddt::colorMap_t *const color_map, ddt::scalingLut_t *const scaling_lut) override |
|
DdtImageGraphicsItem * | CreateGraphicsItem (cpl_image *const in_image, ddt::colorMapARGB_t *const color_map, ddt::scalingLut_t *const scaling_lut) override |
|
DdtImageGraphicsItem * | CreateImageFromFile (const QString filename, const int width, const int height) override |
|
DdtImageGraphicsItem * | CreateImage (std::vector< uint16_t > image_data, const int width, const int height) override |
|
int | GetRenderingPluginID () override |
|
void | set_logger (ddt::DdtLogger *const in_logger) override |
|
Class derived from DdtRenderingPlugin used render CPL Images
◆ DdtRenderingPluginCPLImages() [1/2]
DdtRenderingPluginCPLImages::DdtRenderingPluginCPLImages |
( |
| ) |
|
◆ DdtRenderingPluginCPLImages() [2/2]
DdtRenderingPluginCPLImages::DdtRenderingPluginCPLImages |
( |
QPixmap |
pixmap | ) |
|
Constructor
- Parameters
-
pixmap | QPixmap used to render the image |
◆ ~DdtRenderingPluginCPLImages()
DdtRenderingPluginCPLImages::~DdtRenderingPluginCPLImages |
( |
| ) |
|
|
virtualdefault |
◆ CreateGraphicsItem() [1/2]
Create Image from cpl image
- Parameters
-
in_image | the cpl image object |
color_map | the color map to use |
scaling_lut | the scaling LUT to use |
Implements DdtRenderingPlugin.
◆ CreateGraphicsItem() [2/2]
Create Image from cpl image
- Parameters
-
in_image | the cpl image object |
color_map | the color map containing ARGB values to use |
scaling_lut | the scaling LUT to use |
Implements DdtRenderingPlugin.
◆ CreateImage()
DdtImageGraphicsItem * DdtRenderingPluginCPLImages::CreateImage |
( |
std::vector< uint16_t > |
image_data, |
|
|
const int |
width, |
|
|
const int |
height |
|
) |
| |
|
overridevirtual |
Create Image from Data Sample
- Parameters
-
image_data | Image data for now only as uint16_t vector |
width | Width of the rendering area |
height | Height of the rendering area |
Implements DdtRenderingPlugin.
◆ CreateImageFromFile()
DdtImageGraphicsItem * DdtRenderingPluginCPLImages::CreateImageFromFile |
( |
const QString |
filename, |
|
|
const int |
width, |
|
|
const int |
height |
|
) |
| |
|
overridevirtual |
Create Image from file
- Parameters
-
filename | Filename of the image to load |
width | Width of the rendering area |
height | Height of the rendering area |
Implements DdtRenderingPlugin.
◆ GetRenderingPluginID()
int DdtRenderingPluginCPLImages::GetRenderingPluginID |
( |
| ) |
|
|
overridevirtual |
◆ set_logger()
void DdtRenderingPluginCPLImages::set_logger |
( |
ddt::DdtLogger *const |
in_logger | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: