[vtkusers] Reverse vtkWarpScalar
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Thu Apr 26 11:24:09 EDT 2001
hi,
>>>>> "Brian" == Brian A Todd <bat5 at po.cwru.edu> writes:
Brian> Hello vtkusers,
Brian> I have generated a vtkPolyData model of a surface and now I
Brian> want to turn it into a 2D elevation map (ie height(i,j)).
Brian> Could someone point me towards a pipeline that will do
Brian> this? I've been spinning my wheels for over 24 hours now.
Well, you may have already tried this but cant you use the
vtkWarpScalar class? Look at the following:
in graphics/examplesPython
$ grep -l warp *
blow.py
dispPlot.py
expCos2.py
imageWarp.py
rectGrid.py
smoothCyl.py
spToPd.py
velProf.py
vib.py
warpComb.py
$
I think expCos2.py looks something like what you might want. There
are similar examples in Tcl also.
Hope this helps.
prabhu
More information about the vtkusers
mailing list