<div dir="ltr">You could manipulate the vtkActor::SetPosition() and their opacity.<br><br>Jothy<br><br><div class="gmail_quote">On Fri, May 25, 2012 at 9:49 AM, jimmigoo <span dir="ltr"><<a href="mailto:jimmigoo@gmail.com" target="_blank">jimmigoo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody!<br>
<br>
I would like to know if there is one or more methods in any vtk class,<br>
that allow you to set a kind of ORDER to vtkActors to be rendered.<br>
I'll try to explain my problem with the attached image below.<br>
<br>
I have two vtkImageData (the red is the front one, the green is the back one<br>
),<br>
with the same FieldData array inside them, and each scalar value is the same<br>
in both vtkImageData.<br>
<br>
When I apply my pipeline, using vtkThreshold and vtkScalarWarp filters,<br>
it seems that VTK rendering doesn't recognize which actor has to be rendered<br>
as first,<br>
and the graphic result is a sort of multiple cut of the first image,<br>
maybe because VTK recognizes both vtkActors at the same elevation value,<br>
and doesn't know which one has to be represented.<br>
<br>
I found a method named BackfaceRender in vtkProperty class,<br>
I tried using<br>
<br>
vtkSecondActor->BackFaceRender(vtkFirstActor, vtkRenderer),<br>
<br>
but it doesn't work.<br>
<br>
Does anyone know this problem?<br>
I really appreciate any kind of comments or suggest,<br>
I'm looking for your reply,<br>
<br>
Regards,<br>
<br>
Francesco<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n5713391/overlay.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5713391/overlay.png</a><br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Set-an-order-to-vtkActor-rendering-tp5713391.html" target="_blank">http://vtk.1045678.n5.nabble.com/Set-an-order-to-vtkActor-rendering-tp5713391.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>