View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003661VTK(No Category)public2006-08-25 11:352011-04-15 19:29
ReporterDavid Gobbi 
Assigned ToWill Schroeder 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003661: The vtkImageActor has no SetSliceNumber method, SetZSlice mis-documented
DescriptionThe vtkImageActor has a difficult-to-use interface. The only way to set which slice to view is by calling SetDisplayExtent().

The SetZSlice() method documentation says that it works for all orientations, but it fact it does not, it only works for XY-oriented slices.

This class really needs a SetSliceNumber() method, and a SetSliceOrientation() method too, to specify whether slices are XY, YZ, or XZ.

I think the best way to implement this is to add a SliceNumber ivar and a SliceOrientation ivar, and these ivars will be taken into account when the new ComputedDisplayExtent is calculated. For backwards compatibility, when SetDisplayExtent is set to reflect a single slice, the SliceNumber and SliceOrientation will have to be set accordingly.

Just my two cents.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0026194)
David Gobbi (developer)
2011-04-15 19:29

This bug report is obsolete, the vtkImageSliceMapper provides the desired methods.

 Issue History
Date Modified Username Field Change
2011-04-15 19:29 David Gobbi Note Added: 0026194
2011-04-15 19:29 David Gobbi Status tabled => closed
2011-04-15 19:29 David Gobbi Resolution open => no change required
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team