Medical Imaging Interaction Toolkit  2025.12.02
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 
52 
59 
66 
72  void SetInput(const Object::Pointer& input);
73 
80 
81 };
82 
83 }
84 
85 #endif // BERRYSHOWINCONTEXT_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:73
ShowInContext(const Object::Pointer &input, const SmartPointer< const ISelection > &selection)
SmartPointer< const ISelection > GetSelection() const
berryObjectMacro(berry::ShowInContext)
Object::Pointer GetInput() const
void SetInput(const Object::Pointer &input)
void SetSelection(const SmartPointer< const ISelection > &selection)
Implements transparent reference counting.
#define BERRY_UI_QT