CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxViewCollectionWidget.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#include "
cxViewCollectionWidget.h
"
13
#include <QGridLayout>
14
15
#include "vtkRenderWindow.h"
16
#include "vtkRenderWindowInteractor.h"
17
18
19
#include "
cxViewCollectionWidgetUsingViewWidgets.h
"
20
#include "
cxViewCollectionWidgetUsingViewContainer.h
"
21
#include "
cxViewCollectionWidgetMixed.h
"
22
23
#include "
cxViewContainer.h
"
24
#include "
cxRenderWindowFactory.h
"
25
26
namespace
cx
27
{
28
29
QPointer<ViewCollectionWidget>
ViewCollectionWidget::createViewWidgetLayout
(
RenderWindowFactoryPtr
factory, QWidget *parent)
30
{
31
// return new LayoutWidgetUsingViewCollection(); // testing
32
return
new
LayoutWidgetUsingViewWidgets
(factory, parent);
33
// return new ViewCollectionWidgetMixed(); //testing
34
}
35
36
QPointer<ViewCollectionWidget>
ViewCollectionWidget::createOptimizedLayout
(
RenderWindowFactoryPtr
factory, QWidget *parent)
37
{
38
// return new ViewCollectionWidgetUsingViewContainer();
39
return
new
ViewCollectionWidgetMixed
(factory, parent);
40
}
41
42
}
// namespace cx
43
cx::ViewCollectionWidgetMixed
Definition:
cxViewCollectionWidgetMixed.h:53
cx::ViewCollectionWidget::createViewWidgetLayout
static QPointer< ViewCollectionWidget > createViewWidgetLayout(RenderWindowFactoryPtr factory, QWidget *parent=NULL)
Definition:
cxViewCollectionWidget.cpp:29
cxViewCollectionWidget.h
cxViewCollectionWidgetUsingViewWidgets.h
cxRenderWindowFactory.h
cxViewCollectionWidgetMixed.h
cxViewCollectionWidgetUsingViewContainer.h
cx::LayoutWidgetUsingViewWidgets
Definition:
cxViewCollectionWidgetUsingViewWidgets.h:38
cxViewContainer.h
cx::RenderWindowFactoryPtr
boost::shared_ptr< class RenderWindowFactory > RenderWindowFactoryPtr
Definition:
cxForwardDeclarations.h:161
cx::ViewCollectionWidget::createOptimizedLayout
static QPointer< ViewCollectionWidget > createOptimizedLayout(RenderWindowFactoryPtr factory, QWidget *parent=NULL)
Definition:
cxViewCollectionWidget.cpp:36
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
resource
view
View
cxViewCollectionWidget.cpp
Generated on Thu Jun 16 2022 21:30:02 for CustusX by
1.8.11