SetVectors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SetVectors

stephanie.prudhomme



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
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers