Adding a logo-widget
See original GitHub issueIs there an easy way in vedo to add a logo-widget? Something in line with addIcon, but then creating a static image instead of one that rotates?
logo_rep = vtk.vtkLogoRepresentation()
logo_rep.SetImage(self._colorbar.GetInput())
logo_rep.SetPosition([0.1, 0.5])
logo_rep.SetImageProperty(logo_rep.GetImageProperty())
logowidget = vtk.vtkLogoWidget()
logowidget.SetInteractor(self.screen.interactor)
logowidget.SetRepresentation(logo_rep)
logowidget.On()
logowidget.Render()
plotter.widgets.append(logowidget)
if not, would a PR with addLogo be welcome?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Add your logo to FeedWind widget
Learn how to add your brand logo to customize your FeedWind widget. Currently available only for paying users.
Read more >Site Logo Widget (Pro) - Elementor
The Site Logo widget is a dynamic widget that displays the Site Logo. Although the logo can only be replaced or deleted in...
Read more >How to create a Logo Showcase widget for website (2022)
How to add Logo Showcase to a website ; 1. Customize the widget. Use diverse options to get a perfect for your use-case...
Read more >How to Use Logo Grid Widget on your Elementor Site - YouTube
0:40 Required plugins to get started ; 0:55 Adding the widget to the editing panel ; 1:05 Adding logos from the media gallery...
Read more >Free Logo Grid Widget for Elementor - YouTube
Logo Grid is an excellent solution for displaying logos of your clients, partners, sponsors, or even affiliates on your Elementor website.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also can not disable user control of the widget. According to the docs SelectableOff() and ResizableOff() should stop user interaction, but I’m still able to move and resize it.
Alternatively an Actor2D with vtkImageMapper can be used, but also here I do not get how to resize the image. Also positioning is in screen coordinates (pixels) rather than view coordinates. Even though the documentation states that is view coordinates…
will ask on the vtk forum before continuing.
(In my case I wanted to have my image in a fixed size on the bottom left, which fortunately is a case that works 😃 )
yes… very confusing! 😦 moreover the actor2d aspect ratio is not maintained when resizing the window manually