CSol
|
OpenGL Widget class.
#include <widgets/csol_2d_glwidget.h>
Inherits QOpenGLWidget.
Public Slots | |
void | glSlotEditSize (int editSize_) |
void | glSlotEditValue (double editValue_) |
void | glSlotGrabImage () |
void | glSlotInputDraw (bool use) |
void | glSlotInputEdit (bool use) |
void | glSlotInputErase (bool use) |
void | glSlotInputMovement (bool use) |
void | glSlotInputRotation (bool use) |
void | glSlotInputSelection (bool use) |
void | glSlotInputZoom (bool use) |
void | glSlotRedraw () |
void | glSlotSaveEdits () |
void | glSlotSetInspect (bool use) |
void | glSlotSetLayerVisibility (unsigned int, bool) |
void | glSlotSetMeshVisibility (unsigned int, bool) |
void | glSlotSetOrigin (const double, const double) |
void | glSlotSetViewRange (const double, const double, const double, const double) |
void | glSlotUpdateSelection (const double, const double, const double, const double) |
void | glSlotView (unsigned int) |
void | glSlotViewAll () |
void | glSlotViewMove (const double, const double, const double, const double) |
void | glSlotViewSelection () |
void | mapNetFinishedSlot (QNetworkReply *) |
Signals | |
void | glDrawEnd () |
void | glEditsSaved () |
void | glGrabbedImage (QImage) |
void | glLayerAdded (const int, QString, bool) |
void | glMeshAdded (const int, QString, bool) |
void | glUpdatePointSelection (const double, const double) |
void | glUpdateSelection (const double, const double, const double, const double) |
void | glUpdateSelectionEnd () |
void | glUpdateSelectionStart () |
void | glViewMove (const double, const double, const double, const double) |
Public Member Functions | |
GLWidget (QWidget *parent=NULL) | |
GLWidget class. More... | |
~GLWidget () | |
void | addMesh (int, Mesh::MeshModelInterface &, MeshInfo &) |
void | addOverlay (int, QImage &, QString &, int, double) |
void | drawCircle (double, double, double) |
void | drawCross (double, double, double) |
void | drawFilledCircle (double, double, double) |
void | drawFilledTriangle (double, double, double) |
void | drawTriangle (double, double, double) |
void | findTopLayer () |
bool | getUsingMap () |
bool | hasLayers () |
bool | hasMeshes () |
bool | hasOverlays () |
void | makeLayer (LayerInfo &, CSIRO::DataExecution::ObjectArray &, unsigned int, bool) |
void | makeLayer (LayerInfo &, CSIRO::DataExecution::ObjectArray &, CSIRO::DataExecution::ObjectArray &, CSIRO::DataExecution::ObjectArray &, unsigned int, bool) |
void | renderText (double, double, double, const char *) |
void | resetLayers (unsigned int) |
void | resetMap () |
void | resetMeshes () |
void | resetOverlays () |
void | resetTiles (unsigned int) |
double | round100 (double) |
void | setMapImageType (QString mapImageType_) |
void | setMapProjection (QString mapProjection_) |
void | setMapProxy (QString mapProxy_) |
void | setMapProxyPort (int mapProxyPort_) |
void | setMapText (QString mapText_) |
void | setMapTranspose (bool mapTranspose_) |
void | setMapURL (QString mapURL_) |
void | setViewText (QString viewText_) |
QString | timeFormat (REAL) |
bool | zoomToLayer (unsigned int zmin) |
Protected Member Functions | |
void | initializeGL () |
void | keyPressEvent (QKeyEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | paintGL () |
void | resizeGL (int, int) |
void | wheelEvent (QWheelEvent *event) |
GLWidget | ( | QWidget * | parent = NULL | ) |
~GLWidget | ( | ) |
void addMesh | ( | int | , |
Mesh::MeshModelInterface & | , | ||
MeshInfo & | |||
) |
void addOverlay | ( | int | id, |
QImage & | img, | ||
QString & | name, | ||
int | pos, | ||
double | alpha | ||
) |
void drawCircle | ( | double | x, |
double | y, | ||
double | r | ||
) |
void drawCross | ( | double | x, |
double | y, | ||
double | r | ||
) |
void drawFilledCircle | ( | double | x, |
double | y, | ||
double | r | ||
) |
void drawFilledTriangle | ( | double | x, |
double | y, | ||
double | r | ||
) |
void drawTriangle | ( | double | x, |
double | y, | ||
double | r | ||
) |
void findTopLayer | ( | ) |
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
inlineslot |
|
inlineslot |
|
slot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
slot |
|
slot |
|
inlineslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
void makeLayer | ( | LayerInfo & | , |
CSIRO::DataExecution::ObjectArray & | , | ||
unsigned | int, | ||
bool | |||
) |
void makeLayer | ( | LayerInfo & | , |
CSIRO::DataExecution::ObjectArray & | , | ||
CSIRO::DataExecution::ObjectArray & | , | ||
CSIRO::DataExecution::ObjectArray & | , | ||
unsigned | int, | ||
bool | |||
) |
|
slot |
|
protected |
|
protected |
|
protected |
|
protected |
void renderText | ( | double | x, |
double | y, | ||
double | z, | ||
const char * | pText | ||
) |
void resetLayers | ( | unsigned int | zmin | ) |
void resetMap | ( | ) |
void resetMeshes | ( | ) |
void resetOverlays | ( | ) |
void resetTiles | ( | unsigned | int | ) |
|
protected |
double round100 | ( | double | v | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
QString timeFormat | ( | REAL | floatSeconds | ) |
|
protected |
bool zoomToLayer | ( | unsigned int | zmin | ) |