Hi MITK-users,

I'm using MITK 2016.3 version built on Windows 10 in 64-bit mode in the
VS2013 environment.There is a surface utility plugin which performs
transformations like translation, rotation, Center of gravity etc. I would
like to add surface deformation functionality to this plugin. I could find
an existing interactor called SurfaceDeformationDataInteractor3D which is
currently used in the Clipping plane plugin to deform clipping plane. The
clipping plane is in the mesh representation.

I tried the following lines of code in the surface utility plugin but it
does not seems to work.

mitk::SurfaceDeformationDataInteractor3D::Pointer surfaceInteractor =
mitk::SurfaceDeformationDataInteractor3D::New();
surfaceInteractor->LoadStateMachine("ClippingPlaneInteraction3D.xml",
us::ModuleRegistry::GetModule("MitkDataTypesExt"));
surfaceInteractor->SetEventConfig("ClippingPlaneDeformationConfig.xml",
us::ModuleRegistry::GetModule("MitkDataTypesExt"));
mitk::DataNode::Pointer surfaceNode =
this->m_Controls.m_applySurfaceBox->GetSelectedNode();
surfaceInteractor->SetDataNode(surfaceNode);


Thanks for any suggestions.

R.Sriprabha
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to