Skip to content

SphereMapper ​

Introduction ​

The WebGPU view node of vtkSphereMapper. It draws one impostor quad per point and ray casts a sphere in the fragment shader.

Methods ​

buildPass ​

Update the renderable and take its points as the cell array this mapper draws, then run the cell array mapper build pass.

ArgumentTypeRequiredDescription
prepassYes

extend ​

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

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

newInstance ​

Method used to create a new instance of vtkWebGPUSphereMapper.

ArgumentTypeRequiredDescription
initialValuesIWebGPUSphereMapperInitialValuesNofor pre-setting some of its content