public interface ProjectionParallel extends Projection
SCALE
Modifier and Type | Method and Description |
---|---|
double[] |
fastProjectDataToRenderSpace(double[] v)
Fast project a vector from data to render space
|
double |
fastProjectDataToRenderSpace(double value,
int axis)
Project the value of a single axis to its display value
|
double[] |
fastProjectDataToRenderSpace(NumberVector<?> v)
Fast project a vector from data to render space
|
double |
fastProjectRenderToDataSpace(double value,
int axis)
Project a display value back to the original data space
|
int |
getAxisForDim(int truedim)
Find the axis assinged to the given dimension.
|
LinearScale |
getAxisScale(int axis)
Get scale for the given axis
|
int |
getDimForAxis(int axis)
Get the dimension for the given axis number
|
int |
getDimForVisibleAxis(int axis)
Get the dimension for the given visible axis
|
int |
getVisibleDimensions()
Get the number of visible dimension.
|
boolean |
isAxisInverted(int axis)
Get inversion flag of axis.
|
boolean |
isAxisVisible(int axis)
Test whether the current axis is visible
|
boolean |
isDimInverted(int truedim)
Get inversion flag of dimension.
|
void |
moveAxis(int axis,
int rn)
shift a dimension to another position
|
void |
setAxisInverted(int axis,
boolean bool)
Set inversion flag of axis.
|
void |
setAxisVisible(int axis,
boolean vis)
Set the visibility of the axis.
|
void |
setDimInverted(int truedim,
boolean bool)
Set inversion flag of a dimension.
|
void |
swapAxes(int a,
int b)
Exchange axes A and B
|
void |
toggleAxisInverted(int axis)
Toggle inverted flag of axis.
|
void |
toggleAxisVisible(int axis)
Toggle visibility of the axis.
|
void |
toggleDimInverted(int truedim)
Toggle inverted flag of dimension.
|
getInputDimensionality, getScale
getHierarchy, setHierarchy
getLongName, getShortName
boolean isAxisInverted(int axis)
axis
- Axis (reordered) positionvoid setAxisInverted(int axis, boolean bool)
axis
- Axis (reordered) positionbool
- Value of inversion flagvoid toggleAxisInverted(int axis)
axis
- Axis (reordered) positionboolean isDimInverted(int truedim)
truedim
- Dimension in original numberingvoid setDimInverted(int truedim, boolean bool)
truedim
- Dimension in original numberingbool
- Value of inversion flagvoid toggleDimInverted(int truedim)
truedim
- Dimension in original numberingLinearScale getAxisScale(int axis)
axis
- Axis (reordered) positionboolean isAxisVisible(int axis)
axis
- Axis (reordered) positionvoid setAxisVisible(int axis, boolean vis)
axis
- Axis numbervis
- Visibility statusvoid toggleAxisVisible(int axis)
axis
- Axis numberint getVisibleDimensions()
void swapAxes(int a, int b)
a
- First axisb
- Second axisvoid moveAxis(int axis, int rn)
axis
- axis to shiftrn
- new positionint getDimForAxis(int axis)
axis
- Axis numberint getDimForVisibleAxis(int axis)
axis
- Axis number (visible axes only)double[] fastProjectDataToRenderSpace(double[] v)
v
- Input vectordouble[] fastProjectDataToRenderSpace(NumberVector<?> v)
v
- Input vectordouble fastProjectDataToRenderSpace(double value, int axis)
value
- Input valueaxis
- Axis to use for scaling and inversiondouble fastProjectRenderToDataSpace(double value, int axis)
value
- transformed valueaxis
- Axis to use for scaling and inversionint getAxisForDim(int truedim)
truedim
- Dimension