I have a polydata which I have textured with scalar points sampled from a volume . This volume has a vtkImagePlaneWidget cutting through it in the x-direction. <br>My initial setup was to extract the window/level from the vtkImagePlaneWidget, creat a vtkWindowLevelLookuptable and set the lookuptable to the polydata. <br>
<br>Sometimes the texture is dark. What my goal is when i change the window/level on the vtkImagePlaneWidget , the texture shading should change <br>as well. I do have a windowlevel interaction event I catch to do this , but i see that even though I update the values of the vtkWindowLevelLookupTable, the polydata shading does not change. <br>
<br>I tried calling Modified() on the polydata,lookuptable, the mapper etc. but it does not change . <br><br>What might I be missing here. Or is this even possible ?<br><br>Darshan<br>