FACT++
1.0
|
#include <QCameraWidget.h>
Public Member Functions | |
void | highlightPixel (int idx, bool highlight=true) |
void | highlightPatch (int idx, bool highlight=true) |
void | clearHighlightedPatches () |
void | clearHighlightedPixels () |
QCameraWidget (QWidget *pparent=0) | |
void | paintGL () |
void | mousePressEvent (QMouseEvent *cEvent) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | Reset () |
void | drawCamera (bool alsoWire) |
void | DrawCameraText () |
void | drawPatches () |
void | SetEnable (int idx, bool b) |
double | GetData (int idx) |
const char * | GetName () |
int | GetIdx (float px, float py) |
char * | GetObjectInfo (int px, int py) |
void | SetData (const std::valarray< double > &ddata) |
void | SetData (const std::valarray< float > &ddata) |
void | ShowPixelCursor (bool) |
void | ShowPatchCursor (bool) |
Public Member Functions inherited from BasicGlCamera | |
BasicGlCamera (QWidget *parent=0) | |
~BasicGlCamera () | |
void | setAutoscaleLowerLimit (float) |
void | setUnits (const std::string &units) |
void | setTitle (const std::string &title) |
void | SetWhite (int idx) |
void | SetMin (int64_t min) |
void | SetMax (int64_t max) |
void | SetAutoRefresh (bool on) |
void | updateCamera () |
void | assignPixelMap (const PixelMap &) |
void | enableText (bool) |
Public Attributes | |
bool | fDrawPatch |
Public Attributes inherited from BasicGlCamera | |
int | fWhite |
int | fWhitePatch |
int64_t | fMin |
int64_t | fMax |
float | fScaleLimit |
int | fTextSize |
bool | pixelColorUpToDate |
GLfloat | patchColour [3] |
GLfloat | pixelContourColour [3] |
GLfloat | patchesCoulour [3] |
GLfloat | highlightedPatchesCoulour [3] |
GLfloat | highlightedPixelsCoulour [3] |
GLfloat | tooHighValueCoulour [3] |
GLfloat | tooLowValueCoulour [3] |
std::string | dataText |
std::string | unitsText |
std::string | titleText |
bool | fTextEnabled |
float | ss [5] |
float | rr [5] |
float | gg [5] |
float | bb [5] |
Private Types | |
typedef std::pair< double, double > | Position |
typedef std::vector< Position > | Positions |
Private Member Functions | |
void | CalculatePixelsColor () |
void | CalculatePatchColor () |
Private Attributes | |
Positions | fGeom |
std::vector< bool > | fBold |
std::vector< bool > | fEnable |
std::vector< int > | highlightedPatches |
std::vector< int > | highlightedPixels |
int | lastFace |
bool | fShowPixelMoveOver |
bool | fShowPatchMoveOver |
Additional Inherited Members | |
Public Slots inherited from BasicGlCamera | |
void | linearScalePlease (bool) |
void | logScalePlease (bool) |
void | regularPalettePlease (bool) |
void | prettyPalettePlease (bool) |
void | greyScalePalettePlease (bool) |
void | glowingPalettePlease (bool) |
void | zeroRotationPlease (bool) |
void | plus90RotationPlease (bool) |
void | minus90RotationPlease (bool) |
void | timedUpdate () |
Signals inherited from BasicGlCamera | |
void | signalCurrentPixel (int pixel) |
void | signalPixelMoveOver (int pixel) |
void | signalPixelDoubleClick (int pixel) |
void | colorPaletteHasChanged () |
void | signalUpdateCamera () |
Static Public Attributes inherited from BasicGlCamera | |
static PixelMap | fPixelMap |
static int | pixelsPatch [NPIX] |
Protected Member Functions inherited from BasicGlCamera | |
virtual void | initializeGL () |
virtual void | resizeGL (int width, int height) |
virtual void | setPatchColor (int id, float color[3]) |
virtual int | PixelAtPosition (const QPoint &pos) |
void | drawHexagon (int index, bool solid) |
virtual void | UpdateText () |
void | DrawScale () |
void | toggleInterfaceDisplay () |
void | buildVerticesList () |
virtual void | buildPatchesIndices () |
void | updateNeighbors (int currentPixel) |
void | calculatePixelsCoords () |
Protected Attributes inherited from BasicGlCamera | |
int | fPixelStride |
int | fcSlice |
std::vector< double > | fData |
GLfloat | pixelsColor [NPIX][3] |
float | shownSizex |
float | shownSizey |
float | pixelSize |
QRadioButton * | linearButton |
QRadioButton * | logButton |
QRadioButton * | regularPaletteButton |
QRadioButton * | prettyPaletteButton |
QRadioButton * | greyScalePaletteButton |
QRadioButton * | glowingPaletteButton |
QRadioButton * | zeroRotationButton |
QRadioButton * | minus90RotationButton |
QRadioButton * | plus90Rotationbutton |
QLabel * | scaleLabel |
QLabel * | colorPaletteLabel |
QLabel * | rotationLabel |
QButtonGroup * | scaleGroup |
QButtonGroup * | colorGroup |
QButtonGroup * | rotationGroup |
bool | logScale |
int | cameraRotation |
float | viewSize |
bool | autoRefresh |
float | fmin |
float | fmax |
float | fmean |
float | frms |
float | fmedian |
Static Protected Attributes inherited from BasicGlCamera | |
static GLfloat | pixelsCoords [MAX_NUM_PIXELS][3] |
static PixelsNeighbors | neighbors [MAX_NUM_PIXELS] |
static int | hardwareMapping [NPIX] |
static GLfloat | verticesList [NPIX *6][2] |
static std::vector< edge > | patchesIndices [160] |
static int | verticesIndices [NPIX][6] |
static int | softwareMapping [NPIX] |
Definition at line 8 of file QCameraWidget.h.