tlp::NodeLinkDiagramComponent Class Reference
Main view of old Tulip.
More...
#include <NodeLinkDiagramComponent.h>
Inherits tlp::GlMainView.
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] |
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] |
QWidget* tlp::NodeLinkDiagramComponent::construct |
( |
QWidget * |
parent |
) |
[virtual] |
void tlp::NodeLinkDiagramComponent::constructInteractorsActionList |
( |
|
) |
[protected, virtual] |
void tlp::NodeLinkDiagramComponent::constructInteractorsMap |
( |
|
) |
[protected, virtual] |
void tlp::NodeLinkDiagramComponent::draw |
( |
|
) |
[virtual, slot] |
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] |
void tlp::NodeLinkDiagramComponent::refresh |
( |
|
) |
[virtual, slot] |
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] |
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