Skip to content

SphereMapper ​

Introduction ​

The OpenGL backend view node for vtkSphereMapper.

Methods ​

extend ​

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

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

getOpenGLMode ​

The primitive mode the imposter geometry is drawn with, always triangles whatever representation or primitive type is asked for.

ArgumentTypeRequiredDescription
repYesthe representation of the actor property
typeYesthe primitive type

newInstance ​

Method used to create a new instance of vtkOpenGLSphereMapper.

ArgumentTypeRequiredDescription
initialValuesIOpenGLSphereMapperInitialValuesNofor pre-setting some of its content