[vtkusers] Question about color map.

Peter meancity at gmail.com
Wed Apr 26 04:39:36 EDT 2006


vtkLookupTable table
  table SetTableRange  int int
  table SetHueRange  dec dec
  table SetSaturationRange dec dec
  table SetValueRange dec dec
  table Build

above 0<dec<1

vtkImageMapToColors saggitalColors
  saggitalColors SetInput datainput
  saggitalColors SetLookupTable table



do u understand above code? try it out and read the vtk manual

hope it helps




On 4/25/06, ccyx chen <ccyxcn at gmail.com> wrote:
>
> I want to display a 3D-surface with color map.one point have
> X,Y,Z,pressure.X,Y,Z to display the surface and show the pressure in the
> surface used color map like high pressure used red color,low pressure used
> blue color.
>
> Someone tell me used vtkLookupTable.i tried but it dosn't work.
>
>
> Can someone give me some help?or what class could i use?
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>



More information about the vtkusers mailing list