[vtkusers] Adding a vtkAssembly onto another vtkAssembly? Is this possible?

David Doria daviddoria at gmail.com
Thu Jan 15 08:52:55 EST 2015


On Wed, Jan 14, 2015 at 6:02 AM, Student Life <lifestudent37 at gmail.com>
wrote:

> Hi,
>
> Basically, I want to store a vtkActor as well as any picked points on the
> actor into an assembly.
>
> I then want to add this assembly onto a new assembly
>
> Is this possible in vtk?
>

Typically, the first thing you could do is try it and see if it works. In
this case, it looks like it should, because vtkAssembly is derived from
vtkProp3D, and the AddPart function takes a vtkProp3D*:

void vtkAssembly::AddPart(vtkProp3D *)

http://www.vtk.org/doc/nightly/html/classvtkAssembly.html

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150115/31f3e462/attachment.html>


More information about the vtkusers mailing list