Skip to content

ViewNodeFactory

Introduction

factory that chooses vtkViewNodes to create

Class tells VTK which specific vtkViewNode subclass to make when it is asked to make a vtkViewNode for a particular renderable. modules for different rendering backends are expected to use this to customize the set of instances for their own purposes

Methods

createNode

Creates and returns a vtkViewNode for the provided renderable.

ArgumentTypeRequiredDescription
dataObjectYes

extend

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

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

newInstance

Method used to create a new instance of vtkViewNodeFactory.

ArgumentTypeRequiredDescription
initialValuesIViewNodeFactoryInitialValuesNofor pre-setting some of its content