Overview     Modules     Class Hierarchy     Classes     Members  

tlp::NodeLinkDiagramComponent Class Reference

Main view of old Tulip. More...

#include <NodeLinkDiagramComponent.h>

Inherits tlp::GlMainView.

Collaboration diagram for tlp::NodeLinkDiagramComponent:

List of all members.

Public Slots

Public Member Functions

Protected Slots

Protected Member Functions

Protected Attributes


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 interactors' action

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

std::map<std::string,DataSet> tlp::NodeLinkDiagramComponent::algorithmInfoDataSet [protected]
LayerManagerWidget* tlp::NodeLinkDiagramComponent::layerWidget [protected]


Tulip Software by LaBRI Visualization Team    2001 - 2010