[vtkusers] DelimitedTextReader

Luca Cinquepalmi cinquepalmi at planetek.it
Thu Jan 27 05:54:34 EST 2011


Hi,
I'm trying to execute the example presented at

http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/DelimitedTextReader

which read a csv file (x y z n) and visualize it. When i visualize my 
file the image is all black, while it should have the color/value 
expressed in "n" value. In my case n is a GrayScale value. How can i 
modify it? I think i should modify the command

actor->GetProperty()->SetColor(1,0,0);

bu I don't know how. Can anybody help me? Thanks a lot.

Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110127/b57831ce/attachment.htm>


More information about the vtkusers mailing list