tlp::glmainwidget(3)
NAME
tlp::GlMainWidget
SYNOPSIS
#include <GlMainWidget.h> Public Slots void draw (bool graphChanged=true) void redraw () void closeEvent (QCloseEvent *e) Signals void closing (GlMainWidget *, QCloseEvent *) void graphRedrawn (GlMainWidget *glWidget, bool graphChanged) Public Member Functions GlMainWidget (QWidget *parent, AbstractView *view=NULL) ~GlMainWidget () void setData (Graph *graph, DataSet dataSet) DataSet getData () void setGraph (Graph *graph) Graph * getGraph () View * getView () tlp::GlScene * getScene () void addForegroundEntity (ForegroundEntity *entity) void doSelect (const int x, const int y, const int width, const int height, std::vector< tlp::node > &sNode, std::vector< tlp::edge > &sEdge, tlp::GlLayer *layer=NULL) select nodes and edges in a region of the screen bool doSelect (const int x, const int y, tlp::ElementType &type, tlp::node &, tlp::edge &, tlp::GlLayer *layer=NULL) select a node or edge at a point select either a node or edge at point (x,y) unsigned char * getImage () bool outputEPS (int size, int doSort, const char *filename) bool outputSVG (int size, const char *filename) bool selectGlEntities (const int x, const int y, const int width, const int height, std::vector< tlp::GlEntity * > &pickedEntities, tlp::GlLayer *layer=NULL) bool selectGlEntities (const int x, const int y, std::vector< tlp::GlEntity * > &pickedEntities, tlp::GlLayer *layer=NULL) virtual QImage grabFrameBuffer (bool withAlpha=false) void setViewLabel (bool viewLabel) virtual void makeCurrent () Static Public Member Functions static QGLWidget * getFirstQGLWidget () Protected Slots void paintEvent (QPaintEvent *)
Author
- Generated automatically by Doxygen for Tulip QT Library from the source
code.