[vtkusers] Draw polygon around vtkImageSlice?
vtk at kant.sophonet.de
Mon Aug 1 11:08:27 EDT 2016
Okay, I managed this myself by cutting the extracted outline of the
input image with the viewing plane (using vtkCutter).
Am 2016-08-01 13:54, schrieb Sophonet:
> Hi list,
> in my previous VTK code I was successfully using
> vtkImageActor::GetDisplayBounds() and vtkOutlineSource etc. to draw an
> outline around the currently shown 2D slice. After refactoring to
> vtkImageResliceMapper and vtkImageSlice, I have not found a matching
> function: vtkImageResliceMapper::GetBounds() contains a comment
> "Modify to give just the slice bounds" and indeed always returns the
> bounds of the 3D input image.
> Any suggestions?
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers