Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryShowInContext.h
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 #ifndef BERRYSHOWINCONTEXT_H
18 #define BERRYSHOWINCONTEXT_H
19 
20 #include "berryObject.h"
21 
23 
24 namespace berry {
25 
26 struct ISelection;
27 
36 class BERRY_UI_QT ShowInContext : public virtual Object
37 {
38 
39 private:
40 
41  Object::Pointer input;
43 
44 public:
45 
47 
48 
55  ShowInContext(const Object::Pointer& input, const SmartPointer<const ISelection>& selection);
56 
62  Object::Pointer GetInput() const;
63 
69  SmartPointer<const ISelection> GetSelection() const;
70 
76  void SetInput(const Object::Pointer& input);
77 
83  void SetSelection(const SmartPointer<const ISelection>& selection);
84 
85 };
86 
87 }
88 
89 #endif // BERRYSHOWINCONTEXT_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT