Methods
computeDisplayCenter
Computes the display center.
Argument | Type | Required | Description |
---|---|---|---|
observer |
Yes | ||
renderer |
Yes |
getCenter
Gets the center.
getDisplayCenter
Gets the display center.
getRotationFactor
Gets the rotation factor.
setCenter
Sets the center.
Argument | Type | Required | Description |
---|---|---|---|
center |
Yes |
setDisplayCenter
Sets the display center.
Argument | Type | Required | Description |
---|---|---|---|
center |
Yes |
setRotationFactor
Sets the rotation factor.
Argument | Type | Required | Description |
---|---|---|---|
factor |
Yes |
Source
import vtkInteractorObserver from '../../../Rendering/Core/InteractorObserver'; |
import macro from 'vtk.js/Sources/macros'; |