#include <RhRdkRenderWindowEventSink.h>
RDK provides 3 tabs on the Render Window's main side pane for 'Early', 'Tone Mapping' and 'Late' Post-Effects. This class is an RDK extension which allows users to add their own tabs to this pane. It supersedes CRhRdkRenderFrameTabFactory and CRhRdkRenderFrameTabFactoryEx in Rhino 8 upwards.
◆ EVF()
virtual void* CRhRdkRenderWindowMainSidePaneTabFactory::EVF |
( |
const wchar_t * |
wszFunc, |
|
|
void * |
pvData |
|
) |
| |
|
overridevirtual |
Emergency virtual function for future expansion.
Reimplemented from CRhRdkObject.
◆ Icon()
virtual bool CRhRdkRenderWindowMainSidePaneTabFactory::Icon |
( |
const ON_2iSize & |
size, |
|
|
CRhinoDib & |
dib, |
|
|
void * |
reserved |
|
) |
| const |
|
pure virtual |
Get an icon to be drawn on the tab.
- Parameters
-
size | is the required size of the icon. This is typically 16x16. |
dib | accepts the icon imagery. |
◆ InterfaceId()
virtual ON_UUID CRhRdkRenderWindowMainSidePaneTabFactory::InterfaceId |
( |
void |
| ) |
const |
|
finaloverridevirtual |
Returns the unique interface id of this extension.
Implements CRhRdkExtension.
◆ NewTabPage()
Create a new tab page. This must create the window object but not the actual window handle.
- Parameters
-
con | is a controller. TODO: Elaborate. |
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. |
reserved | is reserved for future use. |
- Returns
- The new tab page or null on failure.
◆ RenderEngineId()
virtual ON_UUID CRhRdkRenderWindowMainSidePaneTabFactory::RenderEngineId |
( |
void |
| ) |
const |
|
pure virtual |
- Returns
- the render engine id of your renderer.
◆ TabId()
virtual ON_UUID CRhRdkRenderWindowMainSidePaneTabFactory::TabId |
( |
void |
| ) |
const |
|
pure virtual |
- Returns
- the tab id. This identifies the tab in the row of tabs.