ddt
0.1
|
#include <ddtCPLImageGraphicsItem.hpp>
Public Types | |
enum | { ITEM_TYPE = 66036 } |
![]() | |
enum | { ITEM_TYPE = 66036 } |
Public Member Functions | |
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 |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
virtual QImage * | GetImage () |
int | type () const |
![]() | |
DdtImageGraphicsItem () | |
virtual | ~DdtImageGraphicsItem () |
Protected Attributes | |
cpl_image * | cimage |
QImage * | qimage |
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
|
virtual |
Function returning the bounding box of the graphics item
Implements DdtImageGraphicsItem.
|
virtual |
Method to retrieve the current rendered image as QImage
Implements DdtImageGraphicsItem.
|
virtual |
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.
|
virtual |
|
protected |
Image representation as cpl_image
|
protected |
Image representation as QImage