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

a plot of a QImage More...

#include <jkqtfastplotter.h>

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

Public Member Functions

 JKQTFPQImagePlot (JKQTFastPlotter *parent, QImage *image)
 JKQTFPQImagePlot (JKQTFastPlotter *parent, QImage *image, double xmin, double xmax, double ymin, double ymax)
 class constructor
virtual void drawGraph (QPainter &painter) override
 draw the graph
QImage * getImage () const
 image to plot
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 setImage (QImage *__value)
 image to plot
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

QImage * image
 image to plot
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

Additional Inherited Members

Public Slots inherited from JKQTFPPlot
void setVisible (bool visible)

Detailed Description

a plot of a QImage

Deprecated
The class JKQTFastPlotter and all its support classes are deprecated and will be removed in future versions.

Constructor & Destructor Documentation

◆ JKQTFPQImagePlot() [1/2]

JKQTFPQImagePlot::JKQTFPQImagePlot ( JKQTFastPlotter * parent,
QImage * image,
double xmin,
double xmax,
double ymin,
double ymax )

class constructor

◆ JKQTFPQImagePlot() [2/2]

JKQTFPQImagePlot::JKQTFPQImagePlot ( JKQTFastPlotter * parent,
QImage * image )

Member Function Documentation

◆ drawGraph()

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

draw the graph

Implements JKQTFPPlot.

◆ getImage()

QImage * JKQTFPQImagePlot::getImage ( ) const
inline

image to plot

◆ getXmax()

double JKQTFPQImagePlot::getXmax ( ) const
inline

maximum x value of the image

◆ getXmin()

double JKQTFPQImagePlot::getXmin ( ) const
inline

minimum x value of the image

◆ getYmax()

double JKQTFPQImagePlot::getYmax ( ) const
inline

maximum x value of the image

◆ getYmin()

double JKQTFPQImagePlot::getYmin ( ) const
inline

minimum x value of the image

◆ setImage()

void JKQTFPQImagePlot::setImage ( QImage * __value)
inline

image to plot

◆ setXmax()

void JKQTFPQImagePlot::setXmax ( double __value)
inline

maximum x value of the image

◆ setXmin()

void JKQTFPQImagePlot::setXmin ( double __value)
inline

minimum x value of the image

◆ setYmax()

void JKQTFPQImagePlot::setYmax ( double __value)
inline

maximum x value of the image

◆ setYmin()

void JKQTFPQImagePlot::setYmin ( double __value)
inline

minimum x value of the image

Member Data Documentation

◆ image

QImage* JKQTFPQImagePlot::image
protected

image to plot

◆ xmax

double JKQTFPQImagePlot::xmax
protected

maximum x value of the image

◆ xmin

double JKQTFPQImagePlot::xmin
protected

minimum x value of the image

◆ ymax

double JKQTFPQImagePlot::ymax
protected

maximum x value of the image

◆ ymin

double JKQTFPQImagePlot::ymin
protected

minimum x value of the image


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