ddt 1.2.1
|
#include <ddtCPLInversGraphicsItem.hpp>
Public Types | |
enum | { ITEM_TYPE = 66036 } |
![]() | |
enum | { ITEM_TYPE = 66036 } |
Protected Attributes | |
cpl_image * | cimage |
QImage * | qimage |
DdtCPLInversGraphicsItem () | |
DdtCPLInversGraphicsItem (cpl_image *const in_image) | |
DdtCPLInversGraphicsItem (cpl_image *const in_image, ddt::colorMap_t *const color_map, ddt::scalingLut_t *scaling_lut) | |
DdtCPLInversGraphicsItem (cpl_image *const in_image, ddt::colorMapARGB_t *const color_map, ddt::scalingLut_t *scaling_lut) | |
~DdtCPLInversGraphicsItem () override | |
QRectF | boundingRect () const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
QImage * | GetImage () override |
int | type () const override |
Additional Inherited Members | |
![]() | |
DdtImageGraphicsItem () | |
virtual | ~DdtImageGraphicsItem () |
Class derived from QGraphicsItems used to display CPL Images inverted
anonymous enum |
DdtCPLInversGraphicsItem::DdtCPLInversGraphicsItem | ( | ) |
Constructor
|
explicit |
Constructor
in_image | cpl_image used to create the graphics item |
DdtCPLInversGraphicsItem::DdtCPLInversGraphicsItem | ( | 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 |
DdtCPLInversGraphicsItem::DdtCPLInversGraphicsItem | ( | 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 |
|
override |
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