Skip to content

SphereContextRepresentation ​

Introduction ​

vtkSphereContextRepresentation renders a semi transparent sphere per state.

Methods ​

extend ​

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

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

getGlyphResolution ​

Phi and theta resolution of the sphere glyph.

setDrawBorder ​

Whether the wireframe of the sphere is rendered.

setDrawFace ​

Whether the faces of the sphere are rendered.

setGlyphResolution ​

Sets the resolution on the model and on the sphere glyph. Returns the result of each chained setter.

setOpacity ​

Sets the opacity of the actor property.