NorMIT-nav
22.09
An IGT application
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
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::ViewCollectionWidget::createOptimizedLayout
static QPointer< ViewCollectionWidget > createOptimizedLayout(RenderWindowFactoryPtr factory, QWidget *parent=NULL)
Definition:
cxViewCollectionWidget.cpp:36
cxViewCollectionWidget.h
cx::RenderWindowFactoryPtr
boost::shared_ptr< class RenderWindowFactory > RenderWindowFactoryPtr
Definition:
cxForwardDeclarations.h:161
cxViewCollectionWidgetMixed.h
cx::ViewCollectionWidget::createViewWidgetLayout
static QPointer< ViewCollectionWidget > createViewWidgetLayout(RenderWindowFactoryPtr factory, QWidget *parent=NULL)
Definition:
cxViewCollectionWidget.cpp:29
cx::LayoutWidgetUsingViewWidgets
Definition:
cxViewCollectionWidgetUsingViewWidgets.h:38
cxRenderWindowFactory.h
cx::ViewCollectionWidgetMixed
Definition:
cxViewCollectionWidgetMixed.h:53
cxViewCollectionWidgetUsingViewWidgets.h
cxViewCollectionWidgetUsingViewContainer.h
cxViewContainer.h
CX
source
resource
view
View
cxViewCollectionWidget.cpp
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17