Skip to content

SphereMapper

Introduction

vtkSphereMapper inherits from vtkMapper.

Methods

extend

Method use to decorate a given object (publicAPI+model) with vtkSphereMapper characteristics.

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

getRadius

getScaleArray

getScaleFactor

newInstance

Method use to create a new instance of vtkSphereMapper

setRadius

ArgumentTypeRequiredDescription
radiusNumberYes

setScaleArray

ArgumentTypeRequiredDescription
scaleArrayYes

setScaleFactor

Factor multiplied with scale array elements. Radius is used when no scale array is given.

ArgumentTypeRequiredDescription
scaleFactorYesnumber to multiply with when a scale array is provided. 1 by default.