[vtkusers] Draw polygon around vtkImageSlice?
Sophonet
vtk at kant.sophonet.de
Mon Aug 1 07:54:26 EDT 2016
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?
Thanks,
Sophonet
More information about the vtkusers
mailing list