Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryShowInContext.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
berryShowInContext.h
"
18
19
#include "
berryISelection.h
"
20
21
namespace
berry
{
22
23
ShowInContext::ShowInContext(
const
Object::Pointer
& input,
const
SmartPointer<const ISelection>& selection)
24
: input(input)
25
, selection(selection)
26
{
27
}
28
29
Object::Pointer
ShowInContext::GetInput()
const
30
{
31
return
input;
32
}
33
34
SmartPointer<const ISelection>
ShowInContext::GetSelection
()
const
35
{
36
return
selection;
37
}
38
39
void
ShowInContext::SetInput
(
const
Object::Pointer
& input)
40
{
41
this->input = input;
42
}
43
44
void
ShowInContext::SetSelection
(
const
SmartPointer<const ISelection>
& selection)
45
{
46
this->selection = selection;
47
}
48
49
}
berryShowInContext.h
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ShowInContext::GetSelection
SmartPointer< const ISelection > GetSelection() const
Definition:
berryShowInContext.cpp:34
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berry::ShowInContext::SetSelection
void SetSelection(const SmartPointer< const ISelection > &selection)
Definition:
berryShowInContext.cpp:44
berry::Object::Pointer
berry::SmartPointer< Self > Pointer
Definition:
berryObject.h:88
berryISelection.h
berry::ShowInContext::SetInput
void SetInput(const Object::Pointer &input)
Definition:
berryShowInContext.cpp:39
git
MITK
Plugins
org.blueberry.ui.qt
src
berryShowInContext.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1