plots an image overlay, i.e. a boolean image where each true
pixel is drawn with a given color and the false
pixels are transparent
More...
#include <jkqtfastplotter.h>
|
| JKQTFPimageOverlayPlot (JKQTFastPlotter *parent, bool *image, int width, int height, double xmin, double xmax, double ymin, double ymax, QColor color=QColor("red")) |
| class constructor
|
|
| JKQTFPimageOverlayPlot (JKQTFastPlotter *parent, bool *image, int width, int height, QColor color=QColor("red")) |
|
virtual void | drawGraph (QPainter &painter) override |
| draw the graph
|
|
QColor | getColor () const |
| color of the overlay pixels
|
|
int | getHeight () const |
| height of image in pt
|
|
bool * | getImage () const |
| image to plot
|
|
int | getRotation () const |
| rotation of the image when plotting in units of 90 degrees
|
|
bool | getShowAsSymbols () const |
|
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 | setData (bool *image, int width, int height) |
|
void | setShowAsSymbols (bool __value) |
|
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
|
|
| 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
|
|
plots an image overlay, i.e. a boolean image where each true
pixel is drawn with a given color and the false
pixels are transparent
- Deprecated:
- The class JKQTFastPlotter and all its support classes are deprecated and will be removed in future versions.
◆ SymbolType
Enumerator |
---|
stCircle | |
stRectangle | |
◆ JKQTFPimageOverlayPlot() [1/2]
JKQTFPimageOverlayPlot::JKQTFPimageOverlayPlot |
( |
JKQTFastPlotter * |
parent, |
|
|
bool * |
image, |
|
|
int |
width, |
|
|
int |
height, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
QColor |
color = QColor("red") |
|
) |
| |
◆ JKQTFPimageOverlayPlot() [2/2]
JKQTFPimageOverlayPlot::JKQTFPimageOverlayPlot |
( |
JKQTFastPlotter * |
parent, |
|
|
bool * |
image, |
|
|
int |
width, |
|
|
int |
height, |
|
|
QColor |
color = QColor("red") |
|
) |
| |
◆ drawGraph()
virtual void JKQTFPimageOverlayPlot::drawGraph |
( |
QPainter & |
painter | ) |
|
|
overridevirtual |
◆ getColor()
QColor JKQTFPimageOverlayPlot::getColor |
( |
| ) |
const |
|
inline |
color of the overlay pixels
◆ getHeight()
int JKQTFPimageOverlayPlot::getHeight |
( |
| ) |
const |
|
inline |
◆ getImage()
bool * JKQTFPimageOverlayPlot::getImage |
( |
| ) |
const |
|
inline |
◆ getRotation()
int JKQTFPimageOverlayPlot::getRotation |
( |
| ) |
const |
|
inline |
rotation of the image when plotting in units of 90 degrees
◆ getShowAsSymbols()
bool JKQTFPimageOverlayPlot::getShowAsSymbols |
( |
| ) |
const |
|
inline |
◆ getWidth()
int JKQTFPimageOverlayPlot::getWidth |
( |
| ) |
const |
|
inline |
◆ getXmax()
double JKQTFPimageOverlayPlot::getXmax |
( |
| ) |
const |
|
inline |
maximum x value of the image
◆ getXmin()
double JKQTFPimageOverlayPlot::getXmin |
( |
| ) |
const |
|
inline |
minimum x value of the image
◆ getYmax()
double JKQTFPimageOverlayPlot::getYmax |
( |
| ) |
const |
|
inline |
maximum x value of the image
◆ getYmin()
double JKQTFPimageOverlayPlot::getYmin |
( |
| ) |
const |
|
inline |
minimum x value of the image
◆ setColor
void JKQTFPimageOverlayPlot::setColor |
( |
QColor |
color | ) |
|
|
inlineslot |
◆ setData()
void JKQTFPimageOverlayPlot::setData |
( |
bool * |
image, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ setRotation
void JKQTFPimageOverlayPlot::setRotation |
( |
int |
rotation | ) |
|
|
inlineslot |
◆ setShowAsSymbols()
void JKQTFPimageOverlayPlot::setShowAsSymbols |
( |
bool |
__value | ) |
|
|
inline |
◆ setXmax()
void JKQTFPimageOverlayPlot::setXmax |
( |
double |
__value | ) |
|
|
inline |
maximum x value of the image
◆ setXmin()
void JKQTFPimageOverlayPlot::setXmin |
( |
double |
__value | ) |
|
|
inline |
minimum x value of the image
◆ setYmax()
void JKQTFPimageOverlayPlot::setYmax |
( |
double |
__value | ) |
|
|
inline |
maximum x value of the image
◆ setYmin()
void JKQTFPimageOverlayPlot::setYmin |
( |
double |
__value | ) |
|
|
inline |
minimum x value of the image
◆ color
QColor JKQTFPimageOverlayPlot::color |
|
protected |
color of the overlay pixels
◆ height
int JKQTFPimageOverlayPlot::height |
|
protected |
◆ image
bool* JKQTFPimageOverlayPlot::image |
|
protected |
◆ linewidth
double JKQTFPimageOverlayPlot::linewidth |
|
protected |
◆ rotation
int JKQTFPimageOverlayPlot::rotation |
|
protected |
rotation of the image when plotting in units of 90 degrees
◆ showAsSymbols
bool JKQTFPimageOverlayPlot::showAsSymbols |
|
protected |
◆ symboltype
◆ width
int JKQTFPimageOverlayPlot::width |
|
protected |
◆ xmax
double JKQTFPimageOverlayPlot::xmax |
|
protected |
maximum x value of the image
◆ xmin
double JKQTFPimageOverlayPlot::xmin |
|
protected |
minimum x value of the image
◆ ymax
double JKQTFPimageOverlayPlot::ymax |
|
protected |
maximum x value of the image
◆ ymin
double JKQTFPimageOverlayPlot::ymin |
|
protected |
minimum x value of the image
The documentation for this class was generated from the following file: