Skip to content

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.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIRenderWindowWithControlBarInitialValuesNo(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

ArgumentTypeRequiredDescription
initialValuesIRenderWindowWithControlBarInitialValuesNofor pre-setting some of its content

setContainer

Set control container element

ArgumentTypeRequiredDescription
elHTMLElementYes

setControlPosition

Set control container element

ArgumentTypeRequiredDescription
positionPlacementYesPosition of the control bar.

setControlSize

Set control container element

ArgumentTypeRequiredDescription
sizeNumberYesSize of the control bar.