<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">If your contour is made of lines, you
try to</font>
<br><font size=3>call GetProperty()-&gt;</font><a href=http://www.vtk.org/doc/nightly/html/classvtkProperty.html#2a4bdf2f46dc499ead4011024eddde5c><font size=3 color=blue><u>SetRepresentationToWireframe</u></font></a><font size=3>()
on your contour actor</font>
<br><font size=2 face="sans-serif">and tweak the vtkMapper::</font><a href=http://www.vtk.org/doc/nightly/html/classvtkMapper.html#8144a2d8fe4c4b89b11683a419626771><font size=3 color=blue><u>ResolveCoincidentTopology</u></font></a><font size=3>*
parameters</font>
<br>
<br><font size=2 face="sans-serif">Stephane<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>joelthelion@laposte.net</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : vtkusers-bounces@vtk.org</font>
<p><font size=1 face="sans-serif">23/04/2009 10:04</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">vtkusers@vtk.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [vtkusers] What happens when two
actors are at the same depth?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
<br>
<br>
Francois Bertel wrote:<br>
&gt; <br>
&gt; <br>
&gt; One (not &quot;the&quot;) solution is to place the vtkImageActor in
a<br>
&gt; vtkRenderer of layer 0 and place the contour in a vtkRenderer of layer<br>
&gt; 1.<br>
&gt; <br>
&gt; <br>
<br>
Thanks for the answer. While this seems to be a clean solution, duplicating<br>
the renderer means duplicating camera code, rendering etc. everywhere...
So<br>
I think I'll use a simpler solution instead, like a TubeFilter to add some<br>
thickness to the contour or simply adding a little shift to the depth of
the<br>
contour (but that's not great either, because if I change the orientation
of<br>
the camera I'll have to change the shift too).<br>
<br>
Thanks again.<br>
-- <br>
View this message in context: http://www.nabble.com/What-happens-when-two-actors-are-at-the-same-depth--tp23175458p23192203.html<br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
</font></tt>
<br>