RectangleContextRepresentation
Introduction
vtkRectangleContextRepresentation renders the rectangle spanned by the origin and the corner of a widget state, as a filled face and/or a border.
Methods
extend
Method use to decorate a given object (publicAPI+model) with vtkRectangleContextRepresentation 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 | IRectangleContextRepresentationInitialValues | No | (default: {}) |
requestData
Builds the rectangle from the origin, corner and up vector of the first state. Only the first state is used.
setOpacity
Forwards the opacity to the actor property.