SelectionNode
Introduction
vtkSelectionNode represents a 2D n-sided polygon.
The polygons cannot have any internal holes, and cannot self-intersect. Define the polygon with n-points ordered in the counter-clockwise direction. Do not repeat the last point.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkSelectionNode 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 | ISelectionNodeInitialValues | No | (default: {}) |
getBounds
Get the bounds of the selection points.
getContentType
Returns -1 if not initialized.
getFieldType
Returns -1 if not initialized.
getProperties
Get the selection properties.
getSelectionList
Get the list of the underlying selected attribute IDs.
newInstance
Method used to create a new instance of vtkSelectionNode.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | ISelectionNodeInitialValues | No | for pre-setting some of its content |
setContentType
This functions is called internally by VTK.js and is not intended for public use.
setFieldType
This functions is called internally by VTK.js and is not intended for public use.
setProperties
This functions is called internally by VTK.js and is not intended for public use.
setSelectionList
This functions is called internally by VTK.js and is not intended for public use.