Man Linux: Main Page and Category List

NAME

       tlp::NodeLinkDiagramComponent -

       Main view of old Tulip.

SYNOPSIS

       #include <NodeLinkDiagramComponent.h>

       Inherits tlp::GlMainView.

   Public Slots
       void centerView ()
       void draw ()
       void refresh ()
       void init ()
       void setGraph (Graph *graph)
       void elementSelectedSlot (unsigned int id, bool isNode)

   Public Member Functions
       NodeLinkDiagramComponent ()
       virtual ~NodeLinkDiagramComponent ()
       QWidget * construct (QWidget *parent)
       void setData (Graph *graph, DataSet dataSet)
       void getData (Graph **graph, DataSet *dataSet)
       void installInteractor (QAction *)
       void specificEventFilter (QObject *object, QEvent *event)
       void buildContextMenu (QObject *object, QMouseEvent *event, QMenu
           *contextMenu)
       void computeContextMenuAction (QAction *action)

   Protected Slots
       void showDialog (QAction *)
       void gridOptions ()

   Protected Member Functions
       void constructInteractorsActionList ()
       void constructInteractorsMap ()
       void addLayer (tlp::GlScene *, const std::string &, tlp::GlLayer *)
       void modifyLayer (tlp::GlScene *, const std::string &, tlp::GlLayer *)
       void checkAlgorithmResult ()

   Protected Attributes
       QMenu * viewMenu
       QMenu * dialogMenu
       QMenu * optionsMenu
       QMenu * exportImageMenu
       QAction * actionTooltips
       QAction * actionsGridOptions
       QAction * actionZOrderingOptions
       QAction * actionAntialiasingOptions
       QAction * renderingParametersDialogAction
       QAction * augmentedDisplayDialogAction
       QAction * addRemoveAction
       QAction * selectAction
       QAction * deleteAction
       QAction * goAction
       QAction * ungroupAction
       QAction * propAction
       bool isNode
       int itemId
       GridOptionsWidget * gridOptionsWidget
       RenderingParametersDialog * renderingParametersDialog
       LayerManagerWidget * layerWidget
       std::map< std::string, DataSet > algorithmInfoDataSet

Detailed Description

       Main view of old Tulip.

       This class provide a graph view based to nodes and links Rendering is
       do with OpenGl

Constructor & Destructor Documentation

   tlp::NodeLinkDiagramComponent::NodeLinkDiagramComponent ()
   virtual tlp::NodeLinkDiagramComponent::~NodeLinkDiagramComponent ()
       [virtual]

