ddt 1.2.1
|
#include <ddtCPLImageGraphicsItem.hpp>
Public Types | |
enum | { ITEM_TYPE = 66036 } |
![]() | |
enum | { ITEM_TYPE = 66036 } |
Protected Attributes | |
cpl_image * | cimage |
QImage * | qimage |
DdtCPLImageGraphicsItem () | |
DdtCPLImageGraphicsItem (cpl_image *const in_image) | |
DdtCPLImageGraphicsItem (cpl_image *const in_image, ddt::colorMap_t *const color_map, ddt::scalingLut_t *scaling_lut) | |
DdtCPLImageGraphicsItem (cpl_image *const in_image, ddt::colorMapARGB_t *const color_map, ddt::scalingLut_t *scaling_lut) | |
virtual | ~DdtCPLImageGraphicsItem () |
QRectF | boundingRect () const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
virtual QImage * | GetImage () override |
int | type () const override |
Additional Inherited Members | |
![]() | |
DdtImageGraphicsItem () | |
virtual | ~DdtImageGraphicsItem () |
Class derived from QGraphicsItems used to display CPL Images
anonymous enum |
DdtCPLImageGraphicsItem::DdtCPLImageGraphicsItem | ( | ) |
Constructor
|
explicit |
Constructor
in_image | cpl_image used to create the graphics item |
DdtCPLImageGraphicsItem::DdtCPLImageGraphicsItem | ( | cpl_image *const | in_image, |
ddt::colorMap_t *const | color_map, | ||
ddt::scalingLut_t * | scaling_lut ) |
Constructor. It takes a CPL image and a color map as arguments.
in_image | cpl_image used to create the graphics item |
color_map | color map to be applied on the image |
scaling_lut | the scaling LUT to be applied |
DdtCPLImageGraphicsItem::DdtCPLImageGraphicsItem | ( | cpl_image *const | in_image, |
ddt::colorMapARGB_t *const | color_map, | ||
ddt::scalingLut_t * | scaling_lut ) |
Constructor. It takes a CPL image and a color map as arguments.
in_image | cpl_image used to create the graphics item |
color_map | color map containing ARGB values to be applied on the image |
scaling_lut | the scaling LUT to be applied |
|
virtual |
Destructor
|
overridevirtual |
Function returning the bounding box of the graphics item
Implements DdtImageGraphicsItem.
|
overridevirtual |
Method to retrieve the current rendered image as QImage
Implements DdtImageGraphicsItem.
|
overridevirtual |
Method used to paint the graphics item
painter | Pointer to the painter painting the graphics item |
option | Pointer to the style options |
widget | Pointer to the parent widget |
Implements DdtImageGraphicsItem.
|
overridevirtual |
|
protected |
Image representation as cpl_image
|
protected |
Image representation as QImage