Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 
18 #ifndef MITKDATATREENODESELECTION_H_
19 #define MITKDATATREENODESELECTION_H_
20 
22 #include <mitkDataNode.h>
24 
25 
26 namespace mitk {
27 
32 {
33 
34 public:
35 
37 
40  DataNodeSelection(const std::vector<DataNode::Pointer>& nodes);
41 
42  virtual Object::Pointer GetFirstElement() const override;
43  virtual iterator Begin() const override;
44  virtual iterator End() const override;
45 
46  virtual int Size() const override;
47 
48  virtual ContainerType::Pointer ToVector() const override;
49 
50  std::list<mitk::DataNode::Pointer> GetSelectedDataNodes() const;
51 
55  bool IsEmpty() const override;
56 
57  bool operator==(const berry::Object* obj) const override;
58 
59 protected:
60 
62 };
63 
64 }
65 
66 
67 #endif /* MITKDATATREENODESELECTION_H_ */
itk::SmartPointer< Self > Pointer
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
DataCollection - Class to facilitate loading/accessing structured data.
ContainerType::const_iterator iterator
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
ContainerType::Pointer m_Selection
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define MITK_GUI_COMMON_PLUGIN