Actually I am using vtkImageViewer2 to display the image. I am using vtkImageViewer2.setInput(data) then vtkImageViewer2.addActor(actor). But, the problem is actor is visible outside the image but not in the images.should the actor be a vtkActor2D? I am using the output from the vtkCutter cut using a vtkPlane, it uses only a vtkActor?<br>
<br>Thanks<br><br>Jothy<br><br><div class="gmail_quote">On Fri, Dec 11, 2009 at 7:52 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</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;">
Hi Jothy,<br>
<br>
When the opacity is not 1.0, the order in which you add the actors to<br>
the renderer becomes important.  If you want the actor be be in front,<br>
then you must add it after you add the image actor.<br>
<font color="#888888"><br>
   David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Dec 11, 2009 at 10:10 AM, KS Jothybasu &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Could someone please tell me my my actor are not visible on vtkImagedata,<br>
&gt; they appear as they are behind the image when I set the image opacity to<br>
&gt; 0.5.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Jothy<br>
</div></div></blockquote></div><br>