[vtkusers] vtkImageMapper Help
Abhi Rampal
a_rampal at hotmail.com
Wed Jun 15 12:20:49 EDT 2005
Good Day,
I am newbie at VTk. Is there an alternative to vktImageMapper? It does a
great job of displaying 2D images (in my case slicers) but it does not
resize the image as the rendering window resizes. I tried vtkDataSetMapper
which took all the slicers combined them (on top of each other) mapped them
to the graphics system which allowed me to resize the combined dicom slicers
as the rendering window was resized. This is what I want but I would like it
in 2D, i.e. no camera movements only the choice of changing the window and
color level. Does anyone have a solution to this? I have read on the vtkuser
archives that slicer could be mapped as a texture but (as far as I know)
this allows for camera movements and I am not interested in it for now. BTW
I am reading these slicers with vtkImageReader and then using either
vtkImageViewer to display them or using the following pipeline:
vtkImageMapper->vtkActor2D->vtkRenderer->vtkRenderWindow->vtkRenderWindowInteractor.
Thank you and with Kind Regards,
Abhi
More information about the vtkusers
mailing list