[vtkusers] vtkPointWidget

Matthias Riechmann riechmann at ira.uka.de
Thu Feb 14 09:30:36 EST 2008


can anybody give me a code snippet how to add a vtkPointWidget to be 
able to move in around using the mouse? My problem: After adding it to 
the scene the same way I did it before when using the sphere- or 
line-widget I cannot see it on the screen. As a result it's not possible 
to use it interactively. My code (okay, this is for using line widget, 
but there shouldn't be much of a difference, should it?):

	drillChannel->lineWidget = vtkLineWidget::New();

Do I have to follow special protocols when using the point-widget? I'm 
using vtk 5.0.3.


Dipl.-Inform. Matthias Riechmann
Institut für Prozessrechentechnik, Automation und Robotik
Universität Karlsruhe (TH)
Gebäude 40.28, Zimmer 103
Engler-Bunte-Ring 8
76131 Karlsruhe

Fon: +49 (721) 608-4049
Fax: +49 (721) 608-7141

Web: http://wwwipr.ira.uka.de/~richmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riechmann.vcf
Type: text/x-vcard
Size: 518 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080214/7a54c725/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3319 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080214/7a54c725/attachment.bin>

More information about the vtkusers mailing list