tlp::GlMainView Class Reference#include <GlMainView.h>
Inherits tlp::AbstractView.
Inherited by tlp::NodeLinkDiagramComponent.
Inheritance diagram for tlp::GlMainView:
[legend]Collaboration diagram for tlp::GlMainView:
[legend]List of all members.
Detailed Description
Provide an abstract view with OpenGl rendering.
This class provide an abstract view with OpenGl rendering and overview To do this rendering GlMainView class is use
Public Slots
Public Member Functions
Protected Member Functions
- virtual void addLayer (tlp::GlScene *, const std::string &, tlp::GlLayer *)
- virtual void modifyLayer (tlp::GlScene *, const std::string &, tlp::GlLayer *)
Protected Attributes
Constructor & Destructor Documentation
tlp::GlMainView::GlMainView |
( |
|
) |
|
|
virtual tlp::GlMainView::~GlMainView |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void tlp::GlMainView::addLayer |
( |
tlp::GlScene * |
, |
|
|
const std::string & |
, |
|
|
tlp::GlLayer * |
|
|
) |
[inline, protected, virtual] |
|
virtual void tlp::GlMainView::buildContextMenu |
( |
QObject * |
object, |
|
|
QMouseEvent * |
event, |
|
|
QMenu * |
contextMenu |
|
) |
[virtual] |
|
virtual QWidget* tlp::GlMainView::construct |
( |
QWidget * |
parent |
) |
[virtual] |
|
virtual void tlp::GlMainView::createPicture |
( |
const std::string & |
pictureName, |
|
|
int |
width = 0 , |
|
|
int |
height = 0 |
|
) |
[virtual] |
|
|
Take a snapshot of the view and put it in a picture
Implements tlp::View. |
virtual void tlp::GlMainView::draw |
( |
|
) |
[virtual, slot] |
|
Graph* tlp::GlMainView::getGraph |
( |
|
) |
[virtual] |
|
|
get the graph use in this view - Returns:
- the graph use in this view
Implements tlp::View. |
QAction* tlp::GlMainView::getOverviewAction |
( |
|
) |
[inline] |
|
|
Return QAction of overview use in the context menu |
|
Return the overview widget use by this view |
virtual void tlp::GlMainView::hideOverview |
( |
bool |
|
) |
[virtual, slot] |
|
virtual void tlp::GlMainView::modifyLayer |
( |
tlp::GlScene * |
, |
|
|
const std::string & |
, |
|
|
tlp::GlLayer * |
|
|
) |
[inline, protected, virtual] |
|
virtual void tlp::GlMainView::refresh |
( |
|
) |
[virtual, slot] |
|
virtual void tlp::GlMainView::showDialog |
( |
QAction * |
action |
) |
[virtual, slot] |
|
Member Data Documentation
|