ddt 1.2.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DdtRenderingPluginCPLImages Class Reference

#include <ddtRenderingPluginCPLImages.hpp>

Inheritance diagram for DdtRenderingPluginCPLImages:
DdtRenderingPlugin

Public Member Functions

 DdtRenderingPluginCPLImages (QPixmap pixmap)
 
- Public Member Functions inherited from DdtRenderingPlugin
 DdtRenderingPlugin ()
 
virtual ~DdtRenderingPlugin ()
 
 DdtRenderingPluginCPLImages ()
 
virtual ~DdtRenderingPluginCPLImages ()
 
DdtImageGraphicsItemCreateGraphicsItem (cpl_image *const in_image, ddt::colorMap_t *const color_map, ddt::scalingLut_t *const scaling_lut) override
 
DdtImageGraphicsItemCreateGraphicsItem (cpl_image *const in_image, ddt::colorMapARGB_t *const color_map, ddt::scalingLut_t *const scaling_lut) override
 
DdtImageGraphicsItemCreateImageFromFile (const QString filename, const int width, const int height) override
 
DdtImageGraphicsItemCreateImage (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
 

Additional Inherited Members

- Protected Attributes inherited from DdtRenderingPlugin
ddt::DdtLoggerlogger
 

Detailed Description

Class derived from DdtRenderingPlugin used render CPL Images

Constructor & Destructor Documentation

◆ DdtRenderingPluginCPLImages() [1/2]

DdtRenderingPluginCPLImages::DdtRenderingPluginCPLImages ( )

Constructor

◆ DdtRenderingPluginCPLImages() [2/2]

DdtRenderingPluginCPLImages::DdtRenderingPluginCPLImages ( QPixmap pixmap)

Constructor

Parameters
pixmapQPixmap used to render the image

◆ ~DdtRenderingPluginCPLImages()

DdtRenderingPluginCPLImages::~DdtRenderingPluginCPLImages ( )
virtualdefault

Destructor

Member Function Documentation

◆ CreateGraphicsItem() [1/2]

DdtImageGraphicsItem * DdtRenderingPluginCPLImages::CreateGraphicsItem ( cpl_image *const in_image,
ddt::colorMap_t *const color_map,
ddt::scalingLut_t *const scaling_lut )
overridevirtual

Create Image from cpl image

Parameters
in_imagethe cpl image object
color_mapthe color map to use
scaling_lutthe scaling LUT to use

Implements DdtRenderingPlugin.

◆ CreateGraphicsItem() [2/2]

DdtImageGraphicsItem * DdtRenderingPluginCPLImages::CreateGraphicsItem ( cpl_image *const in_image,
ddt::colorMapARGB_t *const color_map,
ddt::scalingLut_t *const scaling_lut )
overridevirtual

Create Image from cpl image

Parameters
in_imagethe cpl image object
color_mapthe color map containing ARGB values to use
scaling_lutthe 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_dataImage data for now only as uint16_t vector
widthWidth of the rendering area
heightHeight 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
filenameFilename of the image to load
widthWidth of the rendering area
heightHeight of the rendering area

Implements DdtRenderingPlugin.

◆ GetRenderingPluginID()

int DdtRenderingPluginCPLImages::GetRenderingPluginID ( )
overridevirtual

Returns the rendering plugin ID

Returns
Rendering plugin ID

Implements DdtRenderingPlugin.

◆ set_logger()

void DdtRenderingPluginCPLImages::set_logger ( ddt::DdtLogger *const in_logger)
overridevirtual

Initialize Ddt Logger

Reimplemented from DdtRenderingPlugin.


The documentation for this class was generated from the following files: