MrScienceOfficer Posted March 31, 2016 Share Posted March 31, 2016 Hi everybody, So it doesn't seem to be possible to include GUI_DetailLook, in an HDK plug-in. As GUI_DetailLook includes GUI_GroupData which isn't exposed. I suppose that should be considered a bug, no? If any other headers include GUI_DetailLook(or GUI_GeoRender) they'll be sure to fail as well. Does anyone have any experience with that? Also rendering an active selection inside a tool state? Is there a way to use the existing tools or would one need to recreate them? Quote Link to comment Share on other sites More sharing options...
malexander Posted March 31, 2016 Share Posted March 31, 2016 The HDK plugin wrapper for GUI_DetailLook is DM_GeoDetail. You get get this from DM_VPortAgent: modeler().currentViewport()->getVPortAgent()->getCurrentDetail() You can also grab a list of DM_GeoDetails for Qpaque, Transparenct, Unlit and XRay objects (some objects may be in more than one list). See DM_VPortAgent.h. GUI_DetailLook is not exported for HDK use. Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted March 31, 2016 Author Share Posted March 31, 2016 I figured as much. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.