I have a triangle surface mesh that contains Cell based RGB attribute
array. I would like to color by that array, ie, not using a Lookup
table or interpolation. When I load my data set the cell data is
listed, but in the "color by" drop down list the scalar array is not
listed as a choice.
On a "whim" I then ran the "Cell Data to Point Data" filter on the
data. At that point I was able to select the scalar array to "Color
By" and the surface mesh now has the correct colors.
I know if I were to code this up in straight VTk I can set the
rendering to be by Cells:
vtkPolyDataMapper *cubeMapper = vtkPolyDataMapper::New();
cubeMapper->SetInput(filter->GetOutput());
cubeMapper->SetScalarVisibility(1);
cubeMapper->SetScalarModeToUseCellData();
How do I get the same effect in ParaView?
Thanks
_________________________________________________________
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
_______________________________________________
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