[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] vtkLookupTable for scalars mapping in vtkImageData
From:       Pablo Lecumberri <pablo.lecumberri () unavarra ! es>
Date:       2005-01-31 17:46:08
Message-ID: 5.1.0.14.0.20050131182758.032f3668 () si ! unavarra ! es
[Download RAW message or body]

Hi VTK users,

I'm trying to change the vtkLookupTable associated to the output of a 
vtkImageMapToColors filter, but I can't find it.
I just want to change one color, leaving everything else untouched.
I've tried

vtkLookupTable *LUT = rep->GetPointData()->GetScalars()->GetLookupTable();

where "rep" is a copy of the output of a vtkImageMapToColors filter, but 
LUT is NULL.
Does anybody know where it is stored?

Thanks a lot!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic