[vtkusers] vtkWarpVector

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat Oct 13 00:13:54 EDT 2001


hi,

>>>>> "RC" == Robert E Campbell "Campbell, Robert E" <recampb at sandia.gov> writes:

    RC> Hi, is anyone familiar with the vtkWarpVector class?  I cannot
    RC> figure out how to set the dx, dy, dz displacements for the
    RC> vector in order to do the warping and all of the examples I
    RC> find use the vtkUnstructuredGridReader with a .vtk file which
    RC> is not what I want to do.  Anyone know how to do this without
    RC> using the reader?  Thanks -Bob

The filter basically moves all points by scalefactor*vector.  So if
you have a bunch of points, say.  You need to associate Vector data
attributes with these points and pass them along thru the filter.
Then the filter will move those points as I said before by its
vector*scalefactor.  I dont know if this is what you wanted to know.

prabhu



More information about the vtkusers mailing list