Hi Chris,
you can control the 3D view of a StdMultiWidget with the following commands:
position:
YourStdMultiWidget->mitkWidget4->GetRenderer()->GetVtkRenderer()->GetActiveCamera()->SetPosition(Pos[0],Pos[1],Pos[2]);
orientation:
YourStdMultiWidget->mitkWidget4->GetRenderer()->GetVtkRenderer()->GetActiveCamera()->SetRoll(-180);
(don't forget pitch and yaw)
I never used two StdMultiWidgets, but perhaps you can implement your
feature if you read out this information from your first multi widget
and then set it for the second.
Does this help you?
Greets,
Alfred
Am 27.04.2012 21:01, schrieb Rodgers, Chris M:
Hi everyone,
I am trying to find how the 3D view in the StdMultiWidget is
controlled, fundamentally. In our application we have two 3D views
that we would like to rotate at the same time from either one of the
views. What do I need to modify or create to implement this type of
behavior?
Thanks a bunch!
Chris Rodgers
Software Design Engineer
Alion Science & Technology Corporation
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users