[vtkusers] vtkImagePlaneWidget

Veerapuram Varadhan v.varadhan at gmail.com
Wed Sep 1 06:18:22 EDT 2004


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 <mcoursolle at yahoo.ca>
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:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list