The default lookup table for the mapper generates a color scale. You need to create a vtkWindowLevelLookupTable. Then,<br>mapper->SetLookupTable. You can adjust the Window/Level to get good contrast.<br><br><br><div class="gmail_quote">
On Wed, Oct 27, 2010 at 4:17 AM, Raúl Ferriz <span dir="ltr"><<a href="mailto:raul@torresyvalero.com">raul@torresyvalero.com</a>></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 text="#000000" bgcolor="#ffffff">
El 27/10/2010 2:16, Bill Lorensen escribió:
<blockquote type="cite"><div class="im">Is that the ruled surface? Before probing?<br>
<br>
</div><div class="gmail_quote">On Tue, Oct 26, 2010 at 7:13 AM, Ra�l
Ferriz <span dir="ltr"><<a href="mailto:raul@torresyvalero.com" target="_blank">raul@torresyvalero.com</a>></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 text="#000000" bgcolor="#ffffff"> El 26/10/2010 7:48,
Bill Lorensen escribi�:
<div class="im"><div>
<blockquote type="cite">
<pre>Try displaying the ruled surface.
</pre>
</blockquote>
</div>
The input is a dicom image, but this is the output:<br>
<img alt="image" src="cid:part1.09090800.08060903@torresyvalero.com" height="274" width="293"><br>
<br>
<br>
The lines are correctly defined and drawed (but not
colours). surface is totally wrong, dicom is greyscale and
not blue-red.<br>
</div></div><div class="im">
<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>
<br>
</div></blockquote>
</div>
<br>
</blockquote>
No that was after probe, with
RuledSurface->SetRuleModeToResample().<br>
<br>
Here you have before and after probe, but with
RuledSurface->SetRuleModeToPointWalk()<br>
Before:<br>
<img alt="Before" src="cid:part2.03000104.01050906@torresyvalero.com" height="187" width="185"><br>
After:<br>
<img alt="After" src="cid:part3.07070009.01050708@torresyvalero.com" height="189" width="197"><br>
<br>
Hope helps.<br>
<br>
</div>
<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>
<br></blockquote></div><br>