<div dir="ltr"><div><br></div><div>This looks like a bug in VTK?</div><div><br></div><div>I'm visualising a memory volume (vtkImageData) which is then connected to a vtkImageClip so that only the valid parts of the volume are rendered.</div>
<div><br></div><div>Connecting that clipper into a vtkImageViewer2 to view slices works fine; the invalid part of a slice is clipped off.</div><div><br></div><div>But connecting that same clipper into a vtkSmartVolumeMapper, which is set as the mapper of a vtkVolume, the display always shows the whole extent of my memory volume, ignoring the clipping.</div>
<div>I have set CroppingOn on the mapper, no effect.</div><div><br></div><div>If I set the mapper's clipping region with SetCroppingRegionPlanes then it clips as expected, but I would have expected the mapper to take notice of the "whole region" given by the clipper without me having to pass the clip information around my program myself.</div>
<div><br></div><div>Please can someone tell me if this is wrong, or if not for now perhaps a cheat so I can get the clipping region from the clipper and set it on the mapper.</div><div><br></div><div>Many thanks,</div><div>
<br></div><div>Richard</div><div><br></div>
</div>