[vtkusers] vtkLinearTransform Question

David Doria daviddoria+vtk at gmail.com
Wed Aug 18 08:56:08 EDT 2010


On Wed, Aug 18, 2010 at 8:49 AM, naresh <naresh at winner.co.in> wrote:
>
> Hi
>
> I have vtkLinearTransform . How can i rotate,scale,translate the object ?
>
> vtkTransform need to be connect to pipeline but it will reflect changes in
> vtkLinearTransform directly ?
>
> Likewise i have code like that. Is that correct to this way ? vtkTransform
> will change the vtkLinearTransform using pipeline ?
> vtkLinearTransform* xform = RoundNode->GetVtkTransform();
>
> vtkTransform* t = vtkTransform::New();
> t->SetInput(xform);
> t->RotateZ(55);
> t->Update();
> xform->Update();
>
>

Please give us some context - that is, make the shortest possible
example program that demonstrates what you are trying to/ what is
wrong.

David



More information about the vtkusers mailing list