[vtkusers] vtkImagePlaneWidget

Mathieu Coursolle mcoursolle at yahoo.ca
Wed Sep 1 10:01:50 EDT 2004


Thank you.
But I can make the margins disappears, but the
I can still rotate the planes when I click within the 
unvisible margin region.
Is there a way to just disable that functionality?
Thanx.
 
MAthieu

Veerapuram Varadhan <v.varadhan at gmail.com> wrote:
Hi,
Try setting the opacity of the marginactor to zero.

For example:
vtkImagePlaneWidget* imgPlaneWgt = vtkImagePlaneWidget::New();
...
...
...
...
imgPlaneWgt->GetMarginProperty()->SetOpactiy (0.0);
imgPlaneWgt->SetEnabled (1);

Once an actor has become "transparent", the picker will not pick it. :)

HTH,

V. Varadhan.

----- Original Message -----
From: Mathieu Coursolle 
Date: Tue, 31 Aug 2004 12:41:01 -0400 (EDT)
Subject: [vtkusers] vtkImagePlaneWidget
To: vtkusers at vtk.org


Hi, 
Does anyone knows how to disable the margins in a 
vtkImagePlaneWidget, I don't want the user to be able to rotate 
the plane. 
Thank you. 

MAthieu


________________________________
Post your free ad now! Yahoo! Canada Personals




_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



---------------------------------
Post your free ad now! Yahoo! Canada Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040901/93fa11ba/attachment.htm>


More information about the vtkusers mailing list