RenderWindowWithControlBar
Introduction
vtkRenderWindowWithControlBar provides a skeleton for implementing a render window with a control bar.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkRenderWindowWithControlBar characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IRenderWindowWithControlBarInitialValues | No | (default: {}) |
getControlContainer
Get control bar container element
getRenderWindowContainer
Get RenderWindow container element
getRootContainer
Get root container element
newInstance
Method used to create a new instance of vtkRenderWindowWithControlBar
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IRenderWindowWithControlBarInitialValues | No | for pre-setting some of its content |
setContainer
Set control container element
| Argument | Type | Required | Description |
|---|---|---|---|
el | HTMLElement | Yes |
setControlPosition
Set control container element
| Argument | Type | Required | Description |
|---|---|---|---|
position | Placement | Yes | Position of the control bar. |
setControlSize
Set control container element
| Argument | Type | Required | Description |
|---|---|---|---|
size | Number | Yes | Size of the control bar. |