Copy/duplicate vtkActor
Alberto Ramos <[email protected]> Thu, 23 May 2019 14:03:58 +0200
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CAMR8pHBVpBGi5eaEbBf8fY+euc8bMBpWY74aEe28tfhGUyE7ig@mail.gmail.com> |
--===============1816364027== Content-Type: multipart/alternative; boundary="000000000000224f2305898ce1f3" --000000000000224f2305898ce1f3 Content-Type: text/plain; charset="UTF-8" Hello. In my VTK application I need to create complex 3D models, which I already do. My problem originates in me wanting to make a copy of that actor. Right now I have several vtkActors pointing to the same reference, so any modification made to one of the copies in the vtkRenderer will change every copy of that actor. Is there any way to copy/duplicate an actor, using the already performed calculations to generate a vtkActor faster, and keep them independent from each other? Thanks and best regards, Alberto --000000000000224f2305898ce1f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello.=C2=A0<div>In my VTK application I need to create co= mplex 3D models, which I already do. My problem originates in me wanting to= make a copy of that actor. Right now I have several vtkActors pointing to = the same reference, so any modification made to one of the copies in the vt= kRenderer will change every copy of that actor. Is there any way to copy/du= plicate an actor, using the already performed calculations to generate a vt= kActor faster, and keep them independent from each other?<div><br></div><di= v>Thanks and best regards,</div><div>Alberto</div></div></div> --000000000000224f2305898ce1f3-- --===============1816364027== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://vtk.org/mailman/listinfo/vtkusers --===============1816364027==--