Hi,

According to the documentation [1], methods like GetBoundingBoxInWorld or 
GetBoundsInWorld  return the bounds that cover all time steps of your surface. 
If you specifically need the bounds of a single time step of your surface, call 
GetGeometryForTimeStep() and from the returned geometry GetBoundingBox() or 
GetBounds().

Best,
Stefan

[1] http://docs.mitk.org/2016.11/classmitk_1_1TimeGeometry.html


From: Alex Valcourt Caron [mailto:[email protected]]
Sent: Dienstag, 12. Dezember 2017 21:50
To: [email protected]
Subject: [mitk-users] Need help setting up a DataInteractor on a mitkSurface


Hello,



I am currently trying to implement a data interactor for the 3D view in my 
plugin. I want to wrap up a mitkSurface to interact with some objects in my 
plugin.



I am currently having some difficulties understanding the TimeGeometry of the 
surface, and how to use it to get some properties of its bounding box. As I 
understand right now, a timestep is added each time a point is added to the 
surface and the bounding box is calculated for each timestep at this moment. I 
am not sure at all if I am correct on this, the only information I need to 
extract from the surface is the bounds anyway.



Thanks for the help,



Alex
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to