-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TubeFilter): Compute number of points and normals based on capping
Also fixed missing index parameter from setTuple causing error.
- Loading branch information
Showing
4 changed files
with
97 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 43 additions & 3 deletions
46
Sources/Filters/General/TubeFilter/example/controlPanel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,54 @@ | ||
<table> | ||
<tr> | ||
<td>Number of Points</td> | ||
<td>Tubing</td> | ||
<td colspan="3"> | ||
<input class='tubing' type="checkbox" checked /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Number of Sides</td> | ||
<td> | ||
<input class='numberOfPoints' type="range" min="1" max="500" step="1" value="25" /> | ||
<form name='numberOfSidesForm'> | ||
<input class='numberOfSides' id="numberOfSidesInputId" type="range" | ||
min="3" max="100" step="1" value="50" | ||
oninput="numberOfSidesOutputId.value = numberOfSidesInputId.value"/> | ||
<output id="numberOfSidesOutputId">50</output> | ||
</form> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Radius</td> | ||
<td> | ||
<input class='radius' type="range" min="0.1" max="0.5" step=".01" value="0.25" /> | ||
<form name='radiusForm'> | ||
<input class='radius' id="radiusInputId" type="range" | ||
min="0.01" max="1.0" step=".01" value="0.1" | ||
oninput="radiusOutputId.value = radiusInputId.value"/> | ||
<output id="radiusOutputId">0.1</output> | ||
</form> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Vary Radius</td> | ||
<td> | ||
<select class="varyRadius"> | ||
<option value="VARY_RADIUS_OFF">VARY_RADIUS_OFF</option> | ||
<option value="VARY_RADIUS_BY_SCALAR">VARY_RADIUS_BY_SCALAR</option> | ||
<option value="VARY_RADIUS_BY_VECTOR">VARY_RADIUS_BY_VECTOR</option> | ||
<option value="VARY_RADIUS_BY_ABSOLUTE_SCALAR">VARY_RADIUS_BY_ABSOLUTE_SCALAR</option> | ||
</select> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Capping</td> | ||
<td colspan="3"> | ||
<input class='capping' type="checkbox" /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>OnRatio</td> | ||
<td> | ||
<input class='onRatio' id="onRatioInputId" type="number" | ||
min="1" max="4.0" step="1" value="1"/> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters