|
ddt 1.2.1
|
#include <ddtRenderingPlugin.hpp>
Public Member Functions | |
| 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 () |
| virtual void | set_logger (ddt::DdtLogger *in_logger) |
Protected Attributes | |
| ddt::DdtLogger * | logger |
Base class for rendering plugins
|
explicitdefault |
Constructor
|
virtualdefault |
Destructor
|
pure virtual |
Create Image from cpl image
| image | the cpl image object |
| color_map | the color map to use |
| scaling_lut | the scaling LUT to use |
Implemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
pure virtual |
Create Image from cpl image
| image | the cpl image object |
| color_map | the color map containing ARGB values to use |
| scaling_lut | the scaling LUT to use |
Implemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
pure virtual |
Create Image from Data Sample
| image_data | Image data for now only as uint16_t vector |
| width | Width of the rendering area |
| height | Height of the rendering area |
Implemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
pure virtual |
Create Image from file
| filename | Filename of the image to load |
| width | Width of the rendering area |
| height | Height of the rendering area |
Implemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
pure virtual |
Returns an ID for the given rendering plugin
Implemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
virtual |
Initialize Ddt Logger
Reimplemented in DdtRenderingPluginCPLImages, and DdtRenderingPluginCPLInvers.
|
protected |
Logger object