<div dir="ltr">What if you set seedactor.SetPosition(x,y,z), where z is the same as your setZslice or +/- 1 setZSlice. In this case you don&#39;t need to hide the seed actors. viewer2 will automatically hide them.But it would take some time for you to figure out the correct Z values for axial sagitall and coronal. <br>
<br>For me this seems to be a more faster and simpler approach.<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 5:00 PM, Nicolas Rannou <span dir="ltr">&lt;<a href="mailto:nicolas_rannou@hms.harvard.edu">nicolas_rannou@hms.harvard.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Thanks Jothy,<br>
<br>
I&#39;m afraid that at some point &quot;manually&quot; hiding actors which are out of
the current slice takes too much time (if thousands of actors).<br>
But the strange thing is that after moving through a few slices the
actor &quot;disappears&quot; from my view so what I see is not just a projection
of the 3d seed actors.<br>
<br>
Thanks,<br><font color="#888888">
<br>
    Nicolas</font><div class="im"><br>
<br>
On 04/13/2010 10:06 AM, Jothybasu K Selvaraj wrote:
<blockquote type="cite">
  <div dir="ltr">It seems to be a depth problem.vtkImageViewer2
displays all the actors whicher is above the image.To check ,comment
the setupInteractor and see it in 3D.<br>
  <br>
I would suggest you to hide the actors which ever is out of current
slice.<br>
  <br>
Jothy<br>
  <br>
  <div class="gmail_quote">On Tue, Apr 13, 2010 at 2:49 PM, Nicolas
Rannou <span dir="ltr">&lt;<a href="mailto:nicolas_rannou@hms.harvard.edu" target="_blank">nicolas_rannou@hms.harvard.edu</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
    <br>
I&#39;m experimenting some troubles using vtkSeedWidget.<br>
    <br>
I visualize a volume (*.mhd) in a vtkImageViewer2.<br>
Then I use vtkSeedWidget to select some points through the volume.<br>
    <br>
The problem is that when I select one point in one slice, then move to
another slice to select another point, I can see the actor of the first
selected point even if I am not on the same slice anymore.<br>
If I move further, the first point will not be visible after some more
slices...<br>
The coordinates (real world coordinates) of all the created points are
good.<br>
    <br>
The problem must be in the visualization/actors somewhere...<br>
    <br>
I tried to use vtkConstrainedPointHandleRepresentation and
vtkImageActorPointPlacer without success.<br>
    <br>
Did somebody already face this issue or have any advice?<br>
    <br>
    <br>
Thanks for your help,<br>
  </blockquote>
  </div>
  </div>
</blockquote>
<br>
</div></div>

</blockquote></div><br></div>