Tulip_Widgets
Classes
Functions
- tlp::GlMainWidget::GlMainWidget (QWidget *parent, AbstractView *view=NULL)
- tlp::GlMainWidget::~GlMainWidget ()
- void tlp::GlMainWidget::setData (Graph *graph, DataSet dataSet)
- DataSet tlp::GlMainWidget::getData ()
- void tlp::GlMainWidget::setGraph (Graph *graph)
- Graph * tlp::GlMainWidget::getGraph ()
- View * tlp::GlMainWidget::getView ()
- tlp::GlScene * tlp::GlMainWidget::getScene ()
- void tlp::GlMainWidget::addForegroundEntity (ForegroundEntity *entity)
- 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::outputSVG (int size, const char *filename)
- static void tlp::GlMainWidget::getTextureRealSize (int width, int height, int &textureRealWidth, int &textureRealHeight)
- void tlp::GlMainWidget::getTextureShift (int width, int height, float &xTextureShift, float &yTextureShift)
- QGLFramebufferObject * tlp::GlMainWidget::createTexture (const std::string &textureName, int width, int height)
- void tlp::GlMainWidget::createPicture (const std::string &pictureName, int width, int height, bool center=true)
- 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)
- virtual QImage tlp::GlMainWidget::grabFrameBuffer (bool withAlpha=false)
- void tlp::GlMainWidget::setViewLabel (bool viewLabel)
- virtual void tlp::GlMainWidget::makeCurrent ()
- void tlp::GlMainWidget::resizeGL (int w, int h)
- void tlp::GlMainWidget::computeInteractors ()
- void tlp::GlMainWidget::drawInteractors ()
- void tlp::GlMainWidget::drawForegroundEntities ()
- void tlp::GlMainWidget::useHulls (bool hasHulls)
- bool tlp::GlMainWidget::hasHulls () const
- static QGLWidget * tlp::GlMainWidget::getFirstQGLWidget ()
- tlp::GWOverviewWidget::~GWOverviewWidget ()
- bool tlp::GWOverviewWidget::eventFilter (QObject *, QEvent *)
- GlMainWidget * tlp::GWOverviewWidget::getObservedView ()
- GlMainWidget * tlp::GWOverviewWidget::getView ()
- void tlp::GWOverviewWidget::setDrawIfNotVisible (bool drawIfNotVisible)
- tlp::TulipTableWidget::TulipTableWidget (QWidget *, const char *)
- tlp::TulipTableWidget::~TulipTableWidget ()
- void tlp::TulipTableWidget::setTulipNodeItem (const PropertyInterface *, const std::string propertyName, const node &, const int row, const int col)
- QString tlp::TulipTableWidget::getTulipNodeValue (const int row, const int col) const
- void tlp::TulipTableWidget::setTulipEdgeItem (const PropertyInterface *, const std::string propertyName, const edge &, const int row, const int col)
- QString tlp::TulipTableWidget::getTulipEdgeValue (const int row, const int col) const
- QColor tlp::TulipTableWidget::getBackColor1 () const
- QColor tlp::TulipTableWidget::getBackColor2 () const
- bool tlp::TulipTableWidget::getUpdateColumnTitle () const
- QColor tlp::TulipTableWidget::backgroundColor (const int row) const
Function Documentation
void tlp::GlMainWidget::addForegroundEntity |
( |
ForegroundEntity * |
entity |
) |
[inline, inherited] |
|
QColor tlp::TulipTableWidget::backgroundColor |
( |
const int |
row |
) |
const [inherited] |
|
void tlp::GlMainWidget::computeInteractors |
( |
|
) |
[inherited] |
|
|
Compute interactors before drawing |
void tlp::GlMainWidget::createPicture |
( |
const std::string & |
pictureName, |
|
|
int |
width, |
|
|
int |
height, |
|
|
bool |
center = true |
|
) |
[inherited] |
|
|
Take a snapshot of the Widget and put it in a picture |
QGLFramebufferObject* tlp::GlMainWidget::createTexture |
( |
const std::string & |
textureName, |
|
|
int |
width, |
|
|
int |
height |
|
) |
[inherited] |
|
|
Take a snapshot of the Widget and put it in an OpenGl texture |
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 |
|
void tlp::GlMainWidget::drawForegroundEntities |
( |
|
) |
[inherited] |
|
void tlp::GlMainWidget::drawInteractors |
( |
|
) |
[inherited] |
|
bool tlp::GWOverviewWidget::eventFilter |
( |
QObject * |
, |
|
|
QEvent * |
|
|
) |
[inherited] |
|
QColor tlp::TulipTableWidget::getBackColor1 |
( |
|
) |
const [inherited] |
|
QColor tlp::TulipTableWidget::getBackColor2 |
( |
|
) |
const [inherited] |
|
DataSet tlp::GlMainWidget::getData |
( |
|
) |
[inherited] |
|
static QGLWidget* tlp::GlMainWidget::getFirstQGLWidget |
( |
|
) |
[static, inherited] |
|
Graph* tlp::GlMainWidget::getGraph |
( |
|
) |
[inherited] |
|
unsigned char* tlp::GlMainWidget::getImage |
( |
|
) |
[inherited] |
|
|
Take a snapshot of the Widget - Returns:
- an array of dimension width*height*3 char (8bits per color RGB). The pointer has to be freed after (with free, not delete)
|
GlMainWidget* tlp::GWOverviewWidget::getObservedView |
( |
|
) |
[inherited] |
|
tlp::GlScene* tlp::GlMainWidget::getScene |
( |
|
) |
[inline, inherited] |
|
|
Get the scene of this glMainWidget |
static void tlp::GlMainWidget::getTextureRealSize |
( |
int |
width, |
|
|
int |
height, |
|
|
int & |
textureRealWidth, |
|
|
int & |
textureRealHeight |
|
) |
[static, inherited] |
|
|
Compute real texture size with given height and width |
void tlp::GlMainWidget::getTextureShift |
( |
int |
width, |
|
|
int |
height, |
|
|
float & |
xTextureShift, |
|
|
float & |
yTextureShift |
|
) |
[inherited] |
|
QString tlp::TulipTableWidget::getTulipEdgeValue |
( |
const int |
row, |
|
|
const int |
col |
|
) |
const [inherited] |
|
QString tlp::TulipTableWidget::getTulipNodeValue |
( |
const int |
row, |
|
|
const int |
col |
|
) |
const [inherited] |
|
bool tlp::TulipTableWidget::getUpdateColumnTitle |
( |
|
) |
const [inherited] |
|
GlMainWidget* tlp::GWOverviewWidget::getView |
( |
|
) |
[inherited] |
|
View* tlp::GlMainWidget::getView |
( |
|
) |
[inline, inherited] |
|
tlp::GlMainWidget::GlMainWidget |
( |
QWidget * |
parent, |
|
|
AbstractView * |
view = NULL |
|
) |
[inherited] |
|
virtual QImage tlp::GlMainWidget::grabFrameBuffer |
( |
bool |
withAlpha = false |
) |
[virtual, inherited] |
|
|
Grab the image of this widget |
bool tlp::GlMainWidget::hasHulls |
( |
|
) |
const [inherited] |
|
virtual void tlp::GlMainWidget::makeCurrent |
( |
|
) |
[virtual, inherited] |
|
|
Extend makeCurrent function of QGLWidget to inform TextureManager and DisplayListManager of context changement |
bool tlp::GlMainWidget::outputEPS |
( |
int |
size, |
|
|
int |
doSort, |
|
|
const char * |
filename |
|
) |
[inherited] |
|
bool tlp::GlMainWidget::outputSVG |
( |
int |
size, |
|
|
const char * |
filename |
|
) |
[inherited] |
|
void tlp::GlMainWidget::resizeGL |
( |
int |
w, |
|
|
int |
h |
|
) |
[inherited] |
|
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] |
|
void tlp::GWOverviewWidget::setDrawIfNotVisible |
( |
bool |
drawIfNotVisible |
) |
[inline, inherited] |
|
void tlp::GlMainWidget::setGraph |
( |
Graph * |
graph |
) |
[inherited] |
|
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 |
tlp::TulipTableWidget::TulipTableWidget |
( |
QWidget * |
, |
|
|
const char * |
|
|
) |
[inherited] |
|
void tlp::GlMainWidget::useHulls |
( |
bool |
hasHulls |
) |
[inherited] |
|
tlp::GlMainWidget::~GlMainWidget |
( |
|
) |
[inherited] |
|
tlp::GWOverviewWidget::~GWOverviewWidget |
( |
|
) |
[inherited] |
|
tlp::TulipTableWidget::~TulipTableWidget |
( |
|
) |
[inherited] |
|
|