Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkDataNodeSelection.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 
14 #ifndef mitkDataNodeSelection_h
15 #define mitkDataNodeSelection_h
16 
18 #include <mitkDataNode.h>
20 
21 
22 namespace mitk {
23 
28 {
29 
30 public:
31 
33 
36  DataNodeSelection(const std::vector<DataNode::Pointer>& nodes);
37 
38  Object::Pointer GetFirstElement() const override;
39  iterator Begin() const override;
40  iterator End() const override;
41 
42  int Size() const override;
43 
44  ContainerType::Pointer ToVector() const override;
45 
46  std::list<mitk::DataNode::Pointer> GetSelectedDataNodes() const;
47 
51  bool IsEmpty() const override;
52 
53  bool operator==(const berry::Object* obj) const override;
54 
55 protected:
56 
58 };
59 
60 }
61 
62 
63 #endif
berryIStructuredSelection.h
berry::IStructuredSelection
Definition: berryIStructuredSelection.h:28
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
mitk::DataNodeSelection
Definition: mitkDataNodeSelection.h:27
itk::SmartPointer< Self >
org_mitk_gui_common_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DataNodeSelection::m_Selection
ContainerType::Pointer m_Selection
Definition: mitkDataNodeSelection.h:57
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
MITK_GUI_COMMON_PLUGIN
#define MITK_GUI_COMMON_PLUGIN
Definition: org_mitk_gui_common_Export.h:26
mitkDataNode.h
berry::IStructuredSelection::iterator
ContainerType::const_iterator iterator
Definition: berryIStructuredSelection.h:31
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31