Skip to content
Snippets Groups Projects
Commit 7af84f7c authored by Julien Michel's avatar Julien Michel
Browse files

Evolution appli de segmentation

parent 50d81cda
No related branches found
No related tags found
No related merge requests found
......@@ -231,10 +231,13 @@ class ITK_EXPORT ImageViewerFullWidget
{
m_Parent->GetInterfaceBoxesList()->PopBack();
}
if(m_Parent->GetPolygonROIList()->Size()==0)
if(m_EventsInterface.IsNull() || m_EventsInterface->GetForwardEvents())
{
m_Parent->GetPolygonROIList()->PushBack(PolygonType::New());
m_Parent->GetPolygonROIList()->Back()->SetValue(m_Parent->GetNextROILabel());
if(m_Parent->GetPolygonROIList()->Size()==0)
{
m_Parent->GetPolygonROIList()->PushBack(PolygonType::New());
m_Parent->GetPolygonROIList()->Back()->SetValue(m_Parent->GetNextROILabel());
}
}
IndexType boxIndex;
SizeType boxSize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment