FACT++  1.0
BasicGlCamera Class Reference

#include <BasicGlCamera.h>

+ Inheritance diagram for BasicGlCamera:
+ Collaboration diagram for BasicGlCamera:

Public Slots

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 ()


void signalCurrentPixel (int pixel)
void signalPixelMoveOver (int pixel)
void signalPixelDoubleClick (int pixel)
void colorPaletteHasChanged ()
void signalUpdateCamera ()

Public Member Functions

 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

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]

Static Public Attributes

static PixelMap fPixelMap
static int pixelsPatch [NPIX]

Protected Member Functions

virtual void initializeGL ()
virtual void resizeGL (int width, int height)
virtual void paintGL ()
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mouseDoubleClickEvent (QMouseEvent *event)
virtual void drawCamera (bool alsoWire)
virtual void drawPatches ()
virtual void setPatchColor (int id, float color[3])
virtual int PixelAtPosition (const QPoint &pos)
virtual void DrawCameraText ()
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

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

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< edgepatchesIndices [160]
static int verticesIndices [NPIX][6]
static int softwareMapping [NPIX]

Private Member Functions

void skipPixels (int start, int howMany)

Private Attributes

float hexRadius
float hexTolerance
int numVertices

Detailed Description

Definition at line 42 of file BasicGlCamera.h.

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