[vtkusers] How to set const lookup table into vtkPiecewiseFunction?

Cory Quammen cory.quammen at kitware.com
Fri Nov 6 13:27:44 EST 2015


I think you'll need to use vtkPiecewiseFunction and
use vtkPiecewiseFunction::AddSegment() [1] to add segments
between neighboring entries in your table.

HTH,
Cory

[1]
http://www.vtk.org/doc/nightly/html/classvtkPiecewiseFunction.html#add92350b9d1803d1fecad7cd1220b068

On Fri, Nov 6, 2015 at 2:47 AM, LaChen <sam24666806 at gmail.com> wrote:

> Hi all,
>
> I needs to use my lookup table for volume rendering.
>
> But we only can set transfer function by vtkPiecewiseFunction.
>
> If I needs to set look up table, how can I set it??
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-set-const-lookup-table-into-vtkPiecewiseFunction-tp5734831.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151106/46125e15/attachment.html>


More information about the vtkusers mailing list