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.
| Argument | Type | Required | Description |
|---|---|---|---|
plane | vtkPlane | Yes |
extend
Method use to decorate a given object (publicAPI+model) with vtkAbstractMapper 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 | IAbstractMapperInitialValues | No | (default: {}) |
getClippingPlaneInDataCoords
Get the ith clipping plane as a homogeneous plane equation. Use getNumberOfClippingPlanes() to get the number of planes.
| Argument | Type | Required | Description |
|---|---|---|---|
propMatrix | mat4 | Yes | |
i | Number | Yes | |
hnormal | Array[Number] | Yes |
getClippingPlanes
Get all clipping planes.
getNumberOfClippingPlanes
Get number of clipping planes.
removeAllClippingPlanes
Remove all clipping planes.
removeClippingPlane
Remove clipping plane.
| Argument | Type | Required | Description |
|---|---|---|---|
plane | vtkPlane | Yes |
setClippingPlanes
Set clipping planes.
| Argument | Type | Required | Description |
|---|---|---|---|
planes | Array[vtkPlane] | Yes |