Out of curiosity, how was the pqColorMapModel created? It's generally easier to directly manipulate the properties of a lookup table proxy. To provide you with the easiest path forward, I was wondering what your setup is. Has the user chosen the array to color by and now you want to change the existing LUT's properties or do you want to setup a brand new LUT for this representation. In case of former, any other representation being colored with the same array will automatically use your changed LUT, which won't be the case with the latter.
Utkarsh On Fri, Jun 10, 2011 at 1:35 PM, Reuter, Michael A. <[email protected]> wrote: > 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: [email protected]<mailto:[email protected]> > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
