Hi,
is this still relevant or did you solve it already with respect to the
other interaction discussion going on?
Thanks,
Sascha
On 11/21/2013 08:48 PM, Alyson Roger wrote:
Hello mitk users,
I'm trying to add a new PlugIn in the mitkWorkBench where the
interactions with a mitk::Plane are similar to those of the
ClippingPlane PlugIn, but without the use of Tools. I defined a
mitk::AffineInteractor3D::Pointer m_PlaneInteractor and tried to use
SetInteractionModeToRotation() to have the same behaviour as the
Rotation Tool of the Clipping Plane PlugIn. But the application
crashes and I am quite lost with the way the original plugin manage
the interactions.
This is how I set the interaction behaviour :
if (m_PlaneInteractor.IsNull())
{
m_PlaneInteractor =
mitk::AffineInteractor3D::New("AffineInteractor3D", nodeplane);
}
m_PlaneInteractor->SetInteractionModeToRotation();
mitk::GlobalInteraction::GetInstance()->AddInteractor(m_PlaneInteractor);
If someone could give me a clue with the process to do, it would be
very helpful.
Thank you
--
*Alyson ROGER*
_/[email protected] <mailto:[email protected]>/_
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users