CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxViewContainer.h>
Public Member Functions | |
ViewContainer (RenderWindowFactoryPtr factory, QWidget *parent=NULL, Qt::WindowFlags f=0) | |
virtual | ~ViewContainer () |
ViewItem * | addView (QString uid, LayoutRegion region, QString name="") |
virtual void | clear () |
void | renderAll () |
Use this function to render all views at once. Do not call render on each view. More... | |
virtual void | setOffScreenRenderingAndClear (bool on) |
virtual bool | getOffScreenRendering () const |
vtkRenderWindowPtr | getRenderWindow () |
virtual void | setModified () |
virtual QGridLayout * | getGridLayout () |
Protected Member Functions | |
virtual void | doRender () |
ViewItem * | getViewItem (int index) |
Protected Attributes | |
ViewItem * | mMouseEventTarget |
vtkRenderWindowPtr | mRenderWindow |
unsigned long | mMTimeHash |
sum of all MTimes in objects rendered More... | |
More advanced N:1 combination of SSC Views and Qt Widgets Adapted from SSC class provided by Sonowand
Definition at line 39 of file cxViewContainer.h.
cx::ViewContainer::ViewContainer | ( | RenderWindowFactoryPtr | factory, |
QWidget * | parent = NULL , |
||
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 29 of file cxViewContainer.cpp.
|
virtual |
Definition at line 44 of file cxViewContainer.cpp.
ViewItem * cx::ViewContainer::addView | ( | QString | uid, |
LayoutRegion | region, | ||
QString | name = "" |
||
) |
Creates and adds a view to this container. Returns a pointer to the created view item that the container owns.
Definition at line 99 of file cxViewContainer.cpp.
|
virtual |
Clears view container, deleting all layout objects
Definition at line 51 of file cxViewContainer.cpp.
|
protectedvirtual |
Definition at line 285 of file cxViewContainer.cpp.
|
virtual |
Return this widget's grid layout object
Definition at line 67 of file cxViewContainer.cpp.
|
virtual |
Definition at line 120 of file cxViewContainer.cpp.
|
inline |
Definition at line 55 of file cxViewContainer.h.
|
protected |
Definition at line 90 of file cxViewContainer.cpp.
void cx::ViewContainer::renderAll | ( | ) |
Use this function to render all views at once. Do not call render on each view.
Definition at line 265 of file cxViewContainer.cpp.
|
virtual |
Definition at line 78 of file cxViewContainer.cpp.
|
virtual |
Definition at line 114 of file cxViewContainer.cpp.
|
protected |
Definition at line 72 of file cxViewContainer.h.
|
protected |
sum of all MTimes in objects rendered
Definition at line 74 of file cxViewContainer.h.
|
protected |
Definition at line 73 of file cxViewContainer.h.