public final class TriaxialScoping extends Object implements Scoping
Switch | Controlled state | Default |
---|---|---|
s | The scope control. 6 continguous numbers all padded to the same digit length, together representing the ranges of all three axes (x,y,z). Each number is translated to a decimal by adding a leading decimal. An exception is made for numbers beginning with the letter N, which are always translated as 1.0. For example "s=00NN103055NN" is taken as x in the range 0.00 to 1.00, y 0.10 to 0.30, and z 0.55 to 1.0. | "0N0N0N" which specifies the full range on all three axes. |
Scoping
Constructor and Description |
---|
TriaxialScoping(Spool spool)
Constructs a TriaxialScoping.
|
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addHandler(ScopeChangeHandler handler)
Registers a handler to receive change events fired from this scoping model.
|
String |
toString() |
float |
xMax()
The x-axis maximum value, inclusive.
|
float |
xMin()
The x-axis minimum value, inclusive.
|
float |
yMax()
The y-axis maximum value, inclusive.
|
float |
yMin()
The y-axis minimum value, inclusive.
|
float |
zMax()
The z-axis maximum value, inclusive.
|
float |
zMin()
The z-axis minimum value, inclusive.
|
public TriaxialScoping(Spool spool)
spool
- for release of internal holds. When unwound, this instance will
release its internal holds and become disabled.public float xMin()
public float xMax()
public float yMin()
public float yMax()
public float zMin()
public float zMax()
public HandlerRegistration addHandler(ScopeChangeHandler handler)
Scoping
addHandler
in interface Scoping
ScopeChangeEvent.addHandler(ScopeChangeHandler)