How can i Copy an vtkActor ( vtkMapper ) ?
Luebeck, Harald
Harald.Luebeck at gft.de
Tue Sep 14 05:01:20 EDT 1999
How can create an exact copy of an vtkActor. I need an copy not an refrence
because i want to modify some Properties without modifing the original
Actor.
At the moment i use the folloing code :
// Copy Mapper through DataSet
pDataSet->CopyStructure( pShapeActor->GetMapper()->GetInput() );
// Set new mapper
pMapper->SetInput( pDataSet );
pActor->SetMapper( pMapper );
How can i copy the rest of the data. i.e TCoords, Scalars ... ?
Thanks for any help.
Harald Lübeck
GFT Technologies AG
Leopoldstr 1
78112 St. Georgen
E-Mail: hlk at gft.de
WWW http://www.gft.de
http://www.internetprofi.com
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list