tlp::glmainview(3)

NAME

tlp::GlMainView - Provide an abstract view with OpenGl rendering.

SYNOPSIS

#include <GlMainView.h>
Inherits tlp::AbstractView.
Inherited by tlp::NodeLinkDiagramComponent.
Public Slots
void draw ()
void refresh ()
Public Member Functions
GlMainView ()
virtual ~GlMainView ()
virtual QWidget * construct (QWidget *parent)
Graph * getGraph ()
GlMainWidget * getGlMainWidget ()
Protected Slots
void exportImage (QAction *)
void hideOverview (bool)
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
GlMainWidget * mainWidget
QDockWidget * overviewDock
GWOverviewWidget * overviewWidget
QFrame * overviewFrame
QAction * overviewAction

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

Constructor & Destructor Documentation

tlp::GlMainView::GlMainView ()
Basic contructor
virtual tlp::GlMainView::~GlMainView () [virtual]

Member Function Documentation

virtual void tlp::GlMainView::addLayer (tlp::GlScene *, const std::string
&, tlp::GlLayer *) [inline, protected, virtual] function call by GlSceneObserver
Reimplemented in tlp::NodeLinkDiagramComponent.
virtual QWidget* tlp::GlMainView::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::AbstractView.
Reimplemented in tlp::NodeLinkDiagramComponent.
void tlp::GlMainView::draw () [virtual, slot]
Draw the OpenGl widget
Implements tlp::View.
Reimplemented in tlp::NodeLinkDiagramComponent.
void tlp::GlMainView::exportImage (QAction *) [protected, slot]
Save image of GlMainWidget QAction::text is the format of output (EPS,SVG or traditional image format) A QDialog is open to ask the
output file name
GlMainWidget* tlp::GlMainView::getGlMainWidget ()
get GlMainWidget use by this view
Returns:
the GlMainWidget use in this view
Graph* tlp::GlMainView::getGraph () [virtual]
get the graph use in this view
Returns:
the graph use in this view
Implements tlp::View.
void tlp::GlMainView::hideOverview (bool) [protected, slot]
Hide the overview
virtual void tlp::GlMainView::modifyLayer (tlp::GlScene *, const
std::string &, tlp::GlLayer *) [inline, protected, virtual] function call by GlSceneObserver
Reimplemented in tlp::NodeLinkDiagramComponent.
void tlp::GlMainView::refresh () [virtual, slot]
Refresh the OpenGl widget
Implements tlp::View.
Reimplemented in tlp::NodeLinkDiagramComponent.

Member Data Documentation

GlMainWidget* tlp::GlMainView::mainWidget [protected] QAction* tlp::GlMainView::overviewAction [protected] QDockWidget* tlp::GlMainView::overviewDock [protected] QFrame* tlp::GlMainView::overviewFrame [protected] GWOverviewWidget* tlp::GlMainView::overviewWidget [protected]

Author

Generated automatically by Doxygen for Tulip QT Library from the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout