[vtk-developers] vtkImagePlaneWidget fixes before release
Will Schroeder
will.schroeder at kitware.com
Fri Apr 19 06:07:35 EDT 2002
Hi Dean-
Great job communicating.
At 12:16 PM 4/18/2002 -0700, Dean Inglis wrote:
> I have a problem with the cross
>hairs though: to determine which side of the vtkPlaneSource to plot the
>cross hairs on I take the dot product with the plane normal and the current
>camera's direction of projection. If the plane is zoomed in too closely this
>does not work: either the cross hairs are not plotted or they are plotted on
>the flip side.
To make sure the lines draw on top of the plane, invoke the method
vtkMapper::SetResolveCoincidentTopologyToPolygonOffset(). You may have to
change the order in which the line actor is added relative to the plane
(I'm not sure about this).
Will
More information about the vtk-developers
mailing list