[vtkusers] Re: resetting the transformation

Luca Pamparana deluded.soul at gmail.com
Fri Aug 25 08:40:49 EDT 2006


Ok, never mind. Figured it out... I had to call the Identity() function.

On 8/25/06, Luca Pamparana <deluded.soul at gmail.com> wrote:
>
> Hi everyone,
>
> I am having a problem with the vtkTransform that I am passing to a
> vtkImageReslice object.
>
> The transform is supposed to scale the object by a specific factor. The
> problem is that the transform does not seem to work on the original data.
> For example, if I scale the original image by a factor of 2.0 first and
> then through UI set the scale factor 3.0... I want the scaling to be 3.0on the original object but the transformation seems to work on the previous
> scaling and thus scales my object by 6.0 rather than 3.0... .
>
> I hope I worded the problem clearly enough... if anyone has any idea. I
> would really appreciate it...
>
> Thanks,
>
> Luca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060825/307c2e84/attachment.htm>


More information about the vtkusers mailing list