Fraxinus  18.10
An IGT application
cx::ViewCollectionWidgetUsingViewContainer Class Reference

#include <cxViewCollectionWidgetUsingViewContainer.h>

Inheritance diagram for cx::ViewCollectionWidgetUsingViewContainer:
cx::ViewCollectionWidget

Public Member Functions

 ViewCollectionWidgetUsingViewContainer (RenderWindowFactoryPtr factory, QWidget *parent)
 
virtual ~ViewCollectionWidgetUsingViewContainer ()
 
ViewPtr addView (View::Type type, LayoutRegion region)
 
virtual void setOffScreenRenderingAndClear (bool on)
 
virtual bool getOffScreenRendering () const
 
void clearViews ()
 
virtual void setModified ()
 
virtual void render ()
 
virtual void setGridSpacing (int val)
 
virtual void setGridMargin (int val)
 
virtual int getGridSpacing () const
 
virtual int getGridMargin () const
 
virtual std::vector< ViewPtrgetViews ()
 
virtual QPoint getPosition (ViewPtr view)
 
virtual void enableContextMenuForViews (bool enable)
 
- Public Member Functions inherited from cx::ViewCollectionWidget
virtual ~ViewCollectionWidget ()
 

Additional Inherited Members

- Signals inherited from cx::ViewCollectionWidget
void rendered ()
 
- Static Public Member Functions inherited from cx::ViewCollectionWidget
static QPointer< ViewCollectionWidgetcreateViewWidgetLayout (RenderWindowFactoryPtr factory, QWidget *parent=NULL)
 
static QPointer< ViewCollectionWidgetcreateOptimizedLayout (RenderWindowFactoryPtr factory, QWidget *parent=NULL)
 
- Protected Member Functions inherited from cx::ViewCollectionWidget
 ViewCollectionWidget (QWidget *parent)
 

Detailed Description

Widget for displaying Views, using only a single QVTKWidget/vtkRenderWindow, but one vtkRenderer for each View inside.

Date
2014-09-26
Author
Christian Askeland

Definition at line 35 of file cxViewCollectionWidgetUsingViewContainer.h.

Constructor & Destructor Documentation

cx::ViewCollectionWidgetUsingViewContainer::ViewCollectionWidgetUsingViewContainer ( RenderWindowFactoryPtr  factory,
QWidget *  parent 
)

Definition at line 25 of file cxViewCollectionWidgetUsingViewContainer.cpp.

cx::ViewCollectionWidgetUsingViewContainer::~ViewCollectionWidgetUsingViewContainer ( )
virtual

Definition at line 39 of file cxViewCollectionWidgetUsingViewContainer.cpp.

Member Function Documentation

ViewPtr cx::ViewCollectionWidgetUsingViewContainer::addView ( View::Type  type,
LayoutRegion  region 
)
virtual
void cx::ViewCollectionWidgetUsingViewContainer::clearViews ( )
virtual
void cx::ViewCollectionWidgetUsingViewContainer::enableContextMenuForViews ( bool  enable)
virtual
int cx::ViewCollectionWidgetUsingViewContainer::getGridMargin ( ) const
virtual
int cx::ViewCollectionWidgetUsingViewContainer::getGridSpacing ( ) const
virtual
bool cx::ViewCollectionWidgetUsingViewContainer::getOffScreenRendering ( ) const
virtual
QPoint cx::ViewCollectionWidgetUsingViewContainer::getPosition ( ViewPtr  view)
virtual

Get the position of the Upper Left corner of the view, given in qt-coordinates of this (the ViewCollectionWidget).

Implements cx::ViewCollectionWidget.

Definition at line 113 of file cxViewCollectionWidgetUsingViewContainer.cpp.

std::vector< ViewPtr > cx::ViewCollectionWidgetUsingViewContainer::getViews ( )
virtual
void cx::ViewCollectionWidgetUsingViewContainer::render ( )
virtual
void cx::ViewCollectionWidgetUsingViewContainer::setGridMargin ( int  val)
virtual
void cx::ViewCollectionWidgetUsingViewContainer::setGridSpacing ( int  val)
virtual
void cx::ViewCollectionWidgetUsingViewContainer::setModified ( )
virtual
void cx::ViewCollectionWidgetUsingViewContainer::setOffScreenRenderingAndClear ( bool  on)
virtual

The documentation for this class was generated from the following files: