<p>Hi all,<br /><br />I’m using a vtkImageViewer2 to vizualize the vtkImagedata slices using vtkSliderWidget for that.<br />It´s ok. <br />My problem is that I need alternate another widgets with vtkImageViewer2. I need, for example, use a vtkSplineWidget<br />to select a curve in the current slice displayed in vtkImageViewer2.<br />How can I do it ?<br /><br />I have not can restrict the spline curve in vtkImageViewer2 plane all time.<br /><br />Thanks all,<br /><br /><br />A fragment of my code:<br /><br /> ...<br /> this-&gt;m_pShifter = vtkImageShiftScale::New();<br /> …<br /> this-&gt;m_pShifter-&gt;SetInput(m_pImageData);<br /> …  <br /> this-&gt;m_iv = vtkImageViewer2::New();<br /> this-&gt;m_iv-&gt;SetInput(this-&gt;m_pShifter-&gt;GetOutput());<br /> …<br /> this-&gt;m_pSldRepr2D = vtkSliderRepresentation2D::New();<br /> …<br /> this-&gt;m_pSldWidget = vtkSliderWidget::New();<br /> this-&gt;m_pSldWidget-&gt;SetInteractor(this-&gt;m_iren);<br /> this-&gt;m_
 pSldWidget-&gt;SetRepresentation(this-&gt;m_pSldRepr2D);<br /> this-&gt;m_pSldWidget-&gt;KeyPressActivationOff();<br /> this-&gt;m_pSldWidget-&gt;SetAnimationModeToAnimate();<br /> this-&gt;m_pSldWidget-&gt;SetEnabled(true);<br /> …<br /> this-&gt;m_pSldCallback = vtkSLDWCallback::New();<br /> this-&gt;m_pSldWidget-&gt;AddObserver(vtkCommand::AnyEvent, this-&gt;m_pSldCallback);  <br /><br />Att,<br />Luis Alberto pereira</p>