ContourLoopExtraction
Introduction
vtkContourLoopExtraction specific static methods.
Methods
extend
Method use to decorate a given object (publicAPI+model) with vtkContourLoopExtraction characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | - Object on which methods will be bound (public). | |
model | Yes | - Object on which data structure will be bound (protected). | |
initialValues | Yes | - (Optional) Initial values to assign to the model. |
extractContours
Extracts contour loops from the given polydata input and populates the given output.
| Argument | Type | Required | Description |
|---|---|---|---|
input | Yes | - The input polydata | |
output | Yes | - The output polydata |
newInstance
Method used to create a new instance of vtkContourLoopExtraction.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | Yes | - (Optional) Initial values for the instance. |
requestData
Runs the contour extraction algorithm with the given input and output data.
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | - The input data for the contour extraction. | |
outData | Yes | - The output data where the extracted contours will be stored. |
traverseLoop
Traverses a loop starting from a given line and point, in a specified direction.
| Argument | Type | Required | Description |
|---|---|---|---|
pd | Yes | - The polydata which to traverse. | |
dir | Yes | - The direction of traversal. | |
startLineId | Yes | - The ID of the starting line. | |
startPtId | Yes | - The ID of the starting point. | |
loopPoints | Yes | - The array to store the traversed points of the loop. |
Returns
| Type | Description |
|---|---|
| The last point ID after traversal. |