FACT++  1.0
Q3DCameraWidget Class Reference

#include <Q3DCameraWidget.h>

+ Inheritance diagram for Q3DCameraWidget:
+ Collaboration diagram for Q3DCameraWidget:

Public Slots

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

Public Member Functions

 Q3DCameraWidget (QWidget *pparent=0)
 
 ~Q3DCameraWidget ()
 
void setData (float *data)
 
void setData (short *data)
 
- 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)
 

Protected Member Functions

void paintGL ()
 
void initializeGL ()
 
void resizeGL (int cWidth, int cHeight)
 
void drawCameraBody ()
 
void mousePressEvent (QMouseEvent *event)
 
void mouseDoubleClickEvent (QMouseEvent *cEvent)
 
void mouseMoveEvent (QMouseEvent *cEvent)
 
- Protected Member Functions inherited from BasicGlCamera
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

float rotX
 
float rotY
 
- 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
 

Private Member Functions

void calculateColorsAndPositions ()
 

Private Attributes

cameraLocation currentLoc
 
vector< short > _data
 
vector< float > _colorR
 
vector< float > _colorG
 
vector< float > _colorB
 
vector< float > _x
 
vector< float > _y
 
vector< float > _z
 
QTimer _timer
 
bool isPicking
 
bool _warningWritten
 

Additional Inherited Members

- Signals inherited from BasicGlCamera
void signalCurrentPixel (int pixel)
 
void signalPixelMoveOver (int pixel)
 
void signalPixelDoubleClick (int pixel)
 
void colorPaletteHasChanged ()
 
void signalUpdateCamera ()
 
- 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]
 
- Static Public Attributes inherited from BasicGlCamera
static PixelMap fPixelMap
 
static int pixelsPatch [NPIX]
 
- 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< edgepatchesIndices [160]
 
static int verticesIndices [NPIX][6]
 
static int softwareMapping [NPIX]
 

Detailed Description

Definition at line 43 of file Q3DCameraWidget.h.


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