MCPcopy Create free account
hub / github.com/MITK/MITK / Generate

Method Generate

Modules/ImageStatisticsUI/src/QmitkDataGeneratorBase.cpp:144–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144bool QmitkDataGeneratorBase::Generate() const
145{
146 bool everythingValid = false;
147 if (m_InGenerate)
148 {
149 m_RestartGeneration = true;
150 }
151 else
152 {
153 m_InGenerate = true;
154 m_RestartGeneration = true;
155 while (m_RestartGeneration)
156 {
157 m_RestartGeneration = false;
158 everythingValid = DoGenerate();
159 }
160
161 m_InGenerate = false;
162 }
163 return everythingValid;
164}
165
166mitk::DataNode::Pointer QmitkDataGeneratorBase::CreateWIPDataNode(mitk::BaseData* dataDummy, const std::string& nodeName)
167{

Callers 9

NullTestMethod · 0.45
OneImageTestMethod · 0.45
MultiImageTestMethod · 0.45
ImageAndROITestMethod · 0.45
ImageAndMultiROITestMethod · 0.45
MultiMultiTestMethod · 0.45
SettingsChangedTestMethod · 0.45

Calls

no outgoing calls

Tested by 8

NullTestMethod · 0.36
OneImageTestMethod · 0.36
MultiImageTestMethod · 0.36
ImageAndROITestMethod · 0.36
ImageAndMultiROITestMethod · 0.36
MultiMultiTestMethod · 0.36
SettingsChangedTestMethod · 0.36