[vtkusers] plane widget occluding the view?
v.varadhan at californiadigital.com
v.varadhan at californiadigital.com
Mon Mar 8 05:58:24 EST 2004
Hi yang,
If i understand your question correctly, i think you require three widgets
with normals as z, y and x (XY, YZ and XZ views of a dataset). In that
case you can use vtkImagePlaneWidget and it is possible to place more than
one planewidget in a scene.
By changing the normal through SetPlaneOrientationToXAxes(),
SetPlaneOrientationToYAxes() and SetPlaneOrientationToZAxes(), you can get
widgets with normals set to x, y or z.
Regards,
V. Varadhan.
>
> Hi everyone,
>
> I use a planewidget as a kind of movable backdrop in the scene. Sometimes
> it seems to ignore the depth so that it occludes entire objects in front
> of and behind the plane. If I restart the program, it usually is fine.
> Does anyone encounter the same problem?
>
>
> Another questions regarding the planewidget:
>
> 1) Can I place more than one planewidgets in a scene, like three widgets
> every axis?
>
> 2) How can I place the widget prependucular to axes other than X-axis?
> NormalYAxisOn() doesn't do anything for me.
>
>
> Thanks!
> k.
>
>
>
>
> _______________________________________________
> 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