Hi Miri,

are you familiar with the interaction concept in MITK? If not, you can read 
more about it in the documentation http://www.mitk.org/wiki/Interaction_concept 
and also the tutorial step 10 could be helpful.

You can orientate your code on the measurement module which interacts with the 
mitkPlanarFigureInteractor.

Is this helpful to you or could you specify your problem?

Best,
Jasmin


Von: Miri Trope [mailto:[email protected]]
Gesendet: Mittwoch, 28. März 2012 10:08
An: mitk-users
Betreff: [mitk-users] Draw a changeable line by just one point

Hi All,

Do you have any idea how I can pick a point on  3D image and meanwhile get a 
line/cylinder which can change its dimensions till the second point will be 
set. In this way, a geometry structure (line/cylinder) will be seen and its 
final dimension will be fixed just when the other point will be selected.

So, when the second point will be selected- a vtkPolyData will be shown in the 
3d view.

I saw the measurement module which I can select two points and a line will be 
linked, but it's just on one slice and can't be seen in the 3d viewer.

Any ideas?

Thanks,
Miri
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to