Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlMainView Class Reference

Provide an abstract view with OpenGl rendering. More...

#include <GlMainView.h>

Inherits tlp::AbstractView.

Inherited by tlp::NodeLinkDiagramComponent.

Collaboration diagram for tlp::GlMainView:

List of all members.

Public Slots

Public Member Functions

Protected Slots

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


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

QAction* tlp::GlMainView::overviewAction [protected]
QDockWidget* tlp::GlMainView::overviewDock [protected]
QFrame* tlp::GlMainView::overviewFrame [protected]


Tulip Software by LaBRI Visualization Team    2001 - 2010