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.
| Argument | Type | Required | Description |
|---|---|---|---|
dataObject | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkViewNodeFactory characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IViewNodeFactoryInitialValues | No | (default: {}) |
newInstance
Method used to create a new instance of vtkViewNodeFactory.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IViewNodeFactoryInitialValues | No | for pre-setting some of its content |