[vtkusers] Transparent Viewport

Alireza Mehrtash mehrtash at bwh.harvard.edu
Fri Aug 8 17:59:11 EDT 2014


I tried that but it gives:
vtkRendererCollection (0x8a6be0): Invalid layer for renderer: not rendered.



On Fri, Aug 8, 2014 at 5:50 PM, David E DeMarle <dave.demarle at kitware.com>
wrote:

> Call SetLayer(1) on the overlay layer.
> On Aug 8, 2014 5:27 PM, "Alireza Mehrtash" <mehrtash at bwh.harvard.edu>
> wrote:
>
>> Hi All,
>>
>> I have two renderers in a render window ​with one of them as a bottom
>> left viewport (the code and the picture are attached). I want the viewport
>> renderer to be transparent exactly like the vtk oreientation marker [1]. I
>> would appreciate if you help me achieving this.
>>
>> Thanks,
>> Alireza
>>
>>
>> [1]
>> http://www.itk.org/Wiki/VTK/Examples/Cxx/Widgets/OrientationMarkerWidget
>>
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>  The information in this e-mail is intended only for the person to whom
> it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140808/8fa8992a/attachment.html>


More information about the vtkusers mailing list