[vtkusers] SetVectors
stephanie.prudhomme at incka.fr
stephanie.prudhomme at incka.fr
Mon Feb 13 02:42:40 EST 2006
Hi,
I would like print vector results (arrows on each node) with vtk4.2 (and tcl)
But nothing appeared
Can you tell me why?
or give to me a simple example which run
Thanks
Stéphanie
vtkUnstructuredGrid grid
vtkHedgeHog hog
vtkDataSetMapper hogMap
vtkActor Actor
vtkDoubleArray vectors
vectors SetNumberOfComponents 3
-------------
[ grid GetPointData ] SetVectors vectors
hog SetInput grid
hog SetVectorModeToUseVector
hogMap SetInput [grid GetOutput]
actor SetMapper hogMap
renderer AddActor actor
More information about the vtkusers
mailing list