[vtkusers] How to cut and flat a volumedata with an spline

Bill Lorensen bill.lorensen at gmail.com
Wed Oct 27 08:43:51 EDT 2010


The default lookup table for the mapper generates a color scale. You need to
create a vtkWindowLevelLookupTable. Then,
mapper->SetLookupTable. You can adjust the Window/Level to get good
contrast.


On Wed, Oct 27, 2010 at 4:17 AM, Raúl Ferriz <raul at torresyvalero.com> wrote:

>  El 27/10/2010 2:16, Bill Lorensen escribió:
>
> Is that the ruled surface? Before probing?
>
> On Tue, Oct 26, 2010 at 7:13 AM, Ra�l Ferriz <raul at torresyvalero.com>wrote:
>
>>  El 26/10/2010 7:48, Bill Lorensen escribi�:
>>
>> Try displaying the ruled surface.
>>
>>  The input is a dicom image, but this is the output:
>> [image: image]
>>
>>
>> The lines are correctly defined and drawed (but not colours). surface is
>> totally wrong, dicom is greyscale and not blue-red.
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>  No that was after probe, with RuledSurface->SetRuleModeToResample().
>
> Here you have before and after probe, but with
> RuledSurface->SetRuleModeToPointWalk()
> Before:
> [image: Before]
> After:
> [image: After]
>
> Hope helps.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101027/14f0e5bb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3191 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101027/14f0e5bb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5773 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101027/14f0e5bb/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 10252 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101027/14f0e5bb/attachment-0002.png>


More information about the vtkusers mailing list