JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
|
plots 1,2 or 3 given grayscale images as an overlay plot, where each channel is drawn as one color channel (e.g. red, green or blue). More...
#include <jkqtfastplotter.h>
Public Slots | |
void | setColorMaxBlue (double colorMax) |
void | setColorMaxBlue (int colorMax) |
void | setColorMaxBlue (uint32_t colorMax) |
void | setColorMaxGreen (double colorMax) |
void | setColorMaxGreen (int colorMax) |
void | setColorMaxGreen (uint32_t colorMax) |
void | setColorMaxRed (double colorMax) |
void | setColorMaxRed (int colorMax) |
void | setColorMaxRed (uint32_t colorMax) |
void | setColorMinBlue (double colorMin) |
void | setColorMinBlue (int colorMin) |
void | setColorMinBlue (uint32_t colorMin) |
void | setColorMinGreen (double colorMin) |
void | setColorMinGreen (int colorMin) |
void | setColorMinGreen (uint32_t colorMin) |
void | setColorMinRed (double colorMin) |
void | setColorMinRed (int colorMin) |
void | setColorMinRed (uint32_t colorMin) |
void | setRotation (int rotation) |
Public Slots inherited from JKQTFPPlot | |
void | setVisible (bool visible) |
Public Member Functions | |
JKQTFPRGBImageOverlayPlot (JKQTFastPlotter *parent) | |
JKQTFPRGBImageOverlayPlot (JKQTFastPlotter *parent, void *imageRed, JKQTFPImageFormat imageFormat, int width, int height) | |
JKQTFPRGBImageOverlayPlot (JKQTFastPlotter *parent, void *imageRed, JKQTFPImageFormat imageFormat, int width, int height, double xmin, double xmax, double ymin, double ymax) | |
class constructor | |
virtual void | drawGraph (QPainter &painter) override |
draw the graph | |
double | getColorMaxBlue () const |
defines maximum color value | |
double | getColorMaxGreen () const |
defines maximum color value | |
double | getColorMaxRed () const |
defines maximum color value | |
double | getColorMinBlue () const |
defines minimum color value | |
double | getColorMinGreen () const |
defines minimum color value | |
double | getColorMinRed () const |
defines minimum color value | |
int | getHeight () const |
height of image in pt | |
void * | getImageBlue () const |
image to plot | |
JKQTFPImageFormat | getImageFormatBlue () const |
format of the image | |
JKQTFPImageFormat | getImageFormatGreen () const |
format of the image | |
JKQTFPImageFormat | getImageFormatRed () const |
format of the image | |
void * | getImageGreen () const |
image to plot | |
void * | getImageRed () const |
image to plot | |
int | getRotation () const |
rotation of the image when plotting in units of 90 degrees (counter clock wise) | |
int | getWidth () const |
width of image in pt | |
double | getXmax () const |
maximum x value of the image | |
double | getXmin () const |
minimum x value of the image | |
double | getYmax () const |
maximum x value of the image | |
double | getYmin () const |
minimum x value of the image | |
void | setHeight (int __value) |
height of image in pt | |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, int width, int height) |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, int width, int height, double xmin, double xmax, double ymin, double ymax) |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, void *imageGreen, JKQTFPImageFormat imageFormatGreen, int width, int height) |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, void *imageGreen, JKQTFPImageFormat imageFormatGreen, int width, int height, double xmin, double xmax, double ymin, double ymax) |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, void *imageGreen, JKQTFPImageFormat imageFormatGreen, void *imageBlue, JKQTFPImageFormat imageFormatBlue, int width, int height) |
void | setImage (void *imageRed, JKQTFPImageFormat imageFormatRed, void *imageGreen, JKQTFPImageFormat imageFormatGreen, void *imageBlue, JKQTFPImageFormat imageFormatBlue, int width, int height, double xmin, double xmax, double ymin, double ymax) |
void | setImageBlue (void *__value, JKQTFPImageFormat __value2) |
sets the properties imageBlue and imageFormatBlue to the specified __value and __value2. | |
void | setImageGreen (void *__value, JKQTFPImageFormat __value2) |
sets the properties imageGreen and imageFormatGreen to the specified __value and __value2. | |
void | setImageRed (void *__value, JKQTFPImageFormat __value2) |
sets the properties imageRed and imageFormatRed to the specified __value and __value2. | |
void | setWidth (int __value) |
width of image in pt | |
void | setXmax (double __value) |
maximum x value of the image | |
void | setXmin (double __value) |
minimum x value of the image | |
void | setYmax (double __value) |
maximum x value of the image | |
void | setYmin (double __value) |
minimum x value of the image | |
Public Member Functions inherited from JKQTFPPlot | |
JKQTFPPlot (JKQTFastPlotter *parent) | |
class constructor | |
virtual | ~JKQTFPPlot () |
virtual class destructor | |
bool | isVisible () const |
returns whether this graph is visible inside the plot | |
void | paint (QPainter &painter) |
draw the graph | |
void | replot () |
start a replot of the parent widget | |
void | setParent (JKQTFastPlotter *parent) |
set the parent of the plot | |
Protected Attributes | |
double | colorMaxBlue |
defines maximum color value | |
double | colorMaxGreen |
defines maximum color value | |
double | colorMaxRed |
defines maximum color value | |
double | colorMinBlue |
defines minimum color value | |
double | colorMinGreen |
defines minimum color value | |
double | colorMinRed |
defines minimum color value | |
int | height |
height of image in pt | |
void * | imageBlue |
image to plot | |
JKQTFPImageFormat | imageFormatBlue |
format of the image | |
JKQTFPImageFormat | imageFormatGreen |
format of the image | |
JKQTFPImageFormat | imageFormatRed |
format of the image | |
void * | imageGreen |
image to plot | |
void * | imageRed |
image to plot | |
int | rotation |
rotation of the image when plotting in units of 90 degrees (counter clock wise) | |
int | width |
width of image in pt | |
double | xmax |
maximum x value of the image | |
double | xmin |
minimum x value of the image | |
double | ymax |
maximum x value of the image | |
double | ymin |
minimum x value of the image | |
Protected Attributes inherited from JKQTFPPlot | |
JKQTFastPlotter * | parent |
parent class, i.e. the plotter to plot on | |
bool | visible |
indicates whether the plot is visible or not | |
plots 1,2 or 3 given grayscale images as an overlay plot, where each channel is drawn as one color channel (e.g. red, green or blue).
JKQTFPRGBImageOverlayPlot::JKQTFPRGBImageOverlayPlot | ( | JKQTFastPlotter * | parent, |
void * | imageRed, | ||
JKQTFPImageFormat | imageFormat, | ||
int | width, | ||
int | height, | ||
double | xmin, | ||
double | xmax, | ||
double | ymin, | ||
double | ymax | ||
) |
class constructor
JKQTFPRGBImageOverlayPlot::JKQTFPRGBImageOverlayPlot | ( | JKQTFastPlotter * | parent, |
void * | imageRed, | ||
JKQTFPImageFormat | imageFormat, | ||
int | width, | ||
int | height | ||
) |
|
explicit |
|
overridevirtual |
draw the graph
Implements JKQTFPPlot.
|
inline |
defines maximum color value
|
inline |
defines maximum color value
|
inline |
defines maximum color value
|
inline |
defines minimum color value
|
inline |
defines minimum color value
|
inline |
defines minimum color value
|
inline |
height of image in pt
|
inline |
image to plot
|
inline |
format of the image
|
inline |
format of the image
|
inline |
format of the image
|
inline |
image to plot
|
inline |
image to plot
|
inline |
rotation of the image when plotting in units of 90 degrees (counter clock wise)
|
inline |
width of image in pt
|
inline |
maximum x value of the image
|
inline |
minimum x value of the image
|
inline |
maximum x value of the image
|
inline |
minimum x value of the image
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inline |
height of image in pt
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
int | width, | ||
int | height | ||
) |
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
int | width, | ||
int | height, | ||
double | xmin, | ||
double | xmax, | ||
double | ymin, | ||
double | ymax | ||
) |
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
void * | imageGreen, | ||
JKQTFPImageFormat | imageFormatGreen, | ||
int | width, | ||
int | height | ||
) |
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
void * | imageGreen, | ||
JKQTFPImageFormat | imageFormatGreen, | ||
int | width, | ||
int | height, | ||
double | xmin, | ||
double | xmax, | ||
double | ymin, | ||
double | ymax | ||
) |
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
void * | imageGreen, | ||
JKQTFPImageFormat | imageFormatGreen, | ||
void * | imageBlue, | ||
JKQTFPImageFormat | imageFormatBlue, | ||
int | width, | ||
int | height | ||
) |
void JKQTFPRGBImageOverlayPlot::setImage | ( | void * | imageRed, |
JKQTFPImageFormat | imageFormatRed, | ||
void * | imageGreen, | ||
JKQTFPImageFormat | imageFormatGreen, | ||
void * | imageBlue, | ||
JKQTFPImageFormat | imageFormatBlue, | ||
int | width, | ||
int | height, | ||
double | xmin, | ||
double | xmax, | ||
double | ymin, | ||
double | ymax | ||
) |
|
inline |
sets the properties imageBlue and imageFormatBlue to the specified __value and __value2.
|
inline |
sets the properties imageGreen and imageFormatGreen to the specified __value and __value2.
|
inline |
sets the properties imageRed and imageFormatRed to the specified __value and __value2.
|
inlineslot |
|
inline |
width of image in pt
|
inline |
maximum x value of the image
|
inline |
minimum x value of the image
|
inline |
maximum x value of the image
|
inline |
minimum x value of the image
|
protected |
defines maximum color value
|
protected |
defines maximum color value
|
protected |
defines maximum color value
|
protected |
defines minimum color value
|
protected |
defines minimum color value
|
protected |
defines minimum color value
|
protected |
height of image in pt
|
protected |
image to plot
|
protected |
format of the image
|
protected |
format of the image
|
protected |
format of the image
|
protected |
image to plot
|
protected |
image to plot
|
protected |
rotation of the image when plotting in units of 90 degrees (counter clock wise)
|
protected |
width of image in pt
|
protected |
maximum x value of the image
|
protected |
minimum x value of the image
|
protected |
maximum x value of the image
|
protected |
minimum x value of the image