<div dir="ltr">Hi all,<div><br></div><div>I am using vtkResliceImageViewer and vtkImagePlaneWidget to show slice planes. My problem is that i can't obtain the same behavior of the image viewer for the plane widget. Please see the attached figure where the green colored voxels have a smooth transition in the image viewer and in the case of the plane widget they look bigger. I am setting the plane widget in this way:</div><div><br></div><div><div>vtkSmartPointer<vtkProperty> ipwProp2 = vtkSmartPointer<vtkProperty>::New();</div><div><span style="white-space:pre">  </span>t_planeWidget = vtkSmartPointer<vtkImagePlaneWidget>::New();</div><div><span style="white-space:pre">    </span>t_planeWidget->SetInteractor(iren);</div><div><span style="white-space:pre">        </span>t_planeWidget->SetPicker(picker);</div><div><span style="white-space:pre">  </span>t_planeWidget->RestrictPlaneToVolumeOn();</div><div><span style="white-space:pre">  </span>double t_color[3] = { 1, 1, 1 };</div><div><span style="white-space:pre">      </span>t_planeWidget->GetPlaneProperty()->SetColor(t_color);</div><div><span style="white-space:pre">   </span>t_planeWidget->SetTexturePlaneProperty(ipwProp2);</div><div><span style="white-space:pre">  </span>t_planeWidget->TextureInterpolateOff();</div><div><span style="white-space:pre">    </span>t_planeWidget->SetResliceInterpolateToLinear();</div><div><span style="white-space:pre">    </span>t_planeWidget->SetInputData(m_data.m_visualization_segmented_volume);</div><div><span style="white-space:pre">      </span>t_planeWidget->SetPlaneOrientation(0);</div><div><span style="white-space:pre">     </span>t_planeWidget->SetSliceIndex(imageDims[0] / 2);</div><div><span style="white-space:pre">    </span>t_planeWidget->SetDefaultRenderer(ren);</div><div><span style="white-space:pre">    </span>t_planeWidget->GetTexture()->SetLookupTable(lookupTable);</div><div><span style="white-space:pre">       </span>t_planeWidget->GetTexture()->MapColorScalarsThroughLookupTableOn();</div><div><span style="white-space:pre">     </span>t_planeWidget->On();</div><div><span style="white-space:pre">       </span>t_planeWidget->InteractionOff();</div></div><div><br></div><div>Both objects are sharing the same image (i.e. m_data.m_visualization_segmented_volume) and the same lookup table. I don't know if the texture is resampled or something like that. In summary i want to obtain the same image in both objects, the vtkImageActor of the image viewer and the vtkActor of the plane widget. I am using VTK 7.1.0.</div><div><br></div><div>Thank you</div></div>