protected static class Joint.SliderSegmentWidget
extends vona.j3d.SegmentWidget
A specialization that knows how to track start and end coords as
described in Joint.addSegmentWidget(int, float)
.
Modifier and Type | Field and Description |
---|---|
(package private) int |
axis
the axis of the segment
|
(package private) float |
offsetFactor
The start offset along
axis relative to LinkageNode.widgetLength . |
appearance, DASHED_PATTERN, DEF_COLOR, DEF_END_COORD, DEF_START_COORD, DOTTED_PATTERN, endColor, endCoord, geometry, lineAttributes, ORIGIN, SOLID_PATTERN, startColor, startCoord, tempV3, trackLengthFactor, vertexBuffer, X, Y, Z
alpha, autoSetBoundingSpheres, boundingSphereCenter, boundingSphereCenterInView, boundingSphereRadius, boundingSphereRadiusInView, dbgEnabled, dbgNormalsGeometry, dbgNormalsVertices, dbgSpheresGeometry, dbgSpheresVertices, DEF_DBG_NORMAL_LENGTH, DEF_WIDGET_LENGTH, enabled, numGeometries, primitiveIterator, propertyMap, rx, vertexAccessor, widgetLength
Constructor and Description |
---|
Joint.SliderSegmentWidget(int axis,
float offsetFactor)
make a new Joint-slider specialized segment widget
|
Modifier and Type | Method and Description |
---|---|
protected void |
widgetLengthChanged()
implements
Widget.widgetLength tracking, see class header doc |
different, endDiffChanged, extentsChanged, isDegenerate, lengthChanged, recomputeBoundingSphere, recomputeBoundingSpheres, setColor, setColor, setColors, setColors, setEnd, setEndColor, setEndColor, setEndDiff, setExtents, setLength, setLinePattern, setLinePattern, setLineWidth, setStart, setStartColor, setStartColor, trackWidgetLength
cons, countGeometryArrays, disableBoundingSphere, disableBoundingSpheres, dump, dump, enableDBGGeometry, enableGeometry, ensureBoundingSpheresInView, getAppearance, getBoundingSphereCenter, getBoundingSphereRadius, getGeometry, getProperty, getWidget, getWidgetAlpha, hasBoundingSphere, hasBoundingSphereInView, hasProperty, indexOf, populateFrom, recomputeBoundingSphere, removeDBGNormals, removeDBGSpheres, removeGeometry, removeGeometry, removeProperty, replaceAppearanceWithClone, replaceGeometryWithClone, scaleWidget, setAppearance, setBoundingSphereCenter, setBoundingSphereRadius, setGeometry, setGeometryAlpha, setGeometryAlpha, setGeometryAndAppearance, setProperty, setProperty, setWidgetAlpha, setWidgetLength, updateAllDBGNormals, updateAllDBGNormals, updateAllDBGSpheres, updateDBGNormals, updateDBGNormals, updateDBGSpheres, updateExistingDBGNormals, updateExistingDBGSpheres
final int axis
final float offsetFactor
The start offset along axis
relative to LinkageNode.widgetLength
.
Joint.SliderSegmentWidget(int axis, float offsetFactor)
protected void widgetLengthChanged()
Widget.widgetLength
tracking, see class header doc
This impl updates the start and end x coordinates based on offsetFactor
and Joint.SEGMENT_LENGTH_FACTOR
.
widgetLengthChanged
in class vona.j3d.CurveWidget