UNPKG

@acransac/vtk.js

Version:

Visualization Toolkit for the Web

24 lines (12 loc) 520 B
## Introduction Abstract class defined interface between widget and widget representation ## See also [vtkHandleRepresentation] ## getPickedActor(x, y, z, picker) Find the actor picked by the user (x, y, and z are display coordinate) ## adjustBounds(bounds, newBounds, center) Recompute the `newBounds` from bounds, center and scale factor (class attributes) ## sizeHandlesInPixels(factor, pos) Compute the size handles in pixels ## sizeHandlesRelativeToViewport Compute the size handles relative to viewport