Skip to content

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.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesISelectionNodeInitialValuesNo(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.

ArgumentTypeRequiredDescription
initialValuesISelectionNodeInitialValuesNofor 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.