[vtk-developers] LayerNumber property of an ImageSlice without ImageStack

David Gobbi david.gobbi at gmail.com
Tue Apr 24 18:02:26 EDT 2012


You are correct.  Layer numbers are only for stacks.  The header
file documentation already says this, it was just missing the
// Description line so the comment wasn't picked up by doxygen.
I'll fix the line.

 - David


On Tue, Apr 24, 2012 at 3:24 PM, David Doria <daviddoria at gmail.com> wrote:
> Am I correct that the LayerNumber property of vtkImageSlice does not
> do anything if the slice is not in a vtkImageStack? It seems like the
> same behavior should occur if I add two slices to the renderer or if I
> add two slices to a stack and then add the stack to the renderer, but
> the LayerNumbers only seem to be obeyed in the later.
>
> At the very least perhaps a note here:
> http://www.vtk.org/doc/nightly/html/classvtkImageProperty.html#a1f26f7693d9b7ce86a850a0c5c1a5bc3
> or here: http://www.vtk.org/doc/nightly/html/classvtkImageProperty.html#ac2c1b6c138e1112469beb10783c4dcaa
> explaining the difference?
>
> Thanks,
>
> David



More information about the vtk-developers mailing list