Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2161 times and has 2 replies Next Thread
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 164
Status: Offline
Reply to this Post  Reply with Quote 
Access to certain functions by plug-ins

According SH3D-5.2 API , a plug-in can access to Home, HomeController or UserPreferences.
Is there access to PhotosController or PhotoController ?
----------------------------------------
EnkoNyito gallery
[Aug 20, 2016 3:55:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message    https://sites.google.com/site/enkonyitogallery/ [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 164
Status: Offline
Reply to this Post  Reply with Quote 
Re: Access to certain functions by plug-ins

For single rendering, I had found an alternative access to PhotoController class in a plug-in but there remain some bug as the switching problem between aerial view and virtual visit.

For multiple rendering, no solution found for access to PhotosController class so no plug-in for the moment.
Here's a look after changing the source code in a derived version of SH3D-5.2.

----------------------------------------
EnkoNyito gallery
[Aug 31, 2016 10:56:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message    https://sites.google.com/site/enkonyitogallery/ [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: Access to certain functions by plug-ins

There's no access to PhotoController and PhotosController instances because they are created on the fly when needed in HomeController class. But nothing forbids you to subclass these classes to change their behavior.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Sep 1, 2016 5:26:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2017 eTeks - All rights reserved