Skip to content

StickMapper ​

Introduction ​

The WebGPU view node of vtkStickMapper. It draws one impostor box per point and ray casts a cylinder 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 vtkWebGPUStickMapper characteristics.

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

newInstance ​

Method used to create a new instance of vtkWebGPUStickMapper.

ArgumentTypeRequiredDescription
initialValuesIWebGPUStickMapperInitialValuesNofor pre-setting some of its content