[vtkusers] transformation problem..
Jason Lee
jsn_lee at hotmail.com
Fri Mar 2 10:50:41 EST 2001
I am trying to perform scaling transformation on STRUCTURED_POINTS
data...but doesn'twork, although rotation works fine...
Can anyone look at the code and tell me what I am doing wrong..?
.......
vtkStructuredPointsGeometryFilter toGeometry
toGeometry SetInput [reader GetStructuredPointsOutput]
vtkTransform nerveTransform
nerveTransform Scale 20.0 20.0 1.0
nerveTransform RotateX 180.0
vtkTransformFilter nerveTransformFilter
nerveTransformFilter SetInput [toGeometry GetOutput]
nerveTransformFilter SetTransform nerveTransform
......................
thanks...Jason..
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the vtkusers
mailing list