[vtkusers] WindowLevel Question

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Mon Feb 2 21:08:10 EST 2009


Thank's Shekhar!




2009/2/2 shekharc <Shekhar.Chandra at sci.monash.edu.au>

> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090203/ca58e2ce/attachment.htm>


More information about the vtkusers mailing list