Skip to content

RemoteView

Introduction

vtkRemoteView provides a way to create a remote view.

Methods

delete

Release GL context

extend

Method used to decorate a given object (publicAPI+model) with vtkRemoteView characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIRemoteViewInitialValuesNo(default: {})

getCanvasElement

Get the canvas HTML element

getCanvasView

Get the vtkCanvasView object

getContainer

Get container HTML element

getInteractiveQuality

getInteractiveRatio

getInteractor

getInteractorStyle

getRpcGestureEvent

getRpcMouseEvent

getRpcWheelEvent

getSession

getStillQuality

getStillRatio

getViewStream

Get vtkViewStream object

newInstance

Method used to create a new instance of vtkCanvasView

ArgumentTypeRequiredDescription
initialValuesIRemoteViewInitialValuesNofor pre-setting some of its content

render

resetCamera

resize

Handle window resize

setContainer

ArgumentTypeRequiredDescription
containerHTMLElementYesThe container HTML element.

setInteractiveQuality

ArgumentTypeRequiredDescription
interactiveQualityYes

setInteractiveRatio

ArgumentTypeRequiredDescription
interactiveRatioYes

setRpcGestureEvent

ArgumentTypeRequiredDescription
rpcGestureEventYes

setRpcMouseEvent

ArgumentTypeRequiredDescription
rpcMouseEventYes

setRpcWheelEvent

ArgumentTypeRequiredDescription
rpcWheelEventYes

setSession

ArgumentTypeRequiredDescription
sessionYes

setStillQuality

ArgumentTypeRequiredDescription
stillQualityYes

setStillRatio

ArgumentTypeRequiredDescription
stillRatioYes

setViewId

ArgumentTypeRequiredDescription
viewIdYes

setViewStream

ArgumentTypeRequiredDescription
viewStreamYes