Hi Nil,
did you already have a look into the Gizmo module. It contains a dedicated interactor for moving and rotating objects of all kinds and also comes with a visual cursor that has handles and control the type of movement/rotation. It was contributed by Daniel Maleike, who has more information about it if you have in-depth questions. Best, Stefan ________________________________ Von: Nil Goyette <nil.goye...@usherbrooke.ca> Gesendet: Dienstag, 18. September 2018 17:00 An: mitk-users@lists.sourceforge.net Betreff: [mitk-users] 3D interactor Hi all, I'm using the AffineImageCropperInteractor class and there's one behavior I want to change. * When I rotate in the 3D view then move an object, it follows the slope of the image's slice. * When I pass in front of a group of streamlines (list of lines in 3D, in a polydata), the object flickers because it's moved from the background to the streamline, background again to another streamline, etc. * When I move an object in the 3D view and I traverse an axis' border, the object is suddenly huge because it was moved just above the border. Can I make the Interactor "stupid"/unaware of any object? I want it to act as if there was nothing. In fact, I want it to behave like in the 2D views: simply moving parallel to the cameras. Is there a way to do this without modifying MITK's code? If not, can you please tell me what I should try? I already tried modifying mitk::VtkPropRenderer::PickWorldPoint but I have weird memory crashes so I prefer asking! Nil Goyette
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users