[vtkusers] vtkPropAssembly and wireframe

Greg Schussman greg.schussman at gmail.com
Thu Aug 28 17:50:13 EDT 2014


Oops.

I forgot to mention that I'm using python-2.6, vtk-5.10.1, and qt-4.6.1.

Greg


On Thu, Aug 28, 2014 at 2:33 PM, Greg Schussman <greg.schussman at gmail.com>
wrote:

> Hi.
>
> I'm using a vtkPropAssembly to gather together a number of things so that
> I can easily toggle their visibility as a group.  This seems to work quite
> well.
>
> However, before using this approach, I could hit 'w' and the render window
> interactor would switch to displaying my items as wireframe.  However, now
> that I'm using the vtkPropAssembly, that no longer works.
>
> What's the best thing to do here?
>
> Is there a way to make the wireframe toggle work with vtkPropAssembly?
> If not, is there a way  I can dive down into that assembly and set the
> representation as wireframe for each item that allows it?
>
> Or should I give up on keeping things grouped in a vtkPropAssebly, and
> just manage all the individual visibility toggles myself?
>
> Or something else that I'm not thinking of?
>
> Thanks for any help.
>
> Greg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140828/01a38363/attachment.html>


More information about the vtkusers mailing list