Hi Naresh,
as you said, the PointSet can do that for you. Create a pointset with the start
and end point of the line, add it to the DataStorage as DataNode and setup some
properties for that PointSet DataNode so that it is rendered as a line:
myPointSetDataNode->SetBoolProperty("show points", false); // mapper will hide
the start and end point
myPointSetDataNode->SetBoolProperty("show contour", true); // more important:
mapper will hide draw a line between all points in the set
Regards,
Michael
-----Ursprüngliche Nachricht-----
Von: naresh [mailto:[email protected]]
Gesendet: Freitag, 20. August 2010 13:37
An: [email protected]
Betreff: [mitk-users] How to Draw 3D line
Hi
How can i draw 3D line in MITK ? I found mitkLineVtkMapper3D and PointSet
can do this job but did not found proper way how to do that.
Please anyone can tell me how to do that ?
Naresh
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users