[vtkusers] Transparent Viewport

Alireza Mehrtash mehrtash at bwh.harvard.edu
Fri Aug 8 17:27:01 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140808/1b8532a9/attachment.html>
-------------- next part --------------

cmake_minimum_required(VERSION 2.8)

PROJECT(MultipleViewports)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

add_executable(MultipleViewports MACOSX_BUNDLE MultipleViewports)

if(VTK_LIBRARIES)
  target_link_libraries(MultipleViewports ${VTK_LIBRARIES})
else()
  target_link_libraries(MultipleViewports vtkHybrid vtkWidgets)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-08-08 15:34:56.png
Type: image/png
Size: 15949 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140808/1b8532a9/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MultipleViewports.cxx
Type: text/x-c++src
Size: 1761 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140808/1b8532a9/attachment.cxx>


More information about the vtkusers mailing list