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

Method ClearSeeds

Modules/Segmentation/src/Interactions/mitkPickingTool.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void mitk::PickingTool::ClearSeeds()
138{
139 if (this->m_PointSet.IsNotNull())
140 {
141 // renew pointset
142 this->m_PointSet = mitk::PointSet::New();
143 //ensure that the seed points are visible for all timepoints.
144 dynamic_cast<ProportionalTimeGeometry*>(m_PointSet->GetTimeGeometry())->SetStepDuration(std::numeric_limits<TimePointType>::max());
145 this->m_PointSetNode->SetData(this->m_PointSet);
146 }
147}
148
149template <typename TPixel, unsigned int VImageDimension>
150void DoITKRegionGrowing(const itk::Image<TPixel, VImageDimension>* oldSegImage,

Callers 4

DeactivatedMethod · 0.95
ClearPicksMethod · 0.95
ConfirmCleanUpMethod · 0.45
DoITKRegionGrowingFunction · 0.45

Calls 3

IsNotNullMethod · 0.80
NewFunction · 0.50
SetDataMethod · 0.45

Tested by

no test coverage detected