[vtkusers] Transformations

Reinhold Füreder R.Fureder at exeter.ac.uk
Mon Aug 30 10:00:54 EDT 2004


Dear Sean,

I think you could use vtkProp3D::GetMatrix(vtkMatrix4x4 *m) -- vtkActor
is inheriting from vtkProp3D -- and apply it on the original polydata by
means of vtkTransformPolyDataFilter and vtkTransform.

HTH Reinhold

> -----Original Message-----
> From: vtkusers-bounces at vtk.org 
> [mailto:vtkusers-bounces at vtk.org] On Behalf Of Sean Richards
> Sent: Monday, August 30, 2004 3:49 PM
> To: vtkusers at vtk.org
> Subject: [vtkusers] Transformations
> 
> 
> Hello all,
> 
> I am trying to use ICP in my program and I have run into a 
> little glitch.
> 
> I create some polydata, then put it through a mapper and then 
> into an actor. The user then manipulates the actor. At this 
> point I want to be able to use ICP to register 2 actors with 
> each other. In order to do this I need to
> 
> actor->GetMapper()->GetInput()
> 
> the problem is the original input does not move when I move 
> the actor. Does anyone know how to propogate the 
> transformation done with the actor into the original input?
> 
> Sean
> 




More information about the vtkusers mailing list