[vtkusers] vtkLineWidget2 - customize/restrain interaction?

Matthias Riechmann riechmann at ira.uka.de
Thu Apr 10 03:20:01 EDT 2008


Hi,

that's something I was interested, too. But while trying to implement an 
alternative version of vtkLineWidget I discovered some - I don't want to 
call it hack, but it's a weired construct - problems in the 
"architecture" of the widgets "framework": vtkLineWidget makes use of 
vtkPointWidget and calls it's ProcessEvents method, which is protected 
but a friend of vtkLineWidget meaning this method can only be called 
from vtkPointWidget or the ORIGINAL vtkLineWidget. So the problem is: 
You can't just copy and modify the code of vtkLineWidget without making 
changes within the VTK. So a complete redesign of the line widget would 
be necessary and possibly this still would not work out. At this point I 
decided the original line widget isn't that bad anyway...

But maybe one of the vtk developers has a better idea. Besides I heard 
about effords of redisigning the 3d widget. But maybe those are only 
rumors...


Matthias





Sven Prevrhal schrieb:
> Hi community –
> 
>  
> 
> I just want to translate/rotate them but not resize them
> 
>  
> 
> Thank you and cheers,
> 
> Sven
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dipl.-Inform. Matthias Riechmann
Institut für Prozessrechentechnik, Automation und Robotik
Medizin-Gruppe
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/20080410/f02c9493/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/20080410/f02c9493/attachment.bin>


More information about the vtkusers mailing list