Dear Muller

I tried to create like this but it shows like pipe with hole :) Is there any width to set for it ? Please see in attached picture

mitk::PointSet::Pointer line = mitk::PointSet::New();

mitk::PointSet::PointType start,end;

FillVector3D(start,0,0,0);
FillVector3D(end,1,1,1);

line->InsertPoint(0,start);
line->InsertPoint(1,end);

DataNode::Pointer lineNode = DataNode::New();

lineNode->SetData(line);
lineNode->SetBoolProperty("show points", false);
lineNode->SetBoolProperty("show contour", true);


m_DataStorage->Add(lineNode);



----- Original Message ----- From: "Müller Michael" <[email protected]>
To: "'naresh'" <[email protected]>; <[email protected]>
Sent: Friday, August 20, 2010 5:33 PM
Subject: AW: [mitk-users] How to Draw 3D line


omg, the confusing code snippet is the strange outcome of some kind of outlook auto-completion. I try again (and this is the last attempt):

myPointSetDataNode->SetBoolProperty("show points", false);

myPointSetDataNode->SetBoolProperty("show contour", true);

-----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

<<attachment: untitled.JPG>>

------------------------------------------------------------------------------
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

Reply via email to