[vtkusers] How to change the actor data without deleting it.
jcplatt at lineone.net
Sat Feb 19 12:09:41 EST 2005
If you want to destroy a mapper, try
Actor->SetMapper( NULL );
If you use vtkDataSetMapper, you should not need to do this as this will
handle both vtkPolyData & vtkUnstructuredGrid.
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of Ahmad Hosseinzadeh
Sent: 19 February 2005 11:50
To: VTK List
Subject: [vtkusers] How to change the actor data without deleting it.
I want to change the actor data (e.g. add/remove a
filer to/from actor) without removing the previous
actor and create a new one.
I have disconnected the actor from renderer before
setting the mapper but it dosen't work. The
application halts when I want to connect data to actor
using "setMapper()" method.
Do you have idea how to figure it out?
Post your free ad now! http://personals.yahoo.ca
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
More information about the vtkusers