CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ViewCollectionWidgetUsingViewContainer Class Reference

#include <cxViewCollectionWidgetUsingViewContainer.h>

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

Public Member Functions

 ViewCollectionWidgetUsingViewContainer (QWidget *parent)
 
virtual ~ViewCollectionWidgetUsingViewContainer ()
 
ViewPtr addView (View::Type type, LayoutRegion region)
 
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)
 
- 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
< ViewCollectionWidget
createViewWidgetLayout (QWidget *parent=NULL)
 
static QPointer
< ViewCollectionWidget
createOptimizedLayout (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 56 of file cxViewCollectionWidgetUsingViewContainer.h.

Constructor & Destructor Documentation

cx::ViewCollectionWidgetUsingViewContainer::ViewCollectionWidgetUsingViewContainer ( QWidget *  parent)

Definition at line 46 of file cxViewCollectionWidgetUsingViewContainer.cpp.

cx::ViewCollectionWidgetUsingViewContainer::~ViewCollectionWidgetUsingViewContainer ( )
virtual

Definition at line 60 of file cxViewCollectionWidgetUsingViewContainer.cpp.

Member Function Documentation

ViewPtr cx::ViewCollectionWidgetUsingViewContainer::addView ( View::Type  type,
LayoutRegion  region 
)
virtual
void cx::ViewCollectionWidgetUsingViewContainer::clearViews ( )
virtual
int cx::ViewCollectionWidgetUsingViewContainer::getGridMargin ( ) const
virtual
int cx::ViewCollectionWidgetUsingViewContainer::getGridSpacing ( ) 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 123 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

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