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

#include <ddtRenderingPluginCPLInvers.hpp>

Inheritance diagram for DdtRenderingPluginCPLInvers:
DdtRenderingPlugin

Public Member Functions

 DdtRenderingPluginCPLInvers (QPixmap pixmap)
 
- Public Member Functions inherited from DdtRenderingPlugin
 DdtRenderingPlugin ()
 
virtual ~DdtRenderingPlugin ()
 
 DdtRenderingPluginCPLInvers ()
 
 ~DdtRenderingPluginCPLInvers () override
 
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 inverted

Constructor & Destructor Documentation

◆ DdtRenderingPluginCPLInvers() [1/2]

DdtRenderingPluginCPLInvers::DdtRenderingPluginCPLInvers ( )
explicit

Constructor

◆ DdtRenderingPluginCPLInvers() [2/2]

DdtRenderingPluginCPLInvers::DdtRenderingPluginCPLInvers ( QPixmap pixmap)
explicit

Constructor

Parameters
pixmapQPixmap used to render the image

◆ ~DdtRenderingPluginCPLInvers()

DdtRenderingPluginCPLInvers::~DdtRenderingPluginCPLInvers ( )
overridedefault

Destructor

Member Function Documentation

◆ CreateGraphicsItem() [1/2]

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

Create histogram 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 * DdtRenderingPluginCPLInvers::CreateGraphicsItem ( cpl_image *const in_image,
ddt::colorMapARGB_t *const color_map,
ddt::scalingLut_t *const scaling_lut )
overridevirtual

Create histogram 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 * DdtRenderingPluginCPLInvers::CreateImage ( std::vector< uint16_t > image_data,
const int width,
const int height )
overridevirtual

Create histogram 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 * DdtRenderingPluginCPLInvers::CreateImageFromFile ( const QString filename,
const int width,
const int height )
overridevirtual

Create histogram from file

Parameters
filenameFilename of the image to load
widthWidth of the rendering area
heightHeight of the rendering area

Implements DdtRenderingPlugin.

◆ GetRenderingPluginID()

int DdtRenderingPluginCPLInvers::GetRenderingPluginID ( )
overridevirtual

Returns the rendering plugin ID

Returns
Rendering plugin ID

Implements DdtRenderingPlugin.

◆ set_logger()

void DdtRenderingPluginCPLInvers::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: