Hi Naresh, Please take a look at the documentation of the pointset mapper: <http://docs.mitk.org/nightly-qt4/classmitk_1_1PointSetVtkMapper3D.html>. It describes the properties that the mapper will evaluate. Default line with is 1mm, so if you have really small lines, you might want to adjust the "contoursize" property.
Regards, Jochen > -----Ursprüngliche Nachricht----- > Von: naresh [mailto:[email protected]] > Gesendet: Freitag, 20. August 2010 15:09 > An: Müller Michael > Cc: [email protected] > Betreff: Re: [mitk-users] How to Draw 3D line > > 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 ------------------------------------------------------------------------------ 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
