I am currently working on a visulalizer which makes use of ParaView. I am running into an issue when manipulating the lookup table for a newly added source.
Here is my issue in detail:
First I load a source. I then set the lookup table to have a specific range. I get the representation repr and do the following:
pqScalarsToColors* stc = repr->getLookUpTable();
stc->setScalarRange(min, max);
repr->getProxy()->UpdateVTKObjects();
repr->renderViewEventually();
I have min set to a value which is smaller than the lowest entry of the data set and max is set to a value which is also smaller than the highest entry of the data set.
Looking at the displayed scalar range, it seems that the lookup table is set to my min value and to the highest entry of the data set instead of my max value.
When I do the same thing with max being set higher than the largest value of the data set, I don't get this issue.
What am I missing?
Thanks
Anton
This message is commercial in confidence and may be privileged. It is intended for the
addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited.
If you have received this message in error, please inform the sender immediately. Please note that
messages sent or received by the Tessella e-mail system may be monitored and stored in an
information retrieval system.
_______________________________________________ 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://public.kitware.com/mailman/listinfo/paraview
