#include <OpenGLImageBox.h>
Public Slots | |
| void | handleLoggedMessage (const QOpenGLDebugMessage &debugMessage) |
Signals | |
| void | drawGraphics () |
Public Member Functions | |
| void | clearColorMap () |
| void | clearImage () |
| int | createColorMap (int numEntriesReq=0, bool Initialise=true) |
| int | createImageCopy (void *pSrcPixelData, unsigned long width, unsigned long height, int format, unsigned short numSigBitsPerSample, int displayMode=IV_DISPLAY_RESET) |
| void | fixBasePosCurr () |
| void | getCentrePoint (int &ICx, int &ICy) |
| Image::ImageBase * | getImageBasePtr () |
| int | getImageFormat () |
| unsigned short | getImageNumSamplesPerPix () |
| int | getImageSample (int x, int y, unsigned short sampleIndex, double &value) |
| int | getNumColorMapEntries () const |
| double | getZoomFactor () |
| GLImageBox (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| double | ICToWC_X (double ImageX) |
| double | ICToWC_Y (double ImageY) |
| unsigned int | pixValToMapIndex (double PixVal) |
| int | pointImageTo (void *pSrcPixelData, unsigned long width, unsigned long height, int format, unsigned short numSigBitsPerSample, bool takeOwnership, int displayMode=IV_DISPLAY_RESET) |
| void | redraw () |
| void | relMoveWC (int WCdx, int WCdy) |
| void | renderText (int x, int y, const QString &str, const QFont &fnt=QFont()) |
| int | setColorMapAlphaValue (int index, float value) |
| int | setColorMapBlueValue (int index, float value) |
| int | setColorMapGreenValue (int index, float value) |
| int | setColorMapRedValue (int index, float value) |
| int | setColorMapRGBAValue (int index, float red, float green, float blue, float alpha=1.0) |
| void | setNormal () |
| void | setZoomFactor (double zoomFactor, bool useCentrePt=false, int ICx=0, int ICy=0) |
| void | stretchToFit () |
| double | WCToIC_X (double WidgetX) |
| double | WCToIC_Y (double WidgetY) |
| void | zoom (int power, bool useCentrePt=false, int ICx=0, int ICy=0) |
| ~GLImageBox () | |
| GLImageBox::GLImageBox | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | f = Qt::WindowFlags() |
||
| ) |
| GLImageBox::~GLImageBox | ( | ) |
| void GLImageBox::clearColorMap | ( | ) |
Referenced by createColorMap().
| void GLImageBox::clearImage | ( | ) |
References clearColorMap().
| int GLImageBox::createImageCopy | ( | void * | pSrcPixelData, |
| unsigned long | width, | ||
| unsigned long | height, | ||
| int | format, | ||
| unsigned short | numSigBitsPerSample, | ||
| int | displayMode = IV_DISPLAY_RESET |
||
| ) |
|
signal |
| void GLImageBox::fixBasePosCurr | ( | ) |
References WCToIC_X(), and WCToIC_Y().
Referenced by setZoomFactor().
| Image::ImageBase * ImageGui::GLImageBox::getImageBasePtr | ( | ) |
| int GLImageBox::getImageFormat | ( | ) |
| unsigned short GLImageBox::getImageNumSamplesPerPix | ( | ) |
| int ImageGui::GLImageBox::getNumColorMapEntries | ( | ) | const |
Referenced by pixValToMapIndex().
| double ImageGui::GLImageBox::getZoomFactor | ( | ) |
|
slot |
| double GLImageBox::ICToWC_X | ( | double | ImageX | ) |
| double GLImageBox::ICToWC_Y | ( | double | ImageY | ) |
| unsigned int GLImageBox::pixValToMapIndex | ( | double | PixVal | ) |
References getNumColorMapEntries().
| int GLImageBox::pointImageTo | ( | void * | pSrcPixelData, |
| unsigned long | width, | ||
| unsigned long | height, | ||
| int | format, | ||
| unsigned short | numSigBitsPerSample, | ||
| bool | takeOwnership, | ||
| int | displayMode = IV_DISPLAY_RESET |
||
| ) |
| void GLImageBox::redraw | ( | ) |
Referenced by draftguitools.gui_trimex.Trimex::trimObject().
References femsolver.elmer.sifio::isValid().
| int GLImageBox::setColorMapRGBAValue | ( | int | index, |
| float | red, | ||
| float | green, | ||
| float | blue, | ||
| float | alpha = 1.0 |
||
| ) |
| void GLImageBox::setNormal | ( | ) |
References setZoomFactor().
| void GLImageBox::setZoomFactor | ( | double | zoomFactor, |
| bool | useCentrePt = false, |
||
| int | ICx = 0, |
||
| int | ICy = 0 |
||
| ) |
References getCentrePoint().
Referenced by setNormal().
| void GLImageBox::stretchToFit | ( | ) |
| double GLImageBox::WCToIC_X | ( | double | WidgetX | ) |
Referenced by getCentrePoint().
| double GLImageBox::WCToIC_Y | ( | double | WidgetY | ) |
Referenced by getCentrePoint().