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
Loading...
Searching...
No Matches

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>

Inheritance diagram for JKQTFPRGBImageOverlayPlot:
[legend]
Collaboration diagram for JKQTFPRGBImageOverlayPlot:
[legend]

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
JKQTFastPlotterparent
 parent class, i.e. the plotter to plot on
 
bool visible
 indicates whether the plot is visible or not
 

Detailed Description

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).

Deprecated:
The class JKQTFastPlotter and all its support classes are deprecated and will be removed in future versions.
  • This plot may plot any 2D array of data (8-, 16-, 32-bit integer images, float and double).
  • The images all have to have the same size

Constructor & Destructor Documentation

◆ JKQTFPRGBImageOverlayPlot() [1/3]

JKQTFPRGBImageOverlayPlot::JKQTFPRGBImageOverlayPlot ( JKQTFastPlotter parent,
void *  imageRed,
JKQTFPImageFormat  imageFormat,
int  width,
int  height,
double  xmin,
double  xmax,
double  ymin,
double  ymax 
)

class constructor

◆ JKQTFPRGBImageOverlayPlot() [2/3]

JKQTFPRGBImageOverlayPlot::JKQTFPRGBImageOverlayPlot ( JKQTFastPlotter parent,
void *  imageRed,
JKQTFPImageFormat  imageFormat,
int  width,
int  height 
)

◆ JKQTFPRGBImageOverlayPlot() [3/3]

JKQTFPRGBImageOverlayPlot::JKQTFPRGBImageOverlayPlot ( JKQTFastPlotter parent)
explicit

Member Function Documentation

◆ drawGraph()

virtual void JKQTFPRGBImageOverlayPlot::drawGraph ( QPainter &  painter)
overridevirtual

draw the graph

Implements JKQTFPPlot.

◆ getColorMaxBlue()

double JKQTFPRGBImageOverlayPlot::getColorMaxBlue ( ) const
inline

defines maximum color value

◆ getColorMaxGreen()

double JKQTFPRGBImageOverlayPlot::getColorMaxGreen ( ) const
inline

defines maximum color value

◆ getColorMaxRed()

double JKQTFPRGBImageOverlayPlot::getColorMaxRed ( ) const
inline

defines maximum color value

◆ getColorMinBlue()

double JKQTFPRGBImageOverlayPlot::getColorMinBlue ( ) const
inline

defines minimum color value

◆ getColorMinGreen()

double JKQTFPRGBImageOverlayPlot::getColorMinGreen ( ) const
inline

defines minimum color value

◆ getColorMinRed()

double JKQTFPRGBImageOverlayPlot::getColorMinRed ( ) const
inline

defines minimum color value

◆ getHeight()

int JKQTFPRGBImageOverlayPlot::getHeight ( ) const
inline

height of image in pt

◆ getImageBlue()

void * JKQTFPRGBImageOverlayPlot::getImageBlue ( ) const
inline

image to plot

◆ getImageFormatBlue()

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::getImageFormatBlue ( ) const
inline

format of the image

◆ getImageFormatGreen()

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::getImageFormatGreen ( ) const
inline

format of the image

◆ getImageFormatRed()

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::getImageFormatRed ( ) const
inline

format of the image

◆ getImageGreen()

void * JKQTFPRGBImageOverlayPlot::getImageGreen ( ) const
inline

image to plot

◆ getImageRed()

void * JKQTFPRGBImageOverlayPlot::getImageRed ( ) const
inline

image to plot

◆ getRotation()

int JKQTFPRGBImageOverlayPlot::getRotation ( ) const
inline

rotation of the image when plotting in units of 90 degrees (counter clock wise)

◆ getWidth()

int JKQTFPRGBImageOverlayPlot::getWidth ( ) const
inline

width of image in pt

◆ getXmax()

double JKQTFPRGBImageOverlayPlot::getXmax ( ) const
inline

maximum x value of the image

◆ getXmin()

double JKQTFPRGBImageOverlayPlot::getXmin ( ) const
inline

minimum x value of the image

◆ getYmax()

double JKQTFPRGBImageOverlayPlot::getYmax ( ) const
inline

maximum x value of the image

◆ getYmin()

double JKQTFPRGBImageOverlayPlot::getYmin ( ) const
inline

minimum x value of the image

◆ setColorMaxBlue [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxBlue ( double  colorMax)
inlineslot

◆ setColorMaxBlue [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxBlue ( int  colorMax)
inlineslot

◆ setColorMaxBlue [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxBlue ( uint32_t  colorMax)
inlineslot

◆ setColorMaxGreen [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxGreen ( double  colorMax)
inlineslot

◆ setColorMaxGreen [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxGreen ( int  colorMax)
inlineslot

◆ setColorMaxGreen [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxGreen ( uint32_t  colorMax)
inlineslot

◆ setColorMaxRed [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxRed ( double  colorMax)
inlineslot

◆ setColorMaxRed [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxRed ( int  colorMax)
inlineslot

◆ setColorMaxRed [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMaxRed ( uint32_t  colorMax)
inlineslot

◆ setColorMinBlue [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMinBlue ( double  colorMin)
inlineslot

◆ setColorMinBlue [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMinBlue ( int  colorMin)
inlineslot

◆ setColorMinBlue [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMinBlue ( uint32_t  colorMin)
inlineslot

◆ setColorMinGreen [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMinGreen ( double  colorMin)
inlineslot

◆ setColorMinGreen [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMinGreen ( int  colorMin)
inlineslot

◆ setColorMinGreen [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMinGreen ( uint32_t  colorMin)
inlineslot

◆ setColorMinRed [1/3]

void JKQTFPRGBImageOverlayPlot::setColorMinRed ( double  colorMin)
inlineslot

◆ setColorMinRed [2/3]

void JKQTFPRGBImageOverlayPlot::setColorMinRed ( int  colorMin)
inlineslot

◆ setColorMinRed [3/3]

void JKQTFPRGBImageOverlayPlot::setColorMinRed ( uint32_t  colorMin)
inlineslot

◆ setHeight()

void JKQTFPRGBImageOverlayPlot::setHeight ( int  __value)
inline

height of image in pt

◆ setImage() [1/6]

void JKQTFPRGBImageOverlayPlot::setImage ( void *  imageRed,
JKQTFPImageFormat  imageFormatRed,
int  width,
int  height 
)

◆ setImage() [2/6]

void JKQTFPRGBImageOverlayPlot::setImage ( void *  imageRed,
JKQTFPImageFormat  imageFormatRed,
int  width,
int  height,
double  xmin,
double  xmax,
double  ymin,
double  ymax 
)

◆ setImage() [3/6]

void JKQTFPRGBImageOverlayPlot::setImage ( void *  imageRed,
JKQTFPImageFormat  imageFormatRed,
void *  imageGreen,
JKQTFPImageFormat  imageFormatGreen,
int  width,
int  height 
)

◆ setImage() [4/6]

void JKQTFPRGBImageOverlayPlot::setImage ( void *  imageRed,
JKQTFPImageFormat  imageFormatRed,
void *  imageGreen,
JKQTFPImageFormat  imageFormatGreen,
int  width,
int  height,
double  xmin,
double  xmax,
double  ymin,
double  ymax 
)

◆ setImage() [5/6]

void JKQTFPRGBImageOverlayPlot::setImage ( void *  imageRed,
JKQTFPImageFormat  imageFormatRed,
void *  imageGreen,
JKQTFPImageFormat  imageFormatGreen,
void *  imageBlue,
JKQTFPImageFormat  imageFormatBlue,
int  width,
int  height 
)

◆ setImage() [6/6]

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 
)

◆ setImageBlue()

void JKQTFPRGBImageOverlayPlot::setImageBlue ( void *  __value,
JKQTFPImageFormat  __value2 
)
inline

sets the properties imageBlue and imageFormatBlue to the specified __value and __value2.

See also
imageBlue, imageFormatBlue

◆ setImageGreen()

void JKQTFPRGBImageOverlayPlot::setImageGreen ( void *  __value,
JKQTFPImageFormat  __value2 
)
inline

sets the properties imageGreen and imageFormatGreen to the specified __value and __value2.

See also
imageGreen, imageFormatGreen

◆ setImageRed()

void JKQTFPRGBImageOverlayPlot::setImageRed ( void *  __value,
JKQTFPImageFormat  __value2 
)
inline

sets the properties imageRed and imageFormatRed to the specified __value and __value2.

See also
imageRed, imageFormatRed

◆ setRotation

void JKQTFPRGBImageOverlayPlot::setRotation ( int  rotation)
inlineslot

◆ setWidth()

void JKQTFPRGBImageOverlayPlot::setWidth ( int  __value)
inline

width of image in pt

◆ setXmax()

void JKQTFPRGBImageOverlayPlot::setXmax ( double  __value)
inline

maximum x value of the image

◆ setXmin()

void JKQTFPRGBImageOverlayPlot::setXmin ( double  __value)
inline

minimum x value of the image

◆ setYmax()

void JKQTFPRGBImageOverlayPlot::setYmax ( double  __value)
inline

maximum x value of the image

◆ setYmin()

void JKQTFPRGBImageOverlayPlot::setYmin ( double  __value)
inline

minimum x value of the image

Member Data Documentation

◆ colorMaxBlue

double JKQTFPRGBImageOverlayPlot::colorMaxBlue
protected

defines maximum color value

◆ colorMaxGreen

double JKQTFPRGBImageOverlayPlot::colorMaxGreen
protected

defines maximum color value

◆ colorMaxRed

double JKQTFPRGBImageOverlayPlot::colorMaxRed
protected

defines maximum color value

◆ colorMinBlue

double JKQTFPRGBImageOverlayPlot::colorMinBlue
protected

defines minimum color value

◆ colorMinGreen

double JKQTFPRGBImageOverlayPlot::colorMinGreen
protected

defines minimum color value

◆ colorMinRed

double JKQTFPRGBImageOverlayPlot::colorMinRed
protected

defines minimum color value

◆ height

int JKQTFPRGBImageOverlayPlot::height
protected

height of image in pt

◆ imageBlue

void* JKQTFPRGBImageOverlayPlot::imageBlue
protected

image to plot

◆ imageFormatBlue

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::imageFormatBlue
protected

format of the image

◆ imageFormatGreen

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::imageFormatGreen
protected

format of the image

◆ imageFormatRed

JKQTFPImageFormat JKQTFPRGBImageOverlayPlot::imageFormatRed
protected

format of the image

◆ imageGreen

void* JKQTFPRGBImageOverlayPlot::imageGreen
protected

image to plot

◆ imageRed

void* JKQTFPRGBImageOverlayPlot::imageRed
protected

image to plot

◆ rotation

int JKQTFPRGBImageOverlayPlot::rotation
protected

rotation of the image when plotting in units of 90 degrees (counter clock wise)

◆ width

int JKQTFPRGBImageOverlayPlot::width
protected

width of image in pt

◆ xmax

double JKQTFPRGBImageOverlayPlot::xmax
protected

maximum x value of the image

◆ xmin

double JKQTFPRGBImageOverlayPlot::xmin
protected

minimum x value of the image

◆ ymax

double JKQTFPRGBImageOverlayPlot::ymax
protected

maximum x value of the image

◆ ymin

double JKQTFPRGBImageOverlayPlot::ymin
protected

minimum x value of the image


The documentation for this class was generated from the following file: