Poster of Linux kernelThe best gift for a Linux geek
tlp::GlMainView

tlp::GlMainView

Section: Tulip QT Library (3) Updated: 19 Jul 2010
Local index Up
 

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.


 

Index

NAME
SYNOPSIS
Public Slots
Public Member Functions
Protected Slots
Protected Member Functions
Protected Attributes
Detailed Description
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
virtual QWidget* tlp::GlMainView::construct (QWidget * parent) [virtual]Construct this view
void tlp::GlMainView::draw () [virtual, slot]Draw the OpenGl widget
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
Graph* tlp::GlMainView::getGraph () [virtual]get the graph use in this 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
void tlp::GlMainView::refresh () [virtual, slot]Refresh the OpenGl widget
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

This document was created by man2html, using the manual pages.
Time: 22:28:15 GMT, April 16, 2011