plots a given grayscale image with a given color palette
More...
#include <jkqtfastplotter.h>
|
| | JKQTFPimagePlot (JKQTFastPlotter *parent, void *image, JKQTFPImageFormat imageFormat, int width, int height, double xmin, double xmax, double ymin, double ymax, JKQTFPColorPalette palette=JKQTFP_MATLAB) |
| | class constructor
|
| | JKQTFPimagePlot (JKQTFastPlotter *parent, void *image, JKQTFPImageFormat imageFormat, int width, int height, JKQTFPColorPalette palette=JKQTFP_MATLAB) |
| virtual void | drawGraph (QPainter &painter) override |
| | draw the graph
|
| int | getColorBarWidth () const |
| | color bar width in pt
|
| double | getColorMax () const |
| | defines maximum color value
|
| double | getColorMin () const |
| | defines minimum color value
|
| bool | getDrawColorBar () const |
| | draw color bar
|
| int | getHeight () const |
| | height of image in pt
|
| void * | getImage () const |
| | image to plot
|
| JKQTFPImageFormat | getImageFormat () const |
| | format of the image
|
| JKQTFPColorPalette | getPalette () const |
| | defines the palette to use
|
| 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 | setColorBarWidth (int __value) |
| | color bar width in pt
|
| void | setDrawColorBar (bool __value) |
| | draw color bar
|
| void | setHeight (int __value) |
| | height of image in pt
|
| void | setImage (void *__value) |
| | image to plot
|
| void | setImage (void *image, JKQTFPImageFormat imageFormat, int width, int height) |
| void | setImageFormat (const JKQTFPImageFormat &__value) |
| | format of the image
|
| 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
|
| | 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 a given grayscale image with a given color palette
- 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).
- This class also draws a color bar in the right border of the plot
◆ JKQTFPimagePlot() [1/2]
◆ JKQTFPimagePlot() [2/2]
◆ drawGraph()
| virtual void JKQTFPimagePlot::drawGraph |
( |
QPainter & | painter | ) |
|
|
overridevirtual |
◆ getColorBarWidth()
| int JKQTFPimagePlot::getColorBarWidth |
( |
| ) |
const |
|
inline |
◆ getColorMax()
| double JKQTFPimagePlot::getColorMax |
( |
| ) |
const |
|
inline |
defines maximum color value
◆ getColorMin()
| double JKQTFPimagePlot::getColorMin |
( |
| ) |
const |
|
inline |
defines minimum color value
◆ getDrawColorBar()
| bool JKQTFPimagePlot::getDrawColorBar |
( |
| ) |
const |
|
inline |
◆ getHeight()
| int JKQTFPimagePlot::getHeight |
( |
| ) |
const |
|
inline |
◆ getImage()
| void * JKQTFPimagePlot::getImage |
( |
| ) |
const |
|
inline |
◆ getImageFormat()
◆ getPalette()
defines the palette to use
◆ getRotation()
| int JKQTFPimagePlot::getRotation |
( |
| ) |
const |
|
inline |
rotation of the image when plotting in units of 90 degrees (counter clock wise)
◆ getWidth()
| int JKQTFPimagePlot::getWidth |
( |
| ) |
const |
|
inline |
◆ getXmax()
| double JKQTFPimagePlot::getXmax |
( |
| ) |
const |
|
inline |
maximum x value of the image
◆ getXmin()
| double JKQTFPimagePlot::getXmin |
( |
| ) |
const |
|
inline |
minimum x value of the image
◆ getYmax()
| double JKQTFPimagePlot::getYmax |
( |
| ) |
const |
|
inline |
maximum x value of the image
◆ getYmin()
| double JKQTFPimagePlot::getYmin |
( |
| ) |
const |
|
inline |
minimum x value of the image
◆ setColorBarWidth()
| void JKQTFPimagePlot::setColorBarWidth |
( |
int | __value | ) |
|
|
inline |
◆ setColorMax [1/3]
| void JKQTFPimagePlot::setColorMax |
( |
double | colorMax | ) |
|
|
inlineslot |
◆ setColorMax [2/3]
| void JKQTFPimagePlot::setColorMax |
( |
int | colorMax | ) |
|
|
inlineslot |
◆ setColorMax [3/3]
| void JKQTFPimagePlot::setColorMax |
( |
uint32_t | colorMax | ) |
|
|
inlineslot |
◆ setColorMin [1/3]
| void JKQTFPimagePlot::setColorMin |
( |
double | colorMin | ) |
|
|
inlineslot |
◆ setColorMin [2/3]
| void JKQTFPimagePlot::setColorMin |
( |
int | colorMin | ) |
|
|
inlineslot |
◆ setColorMin [3/3]
| void JKQTFPimagePlot::setColorMin |
( |
uint32_t | colorMin | ) |
|
|
inlineslot |
◆ setDrawColorBar()
| void JKQTFPimagePlot::setDrawColorBar |
( |
bool | __value | ) |
|
|
inline |
◆ setHeight()
| void JKQTFPimagePlot::setHeight |
( |
int | __value | ) |
|
|
inline |
◆ setImage() [1/2]
| void JKQTFPimagePlot::setImage |
( |
void * | __value | ) |
|
|
inline |
◆ setImage() [2/2]
| void JKQTFPimagePlot::setImage |
( |
void * | image, |
|
|
JKQTFPImageFormat | imageFormat, |
|
|
int | width, |
|
|
int | height ) |
|
inline |
◆ setImageFormat()
◆ setPalette [1/2]
| void JKQTFPimagePlot::setPalette |
( |
int | palette | ) |
|
|
inlineslot |
◆ setPalette [2/2]
◆ setRotation
| void JKQTFPimagePlot::setRotation |
( |
int | rotation | ) |
|
|
inlineslot |
◆ setWidth()
| void JKQTFPimagePlot::setWidth |
( |
int | __value | ) |
|
|
inline |
◆ setXmax()
| void JKQTFPimagePlot::setXmax |
( |
double | __value | ) |
|
|
inline |
maximum x value of the image
◆ setXmin()
| void JKQTFPimagePlot::setXmin |
( |
double | __value | ) |
|
|
inline |
minimum x value of the image
◆ setYmax()
| void JKQTFPimagePlot::setYmax |
( |
double | __value | ) |
|
|
inline |
maximum x value of the image
◆ setYmin()
| void JKQTFPimagePlot::setYmin |
( |
double | __value | ) |
|
|
inline |
minimum x value of the image
◆ colorBarWidth
| int JKQTFPimagePlot::colorBarWidth |
|
protected |
◆ colorMax
| double JKQTFPimagePlot::colorMax |
|
protected |
defines maximum color value
◆ colorMin
| double JKQTFPimagePlot::colorMin |
|
protected |
defines minimum color value
◆ drawColorBar
| bool JKQTFPimagePlot::drawColorBar |
|
protected |
◆ height
| int JKQTFPimagePlot::height |
|
protected |
◆ image
| void* JKQTFPimagePlot::image |
|
protected |
◆ imageFormat
◆ palette
defines the palette to use
◆ rotation
| int JKQTFPimagePlot::rotation |
|
protected |
rotation of the image when plotting in units of 90 degrees (counter clock wise)
◆ width
| int JKQTFPimagePlot::width |
|
protected |
◆ xmax
| double JKQTFPimagePlot::xmax |
|
protected |
maximum x value of the image
◆ xmin
| double JKQTFPimagePlot::xmin |
|
protected |
minimum x value of the image
◆ ymax
| double JKQTFPimagePlot::ymax |
|
protected |
maximum x value of the image
◆ ymin
| double JKQTFPimagePlot::ymin |
|
protected |
minimum x value of the image
The documentation for this class was generated from the following file: