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.
| 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 | IRemoteViewInitialValues | No | (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
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IRemoteViewInitialValues | No | for pre-setting some of its content |
render
resetCamera
resize
Handle window resize
setContainer
| Argument | Type | Required | Description |
|---|---|---|---|
container | HTMLElement | Yes | The container HTML element. |
setInteractiveQuality
| Argument | Type | Required | Description |
|---|---|---|---|
interactiveQuality | Yes |
setInteractiveRatio
| Argument | Type | Required | Description |
|---|---|---|---|
interactiveRatio | Yes |
setRpcGestureEvent
| Argument | Type | Required | Description |
|---|---|---|---|
rpcGestureEvent | Yes |
setRpcMouseEvent
| Argument | Type | Required | Description |
|---|---|---|---|
rpcMouseEvent | Yes |
setRpcWheelEvent
| Argument | Type | Required | Description |
|---|---|---|---|
rpcWheelEvent | Yes |
setSession
| Argument | Type | Required | Description |
|---|---|---|---|
session | Yes |
setStillQuality
| Argument | Type | Required | Description |
|---|---|---|---|
stillQuality | Yes |
setStillRatio
| Argument | Type | Required | Description |
|---|---|---|---|
stillRatio | Yes |
setViewId
| Argument | Type | Required | Description |
|---|---|---|---|
viewId | Yes |
setViewStream
| Argument | Type | Required | Description |
|---|---|---|---|
viewStream | Yes |