void tlp::GlMainWidget::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 tlp::GlMainWidget::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 * tlp::GlMainWidget::getImage ()
bool tlp::GlMainWidget::outputEPS (int size, int doSort, const char *filename)
bool tlp::GlMainWidget::selectGlEntities (const int x, const int y, const int width, const int height, std::vector< tlp::GlEntity * > &pickedEntities, tlp::GlLayer *layer=NULL)
bool tlp::GlMainWidget::selectGlEntities (const int x, const int y, std::vector< tlp::GlEntity * > &pickedEntities, tlp::GlLayer *layer=NULL)
void tlp::GlMainWidget::addForegroundEntity (ForegroundEntity * entity) [inline, inherited]add a foregroundEntity to this GlMainWidget
QColor tlp::TulipTableWidget::backgroundColor (const int row) const [inherited]
bool tlp::GlMainWidget::doSelect (const int x, const int y, tlp::ElementType & type, tlp::node &, tlp::edge &, tlp::GlLayer * layer = NULL) [inherited]
select a node or edge at a point select either a node or edge at point (x,y) Parameters:
type tells what has been found: NODE, EDGE
Returns:
true if something has been found, false otherwise
void tlp::GlMainWidget::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) [inherited]
select nodes and edges in a region of the screen select all nodes and edges lying in the area of the screen of given width and height, and with its upper-left corner at (x,y)
Parameters:
sNode filled by the method with the nodes found in the region
sEdge filled by the method with the edges found in the region
virtual QImage tlp::GlMainWidget::grabFrameBuffer (bool withAlpha = false) [virtual, inherited]Grab the image of this widget
virtual void tlp::GlMainWidget::makeCurrent () [virtual, inherited]Extend makeCurrent function of QGLWidget to inform TextureManager and DisplayListManager of context changement
bool tlp::GlMainWidget::selectGlEntities (const int x, const int y, std::vector< tlp::GlEntity * > & pickedEntities, tlp::GlLayer * layer = NULL) [inherited]Function to do picking on entities. It just calls selectEntities on the GlScene instance with a small window of twelve pixels.
bool tlp::GlMainWidget::selectGlEntities (const int x, const int y, const int width, const int height, std::vector< tlp::GlEntity * > & pickedEntities, tlp::GlLayer * layer = NULL) [inherited]Function to do picking on entities. It just calls selectEntities on the GlScene instance.
void tlp::GlMainWidget::setData (Graph * graph, DataSet dataSet) [inherited]Set graph and data of GlMainWidget
void tlp::GlMainWidget::setGraph (Graph * graph) [inherited]Set the graph
void tlp::TulipTableWidget::setTulipEdgeItem (const PropertyInterface *, const std::string propertyName, const edge &, const int row, const int col) [inherited]
void tlp::TulipTableWidget::setTulipNodeItem (const PropertyInterface *, const std::string propertyName, const node &, const int row, const int col) [inherited]
void tlp::GlMainWidget::setViewLabel (bool viewLabel) [inline, inherited]set if the label is rendered in this widget
void tlp::GlMainWidget::draw (bool graphChanged = true) [slot, inherited]Draw the graph, the augmented dispaly and the interactors
void tlp::GlMainWidget::redraw () [slot, inherited]That function is given for optimisation purpose. If the hardware enable it, it enables to redraw only the Augmented display and the interactors and not the graph it is really usefull for interactors such as zoom box etc.. Warning, if you change the graph or the porperties of element (Colors, size, etc...) applying that fonction will not display the change, in that case, use the draw function.