Lookup Table Editing: Difference between revisions

From ParaQ Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 1: Line 1:
One of the ParaView 2.4 functionality we have to duplicate and potentially improve on the Qt interface is the lookup table editing. Currently, ParaView 2.4 has a special way of handling lookup tables. There is one lookup table per array name. When a representation is first colored by an array, ParaView checks if a lookup table for that array exists
One of the ParaView 2.4 functionality we have to duplicate and potentially improve on the Qt interface is the lookup table editing. Currently, ParaView 2.4 has a special way of handling lookup tables. There is one lookup table per array name. When a display is first colored by an array, ParaView checks if a lookup table for that array exists. Something like:
<pre>
  vtkPVColorMap* colorMap = this->GetPVWindow()->GetPVColorMap(
    arrayname, arrayInfo->GetNumberOfComponents());
  this->ColorByArray(colorMap, field);
</pre>
 
 
[[Image:Lookuptable.jpg]]
[[Image:Lookuptable.jpg]]

Revision as of 10:52, 5 June 2006

One of the ParaView 2.4 functionality we have to duplicate and potentially improve on the Qt interface is the lookup table editing. Currently, ParaView 2.4 has a special way of handling lookup tables. There is one lookup table per array name. When a display is first colored by an array, ParaView checks if a lookup table for that array exists. Something like:

  vtkPVColorMap* colorMap = this->GetPVWindow()->GetPVColorMap(
    arrayname, arrayInfo->GetNumberOfComponents());
  this->ColorByArray(colorMap, field);


Lookuptable.jpg