Skip to content

Camera ​

Introduction ​

The OpenGL backend view node for a vtkCamera.

Methods ​

buildPass ​

Builds myself: resolve the renderer, render window and context.

ArgumentTypeRequiredDescription
prepassYes

extend ​

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

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

getContext ​

getKeyMatrices ​

Recompute the view/projection matrices if the camera, renderer or render window changed since the last call.

ArgumentTypeRequiredDescription
renvtkRendererYes

getKeyMatrixTime ​

The time stamp guarding the cached key matrices.

newInstance ​

Method used to create a new instance of vtkOpenGLCamera.

ArgumentTypeRequiredDescription
initialValuesIOpenGLCameraInitialValuesNofor pre-setting some of its content

opaquePass ​

Renders myself: set the viewport and scissor box from the renderer's tile.

ArgumentTypeRequiredDescription
prepassYes

opaqueZBufferPass ​

ArgumentTypeRequiredDescription
prepassYes

setContext ​

ArgumentTypeRequiredDescription
contextYes

setKeyMatrixTime ​

ArgumentTypeRequiredDescription
keyMatrixTimeYes

translucentPass ​

ArgumentTypeRequiredDescription
prepassYes

volumePass ​

ArgumentTypeRequiredDescription
prepassYes

zBufferPass ​

ArgumentTypeRequiredDescription
prepassYes