13 #ifndef QmitkDataGeneratorBase_h 14 #define QmitkDataGeneratorBase_h 58 bool GetAutoUpdate()
const;
63 bool IsGenerating()
const;
69 bool Generate()
const;
78 void SetAutoUpdate(
bool autoUpdate);
94 void NewDataAvailable(mitk::DataStorage::SetOfObjects::ConstPointer data)
const;
98 void GenerationFinished()
const;
112 using InputPairVectorType = std::vector<std::pair<mitk::DataNode::ConstPointer, mitk::DataNode::ConstPointer>>;
115 virtual bool ChangedNodeIsRelevant(
const mitk::DataNode* changedNode)
const = 0;
130 virtual std::pair<QmitkDataGenerationJobBase*,mitk::DataNode::Pointer> GetNextMissingGenerationJob(
const mitk::DataNode* imageNode,
const mitk::DataNode* roiNode)
const =0;
144 std::string GetPairDescription(
const InputPairVectorType::value_type& imageAndSeg)
const;
147 bool DoGenerate()
const;
150 void EnsureRecheckingAndGeneration()
const;
154 bool m_AutoUpdate =
false;
161 mutable bool m_InGenerate =
false;
163 mutable bool m_RestartGeneration =
false;
165 mutable bool m_WIP =
false;
167 mutable bool m_AddingToStorage =
false;
172 unsigned long m_DataStorageDeletedTag;
mitk::WeakPointer< mitk::DataStorage > m_Storage
Data management class that handles 'was created by' relations.
Base of all data objects.
#define MITKIMAGESTATISTICSUI_EXPORT
std::vector< std::pair< mitk::DataNode::ConstPointer, mitk::DataNode::ConstPointer > > InputPairVectorType
QmitkDataGeneratorBase BaseClass that implements the organisation of (statistic) data generation for ...
std::map< std::string, mitk::BaseData::Pointer > ResultMapType
QmitkDataGenerationJobBase::ResultMapType JobResultMapType
Class for nodes of the DataTree.
QmitkDataGenerationJobBase Base class for generation jobs used by QmitkDataGenerationBase and derived...