saving luts
John Biddiscombe
j.biddiscombe at rl.ac.uk
Mon Apr 24 14:18:32 EDT 2000
Save the Hue, Satuaration, Value min and max. Save the scalar range
(optional), and when reloading it call Build to recreate the numbers in
between.
If you've done something more fancy (like piecewise functions or directly
setting your own values), then you might just as well, write out 256 r g b
vals and then read them in. There's no special vtk LUT format, but a simple
text ostream << r g b... will take you a long way.
John B
----- Original Message -----
From: Brian Alexander Todd <bat5 at po.cwru.edu>
To: <vtkusers at public.kitware.com>
Sent: Monday, April 24, 2000 5:35 PM
Subject: saving luts
> Dear vtkusers,
>
> I'm writing an app with vtk and want the users to be able
> to save and open their look up tables. If anyone has implemented
> a file format/reader/anything along these lines I would
> like to here about it.
>
> Also general pointers and links to other sources of information would
> be appreciated.
>
> Thanks,
> Brian
>
>
> Brian Todd "Evidently the operation of
> email: bat5 at po.cwru.edu differentiation is rather
> home: (216) 321-8882 unpleasent. It can transform
> office: (216) 368-4209 a nice function into one much
> fax: (216) 368-4969 less behaved" -GM Wing
>
> --------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at public.kitware.com>. For help, send message body containing
> "info vtkusers" to the same address.
> --------------------------------------------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list