[vtkusers] WindowLevel Question

shekharc Shekhar.Chandra at sci.monash.edu.au
Mon Feb 2 19:32:07 EST 2009


Hi Guys,

Have a look at vtkImageMapToWindowLevelColors class. It is automatically 
used in vtkImageViewer2 class where u just need to call functions

SetColorWindow (double s)
SetColorLevel (double s)

Hope that helps
Cheers
Shakes

Paulo Henrique Junqueira Amorim wrote:
> I too have the same questions.
> 
> 
> 
> 
> 
> 2009/1/30 Paul Jhin <paul.jhin1 at gmail.com <mailto:paul.jhin1 at gmail.com>>
> 
>     Hi,
> 
>     I'm using vtkInteractorStyleImage, I know it is possible to change
>     window and level without changing the data ?
> 
>     Code:
> 
>             istyle = vtk.vtkInteractorStyleImage()
>             istyle.AutoAdjustCameraClippingRangeOn()
>             interactor.SetInteractorStyle(istyle)
> 
> 
>     Regards,
>     Paul Jhin
> 
>     _______________________________________________
>     This is the private VTK discussion list.
>     Please keep messages on-topic. Check the FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list