Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
jafar::graphmap::display::Viewer Class Reference

Detailed Description

Definition at line 24 of file display.hpp.

List of all members.

Public Slots

void shuffle ()
void zoomIn ()
void zoomOut ()

Public Member Functions

 Viewer ()
 <
void itemMoved ()
template<typename Graph >
void bufferize (const Graph &g)
void render ()
void view ()

Public Attributes

unsigned int _width
unsigned int _height
qdisplay::Viewer_viewer

Protected Member Functions

bool existDisplayEdge (int from_id, int to_id)
void addDisplayEdge (int from_id, int to_id)
void timerEvent (QTimerEvent *event)
void wheelEvent (QWheelEvent *event)
void drawBackground (QPainter *painter, const QRectF &rect)
void scaleView (qreal scaleFactor)
NodegetNodeWithId (int id)

Private Attributes

int timerId
std::list< Node * > node_list
std::list< Edge * > edge_list

Constructor & Destructor Documentation

<

Todo:
Fix the use of Q_OBJECT in this class.

If not used, cmake will complain it can't find display.moc file. If used, generates the object but linker complain it can't find vtable. The workaround (if display.moc is not found) is add Q_OBJECT here, cmake, compile until error, remove it and finish compilation.


Member Function Documentation

template<typename Graph >
void jafar::graphmap::display::Viewer::bufferize ( const Graph &  g) [inline]
Todo:
check for edge removal

Definition at line 42 of file display.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS