Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkImageAndRoiDataGeneratorBase.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 QmitkImageAndRoiDataGeneratorBase_h
14 #define QmitkImageAndRoiDataGeneratorBase_h
15 
16 #include "QmitkDataGeneratorBase.h"
18 
25 {
26 public:
28 
29  using ConstNodeVectorType = std::vector<mitk::DataNode::ConstPointer>;
30  using NodeVectorType = std::vector<mitk::DataNode::Pointer>;
31 
32  ConstNodeVectorType GetImageNodes() const;
33  ConstNodeVectorType GetROINodes() const;
34 
35 
36 public slots:
39  void SetImageNodes(const ConstNodeVectorType& imageNodes);
41  void SetImageNodes(const NodeVectorType& imageNodes);
42 
45  void SetROINodes(const ConstNodeVectorType& roiNodes);
47  void SetROINodes(const NodeVectorType& roiNodes);
48 
49 protected:
50  QmitkImageAndRoiDataGeneratorBase(mitk::DataStorage::Pointer storage, QObject* parent = nullptr) : QmitkDataGeneratorBase(storage, parent) {};
51  QmitkImageAndRoiDataGeneratorBase(QObject* parent = nullptr) : QmitkDataGeneratorBase(parent) {};
52 
54 
55  bool ChangedNodeIsRelevant(const mitk::DataNode *changedNode) const override;
57 
60 
63 };
64 
65 #endif
QmitkDataGeneratorBase::InputPairVectorType
std::vector< std::pair< mitk::DataNode::ConstPointer, mitk::DataNode::ConstPointer > > InputPairVectorType
Definition: QmitkDataGeneratorBase.h:112
QmitkDataGeneratorBase::QmitkDataGeneratorBase
QmitkDataGeneratorBase(const QmitkDataGeneratorBase &other)=delete
QmitkImageAndRoiDataGeneratorBase::QmitkImageAndRoiDataGeneratorBase
QmitkImageAndRoiDataGeneratorBase(mitk::DataStorage::Pointer storage, QObject *parent=nullptr)
Definition: QmitkImageAndRoiDataGeneratorBase.h:50
MitkImageStatisticsUIExports.h
QmitkImageAndRoiDataGeneratorBase::m_ImageNodes
ConstNodeVectorType m_ImageNodes
Definition: QmitkImageAndRoiDataGeneratorBase.h:58
QmitkDataGeneratorBase::ChangedNodeIsRelevant
virtual bool ChangedNodeIsRelevant(const mitk::DataNode *changedNode) const =0
itk::SmartPointer< Self >
QmitkImageAndRoiDataGeneratorBase::m_ROINodes
ConstNodeVectorType m_ROINodes
Definition: QmitkImageAndRoiDataGeneratorBase.h:59
MITKIMAGESTATISTICSUI_EXPORT
#define MITKIMAGESTATISTICSUI_EXPORT
Definition: MitkImageStatisticsUIExports.h:15
QmitkImageAndRoiDataGeneratorBase::QmitkImageAndRoiDataGeneratorBase
QmitkImageAndRoiDataGeneratorBase(QObject *parent=nullptr)
Definition: QmitkImageAndRoiDataGeneratorBase.h:51
QmitkImageAndRoiDataGeneratorBase::NodeVectorType
std::vector< mitk::DataNode::Pointer > NodeVectorType
Definition: QmitkImageAndRoiDataGeneratorBase.h:30
QmitkDataGeneratorBase::operator=
QmitkDataGeneratorBase & operator=(const QmitkDataGeneratorBase &other)=delete
QmitkImageAndRoiDataGeneratorBase::ConstNodeVectorType
std::vector< mitk::DataNode::ConstPointer > ConstNodeVectorType
Definition: QmitkImageAndRoiDataGeneratorBase.h:29
QmitkDataGeneratorBase.h
QmitkImageAndRoiDataGeneratorBase
Definition: QmitkImageAndRoiDataGeneratorBase.h:24
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63
QmitkDataGeneratorBase::GetAllImageROICombinations
virtual InputPairVectorType GetAllImageROICombinations() const =0
QmitkDataGeneratorBase
QmitkDataGeneratorBase BaseClass that implements the organisation of (statistic) data generation for ...
Definition: QmitkDataGeneratorBase.h:41