Skip to content

PointSet

Introduction

vtkPointSet is an abstract class that specifies the interface for datasets that explicitly use "point" arrays to represent geometry.

For example, vtkPolyData and vtkUnstructuredGrid require point arrays to specify point position, while vtkStructuredPoints generates point positions implicitly.

Methods

computeBounds

Compute the (X, Y, Z) bounds of the data.

extend

Method used to decorate a given object (publicAPI+model) with vtkPointSet characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIPointSetInitialValuesNo(default: {})

getBounds

Get the bounds for this mapper as [xmin, xmax, ymin, ymax,zmin, zmax].

getNumberOfPoints

getPoints

initialize

Empty the points and initialize the data set and .

newInstance

Method used to create a new instance of vtkPointSet.

ArgumentTypeRequiredDescription
initialValuesIPointSetInitialValuesNofor pre-setting some of its content

setPoints