SphereMapper
Introduction
vtkSphereMapper inherits from vtkMapper.
Methods
extend
Method use to decorate a given object (publicAPI+model) with vtkSphereMapper 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 | ISphereInitialValues | No | (default: {}) |
getRadius
getScaleArray
getScaleFactor
newInstance
Method use to create a new instance of vtkSphereMapper
setRadius
| Argument | Type | Required | Description |
|---|---|---|---|
radius | Number | Yes |
setScaleArray
| Argument | Type | Required | Description |
|---|---|---|---|
scaleArray | Yes |
setScaleFactor
Factor multiplied with scale array elements. Radius is used when no scale array is given.
| Argument | Type | Required | Description |
|---|---|---|---|
scaleFactor | Yes | number to multiply with when a scale array is provided. 1 by default. |