Commit 1ae46119 authored by haehn's avatar haehn
Browse files

ENH: Annotation module: Use direct programmatic placement without the ugly...

ENH: Annotation module: Use direct programmatic placement without the ugly recorder hack for the bidimensional widget. Thanks, Kitware.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15635 3bd1e089-480b-0410-8dfb-8563597acbee
parent c7a21b7e
......@@ -220,6 +220,8 @@ void vtkMRMLAnnotationBidimensionalDisplayableManager::OnWidgetCreated(vtkAbstra
return;
}
bidimensionalWidget->SetWidgetStateToManipulate();
/*
VTK_CREATE(vtkInteractorEventRecorder, recorder);
recorder->SetInteractor(this->GetInteractor());
recorder->ReadFromInputStringOn();
......@@ -253,7 +255,7 @@ void vtkMRMLAnnotationBidimensionalDisplayableManager::OnWidgetCreated(vtkAbstra
recorder->SetInputString(o.str().c_str());
recorder->Play();
}
}*/
// widget thinks the interaction ended, now we can place the points from MRML
double worldCoordinates1[4];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment