ReverseSense
Introduction
vtkReverseSense is a filter that reverses the order of polygonal cells and/or reverses the direction of point and cell normals. Two flags are used to control these operations: reverseCells and reverseNormals. Cell reversal means reversing the order of indices in the cell connectivity list. Normal reversal means multiplying the normal vector by -1 (both point and cell normals, if present).
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkReverseSense 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 | IReverseSenseInitialValues | No | (default: {}) |
getReverseCells
Get whether the order of polygonal cells is reversed.
getReverseNormals
Get whether the direction of point and cell normals is reversed.
newInstance
Method used to create a new instance of vtkReverseSense.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IReverseSenseInitialValues | No | for pre-setting some of its content |
requestData
Request data from the input and produce output.
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | The input data. | |
outData | Yes | The output data. |
setReverseCells
Controls whether the order of polygonal cells is reversed.
| Argument | Type | Required | Description |
|---|---|---|---|
reverseCells | Boolean | Yes | The new state of the reverseCells flag. |
setReverseNormals
Controls whether the direction of point and cell normals is reversed.
| Argument | Type | Required | Description |
|---|---|---|---|
reverseNormals | Boolean | Yes | The new state of the reverseNormals flag. |