Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryShowInContext.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYSHOWINCONTEXT_H
14 #define BERRYSHOWINCONTEXT_H
15 
16 #include "berryObject.h"
17 
19 
20 namespace berry {
21 
22 struct ISelection;
23 
32 class BERRY_UI_QT ShowInContext : public virtual Object
33 {
34 
35 private:
36 
37  Object::Pointer input;
39 
40 public:
41 
43 
51  ShowInContext(const Object::Pointer& input, const SmartPointer<const ISelection>& selection);
52 
58  Object::Pointer GetInput() const;
59 
65  SmartPointer<const ISelection> GetSelection() const;
66 
72  void SetInput(const Object::Pointer& input);
73 
79  void SetSelection(const SmartPointer<const ISelection>& selection);
80 
81 };
82 
83 }
84 
85 #endif // BERRYSHOWINCONTEXT_H
org_blueberry_ui_qt_Export.h
berry::ShowInContext
Definition: berryShowInContext.h:32
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24