[vtkusers] Display issue of vtkImageViewer2 for Sagittal and Coronal view

Liu_tj tjlp at netease.com
Mon Mar 7 19:56:07 EST 2016


I solve it. When I display the DICOM image first time, I should set the orientation first then set the slice number.





在2016-03-07,"Liu_tj" <tjlp at netease.com> 写道: -----原始邮件-----
发件人:"Liu_tj" <tjlp at netease.com>
发送时间:2016年03月7日 星期一
收件人:"vtkusers" <vtkusers at vtk.org>
主题:[vtkusers] Display issue of vtkImageViewer2 for Sagittal and Coronal view


Hi, VTK expert guys,

At present I use vtkImageViewer2 to display 3 views of DICOM series. Now I have display issue for Sagittal and Coronal view. When display the first (number 0) slice, all 3 views are fine. However, when I use the mousewheel to change the slice number by vtkImageViewer2::SetSlice(), Sagittal and Coronal view won't display anything. Axial view is ok.

For the plane orientation, I call vtkImageViewer2::SetSliceOrientationToYZ() for Coronal view, and vtkImageViewer2::SetSliceOrientationToXZ() for Sagittal view.

Thanks
Liu Peng





 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160308/72e8fbee/attachment.html>


More information about the vtkusers mailing list