[vtk-developers] Color by Scalars : Structured Grid data

Bikash Agarwal agarwa4 at gmail.com
Tue Feb 27 11:19:23 EST 2007


Hi All,

I have a .vtk datafile which has structured grid data. I am trying to add a
property "scalars" to it in paraview so that I can choose to color the
object using that. I can see the data array "scalars" in the infornation tab
for the object but not the in the "color by" option in the display tab

I was able to to that using an unstructured grid datafile.

The datafile is copied below.

# vtk DataFile Version 3.0
elevation
ASCII
DATASET STRUCTURED_GRID
DIMENSIONS 2 2 2
POINTS 8 float
0.000000 0.000000 0.000000
0.000000 0.000000 1.000000
0.000000 1.000000 0.000000
0.000000 1.000000 1.000000
1.000000 0.000000 0.000000
1.000000 0.000000 1.000000
1.000000 1.000000 0.000000
1.000000 1.000000 1.000000

POINT_DATA 8
SCALARS scalars float
LOOKUP_TABLE default



thanks,

bikash


--------------------------------
BIkash Agarwal
Virtual Reality Co-op
MIRARCO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20070227/131a66f0/attachment.html>


More information about the vtk-developers mailing list