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] <[email protected]>*
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users