[Repository Listing] / [Slicer4] / trunk / Modules / Loadable / Transforms / MRMLDM / vtkMRMLLinearTransformsDisplayableManager3D.cxx
 

Log of /trunk/Modules/Loadable/Transforms/MRMLDM/vtkMRMLLinearTransformsDisplayableManager3D.cxx

Parent Directory Parent Directory


Links to HEAD: View Download Blame
Sticky Revision:

Revision 26372  View Download Blame
Modified Wed Sep 13 21:43:31 2017 UTC (10 days, 16 hours ago) by lassoan
File length: 25853 byte(s)
Diff to previous 25698
BUG: Activate picking manager before placing transform editor box widget

Box widget behavior is different with picking manager enabled/disabled. If disabled, then the middle handle can be grabbed to translate the widget.
If enabled, then translation is only possible using shift+click.

It maight be a bug in VTK that the center handle is not accessible when picking manager is enabled.

Revision 25698  View Download Blame
Added Wed Feb 8 18:30:22 2017 UTC (7 months, 2 weeks ago) by jcfr
File length: 25484 byte(s)
ENH: Interaction for transform node

The transform will automatically be centered around whatever objects
it transforms at the moment when the TransformUpdateEditorBoundsEvent is
invoked. This is more intuitive to the user as it looks as if the object under
the transform itself is moved/scaled/translated.
When no object is present, the transform is just scaled to facilitate
interaction with it.

Testing is added to ensure that:
 - The widget holds correctly the objects it will transform. Furthermore this
test is perfomed with models to extend the coverage as transform interaction
can theoritically deal with any vtkMRMLDisplayableNode.
 - Testing for interacting with transforms with parents
 - Serialization and deserialization of the scene

The transform interaction is only valid linear transforms

From: Johan Andruejol <johan.andruejol@kitware.com>

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  Subversion  TortoiseSVN  ViewVC