[Paraview] Setting a color map

Reuter, Michael A. reuterma at ornl.gov
Fri Jun 10 13:35:25 EDT 2011


Hi,

 I have a pqColorMapModel that I want to programmatically (C++) set on a pqPipelineRepresentation. I've been looking at the code and thought that the way forward was via pqScalarsToColors and setting the LookupTable property on the representation. However, I don't see a way to translate between the pqColorMapModel and pqScalarsToColors. What is the correct way to handle this situation?

Thanks,
M


Dr. Michael Reuter
Scientific Data Analysis Group
Neutron Scattering Science Division
Oak Ridge National Laboratory

Office: 1-865-241-7216
Fax: 1-865-574-6080
Email: reuterma at ornl.gov<mailto:reuterma at ornl.gov>



More information about the ParaView mailing list