Rhino C++ API
8.14
|
#include <RhRdkRenderWindowEventSink.h>
Public Member Functions | |
virtual bool | AlwaysShowDialog (void) const =0 |
virtual bool | Create (HWND hParent, const UUID &uuidSidePaneUI)=0 |
virtual void | Destroy (const UUID &uuidSidePaneUI)=0 |
virtual const wchar_t * | DockBarTitle (const UUID &uuidSidePaneUI) const =0 |
virtual UINT | DockControlBarFlags (void) const =0 |
virtual UINT | EnableDockingFlags (void) const =0 |
virtual bool | InitialShowControlBar (void) const =0 |
virtual UUID | InterfaceId (void) const final override |
virtual void | MoveWindow (const ON_4iRect &rect, const UUID &uuidSidePaneUI)=0 |
virtual HWND | WindowHandle (const UUID &uuidSidePaneUI) const =0 |
Public Member Functions inherited from CRhRdkExtension | |
CRhRdkExtension () | |
virtual | ~CRhRdkExtension () |
virtual UUID | PlugInId (void) const =0 |
bool | Unregister (void) |
Public Member Functions inherited from CRhRdkObject | |
CRhRdkObject () | |
virtual | ~CRhRdkObject () |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData) |
void | operator delete (void *buf) |
void | operator delete[] (void *buf) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
Additional Inherited Members | |
Static Public Member Functions inherited from CRhRdkObject | |
static void | CheckMemory (void) |
static void | PopulateDebuggingInfo (void) |
This custom plug-in interface allows you to create a custom dialog to be hosted on an 'extra side pane' inside the render window. This is in addition to the 'main side pane' which is the pane that contains the post effect tabs (Early, Tone Mapping, Late) and any custom tabs that may have been added. Since it is possible to have more than one open render window, it is possible for this interface to access more than one hosted dialog. This is made possible by use of the render session id which also identifies the dialog. Your implementation must ensure that it is possible to have multiple dialogs identified by this UUID.
|
pure virtual |
Implement this method to return true if you want this dialog to always appear on the render window even when the render window is for a different renderer. If you return false, the dialog and side pane will only be created when the render window's renderer id matches the render engine id.
|
pure virtual |
Implement this method to construct and create your dialog.
hParent | is the parent window. |
uuidSidePaneUI | is the unique identifier of the side-pane UI. This is typically the same as the render session id, but in some cases (e.g., Rhino Options), it is not. When it is, you can get a pointer to the render window interface by calling RhRdkFindRenderWindow(). |
|
pure virtual |
Implement this method to destroy and delete your dialog.
uuidSidePaneUI | is the unique identifier of the side-pane UI. This is typically the same as the render session id, but in some cases (e.g., Rhino Options), it is not. |
|
pure virtual |
Implement this method to return the title that will appear on the extra side pane when it is floating.
uuidSidePaneUI | is the unique identifier of the side-pane UI. This is typically the same as the render session id, but in some cases (e.g., Rhino Options), it is not. |
|
pure virtual |
Implement this method to return the ids to use for positioning the side pane. For backward compatibility, this uses the old MFC dock-bar ids. Supported ids are: AFX_IDW_DOCKBAR_LEFT AFX_IDW_DOCKBAR_TOP AFX_IDW_DOCKBAR_RIGHT AFX_IDW_DOCKBAR_BOTTOM
|
pure virtual |
Implement this method to return the flags to be passed to CControlBar::EnableDocking() (e.g., CBRS_ALIGN_ANY)
|
pure virtual |
Implement this method to return the initial visibility of the side pane.
|
finaloverridevirtual |
Returns the unique interface id of this extension.
Implements CRhRdkExtension.
|
pure virtual |
Implement this method to move your dialog to the position specified by 'rect'.
rect | specifies the position to move the dialog to. |
uuidSidePaneUI | is the unique identifier of the side-pane UI. This is typically the same as the render session id, but in some cases (e.g., Rhino Options), it is not. |
|
pure virtual |
Implement this method to return the window handle of your dialog.
uuidSidePaneUI | is the unique identifier of the side-pane UI. This is typically the same as the render session id, but in some cases (e.g., Rhino Options), it is not. |