Member Function Documentation

   void tlp::NodeLinkDiagramComponent::addLayer (tlp::GlScene *, const
       std::string &, tlp::GlLayer *) [protected, virtual] function call by
       GlSceneObserver
       Reimplemented from tlp::GlMainView.

   void tlp::NodeLinkDiagramComponent::buildContextMenu (QObject * object,
       QMouseEvent * event, QMenu * contextMenu) [virtual] empty function :
       implement this function if you want a context menu when you right click
       the mouse
       Reimplemented from tlp::AbstractView.

   void tlp::NodeLinkDiagramComponent::centerView () [slot]
   void tlp::NodeLinkDiagramComponent::checkAlgorithmResult () [protected]
   void tlp::NodeLinkDiagramComponent::computeContextMenuAction (QAction *
       action) [virtual] empty function : implement this function if you have
       implement buildContextMenu()
       Reimplemented from tlp::AbstractView.

   QWidget* tlp::NodeLinkDiagramComponent::construct (QWidget * parent)
       [virtual] Construct this view
       Warning:
           If your view inherit of GlMainView you must extend construct
           function and in this new function call
           GlMainView::construct(QWidget *)

       Reimplemented from tlp::GlMainView.

   void tlp::NodeLinkDiagramComponent::constructInteractorsActionList ()
       [protected, virtual] construct the storage of interactorsaction
       Reimplemented from tlp::AbstractView.

   void tlp::NodeLinkDiagramComponent::constructInteractorsMap () [protected,
       virtual] construct the storage of interactors
       Reimplemented from tlp::AbstractView.

   void tlp::NodeLinkDiagramComponent::draw () [virtual, slot] Draw the OpenGl
       widget
       Reimplemented from tlp::GlMainView.

   void tlp::NodeLinkDiagramComponent::elementSelectedSlot (unsigned int id,
       bool isNode) [inline, slot]
   void tlp::NodeLinkDiagramComponent::getData (Graph ** graph, DataSet *
       dataSet) [virtual] Get the graph and data of the view
       Implements tlp::View.

   void tlp::NodeLinkDiagramComponent::gridOptions () [protected, slot]
   void tlp::NodeLinkDiagramComponent::init () [virtual, slot] Reinit the view
       and draw
       Implements tlp::View.

   void tlp::NodeLinkDiagramComponent::installInteractor (QAction *) [virtual]
       Install a specific interactor to the view
       Parameters:
           QAction must be an element of list<QAction *> of
           getInteractorsActionList(...)

       Implements tlp::View.

   void tlp::NodeLinkDiagramComponent::modifyLayer (tlp::GlScene *, const
       std::string &, tlp::GlLayer *) [protected, virtual] function call by
       GlSceneObserver
       Reimplemented from tlp::GlMainView.

   void tlp::NodeLinkDiagramComponent::refresh () [virtual, slot] Refresh the
       OpenGl widget
       Reimplemented from tlp::GlMainView.

   void tlp::NodeLinkDiagramComponent::setData (Graph * graph, DataSet
       dataSet) [virtual] Set the graph and data to the view
       Implements tlp::View.

   void tlp::NodeLinkDiagramComponent::setGraph (Graph * graph) [virtual,
       slot] Change the graph
       Implements tlp::View.

   void tlp::NodeLinkDiagramComponent::showDialog (QAction *) [protected,
       slot]
   void tlp::NodeLinkDiagramComponent::specificEventFilter (QObject * object,
       QEvent * event) [virtual] empty function : implement this function if
       you want a specific event filter in your view
       Reimplemented from tlp::AbstractView.

Member Data Documentation

   QAction* tlp::NodeLinkDiagramComponent::actionAntialiasingOptions
       [protected]
   QAction* tlp::NodeLinkDiagramComponent::actionsGridOptions [protected]
   QAction* tlp::NodeLinkDiagramComponent::actionTooltips [protected]
   QAction* tlp::NodeLinkDiagramComponent::actionZOrderingOptions [protected]
   QAction* tlp::NodeLinkDiagramComponent::addRemoveAction [protected]
   std::map<std::string,DataSet>
       tlp::NodeLinkDiagramComponent::algorithmInfoDataSet [protected]
   QAction* tlp::NodeLinkDiagramComponent::augmentedDisplayDialogAction
       [protected]
   QAction* tlp::NodeLinkDiagramComponent::deleteAction [protected]
   QMenu* tlp::NodeLinkDiagramComponent::dialogMenu [protected]
   QMenu* tlp::NodeLinkDiagramComponent::exportImageMenu [protected]
   QAction* tlp::NodeLinkDiagramComponent::goAction [protected]
   GridOptionsWidget* tlp::NodeLinkDiagramComponent::gridOptionsWidget
       [protected]
   bool tlp::NodeLinkDiagramComponent::isNode [protected]
   int tlp::NodeLinkDiagramComponent::itemId [protected]
   LayerManagerWidget* tlp::NodeLinkDiagramComponent::layerWidget [protected]
   QMenu* tlp::NodeLinkDiagramComponent::optionsMenu [protected]
   QAction* tlp::NodeLinkDiagramComponent::propAction [protected]
   RenderingParametersDialog*
       tlp::NodeLinkDiagramComponent::renderingParametersDialog [protected]
   QAction* tlp::NodeLinkDiagramComponent::renderingParametersDialogAction
       [protected]
   QAction* tlp::NodeLinkDiagramComponent::selectAction [protected]
   QAction* tlp::NodeLinkDiagramComponent::ungroupAction [protected]
   QMenu* tlp::NodeLinkDiagramComponent::viewMenu [protected]

Author

       Generated automatically by Doxygen for Tulip QT Library from the source
       code.