Jump to content

GUI_DetailLook


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...