Skip to content

AbstractMapper

Introduction

vtkAbstractMapper is an abstract class to specify interface between data and graphics primitives or software rendering techniques. Subclasses of vtkAbstractMapper can be used for rendering 2D data, geometry, or volumetric data.

Methods

addClippingPlane

Added plane needs to be a vtkPlane object.

ArgumentTypeRequiredDescription
planevtkPlaneYes

extend

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

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

getClippingPlaneInDataCoords

Get the ith clipping plane as a homogeneous plane equation. Use getNumberOfClippingPlanes() to get the number of planes.

ArgumentTypeRequiredDescription
propMatrixmat4Yes
iNumberYes
hnormalArray[Number]Yes

getClippingPlanes

Get all clipping planes.

getNumberOfClippingPlanes

Get number of clipping planes.

removeAllClippingPlanes

Remove all clipping planes.

removeClippingPlane

Remove clipping plane.

ArgumentTypeRequiredDescription
planevtkPlaneYes

setClippingPlanes

Set clipping planes.

ArgumentTypeRequiredDescription
planesArray[vtkPlane]Yes

update