When the method WidgetIsDefined() is called (ie the widget is defined programmatically) and then the method SetEnabled is invoked, we run into a bug, in that the internal HandleWidgets are enabled without having their interactors set. Hence propagate the interactor from self into the child widgets always.
…ally Adding a method to Query/Set the state of the widget to "defined" (in case it and its representation was intialized programmatically). This would skip the "define" phase of the widget and make in manipulatable rightaway.
Add the SetProcessEvents method so that the user can disable event processing on the vtkSplineWidget.
…iew. See Slicer3 bug 0000806 at http://www.na-mic.org/Bug/view.php?id=806
The CVS $Revision$ keyword replacement will no longer maintain these macros automatically. They were used only to implement CollectRevisions and vtkObjectBase::PrintRevisions, an API that was never used. Automated as follows: pass 0: catch templates --------------- $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<' pass 1: main changes --------------- $ git grep -l '^vtkCxxRevisionMacro' | while read file; do echo "$file" 1>&2 perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file done $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do echo "$file" 1>&2 perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file done pass 2: verify --------------- $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' Fixed multi-line vtkCxxRevisionMacro and templates by hand.
…for vtkBoxRepresentation::HandlesOn() and HandlesOff(), which cause the test image changed.
…ile redering, so HandlesOn() or HandlesOff() does not turn on/off handles. This behavior is fixed, and some code is added to BoxWidget2 test for HandlesOn() and HandlesOff().
…ttempting to use it.
… the VTK mailing list, for pointing this out.)
… down otherwise do snap drawing
… iterator after calling erase.
…he interactor event recorder and associated testing away. Use the testing interactor factory. Supports interactive definition of the widget with the --DisableReplay -I flags, uses SmartPointers and shortens code a lot.
… well.. (when a cost function image is set). The interpolator should really not have to depend on the placer, the conveniences should be handled as a special case.
…esentation as well, or a mismatch will happen. Also test the case when we are deleting seeds to improve code coverage.
…he two can be controlled (for slicer).