[vtkusers] Transforming Data but not vtkActors ... (Please help !)
    tpan 
    tpan at bmi.osu.edu
       
    Thu Jan 23 17:38:57 EST 2003
    
    
  
You can use a vtkTransformPolyDataFilter.  You have to give it a
polydata (output from your cubesource), and a vtkTransform that you
defined. 
Tony Pan
-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com] On Behalf Of Sebastien
Auclair
Sent: Thursday, January 23, 2003 5:32 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] Transforming Data but not vtkActors ... (Please help
!)
Hi !
This is really simple.
How are we suppose to modify something without operating on the vtkActor
?(i.e. Modifying the original data..polydata...)
Let say i wish to scale a previously created cube.(i.e. Created using
vtkCubeSource... to vtkActor3D)
I kept all the vtk instances as member variable of a CUBE class i made.
(In
C++)
Now comes the scaling action...
How can i modify the dataSet (or PolyData) and update the drawing
accordingly. (Without recreating the pipeline of course !)
Thanks !
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
    
    
More information about the vtkusers
mailing list