public abstract class AbstractSimpleProjection extends AbstractFullProjection
scales
INVSCALE, SCALE
Constructor and Description |
---|
AbstractSimpleProjection(Projector p,
LinearScale[] scales)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double[] |
dearrange(double[] v)
Undo the rearrangement of components.
|
protected double[] |
flipSecondEquals(double[] v)
Flip the y axis.
|
double[] |
projectRelativeRenderToScaled(double[] v)
Project a relative vector from rendering space to scaled space.
|
double[] |
projectRelativeScaledToRender(double[] v)
Project a relative vector from scaled space to rendering space.
|
double[] |
projectRenderToScaled(double[] v)
Project a vector from rendering space to scaled space.
|
double[] |
projectScaledToRender(double[] v)
Project a vector from scaled space to rendering space.
|
protected abstract double[] |
rearrange(double[] v)
Method to rearrange components.
|
projectDataToRenderSpace, projectDataToRenderSpace, projectDataToScaledSpace, projectDataToScaledSpace, projectRelativeDataToRenderSpace, projectRelativeDataToRenderSpace, projectRelativeDataToScaledSpace, projectRelativeDataToScaledSpace, projectRelativeRenderToDataSpace, projectRelativeScaledToDataSpace, projectRenderToDataSpace, projectScaledToDataSpace
getInputDimensionality, getMenuName, getProjector, getScale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputDimensionality, getProjector, getScale
getMenuName
public AbstractSimpleProjection(Projector p, LinearScale[] scales)
p
- Projectorscales
- Scales to usepublic double[] projectScaledToRender(double[] v)
FullProjection
v
- vector in scaled spacepublic double[] projectRenderToScaled(double[] v)
FullProjection
v
- vector in rendering spacepublic double[] projectRelativeScaledToRender(double[] v)
FullProjection
v
- relative vector in scaled spacepublic double[] projectRelativeRenderToScaled(double[] v)
FullProjection
v
- relative vector in rendering spaceprotected double[] flipSecondEquals(double[] v)
v
- double[]protected abstract double[] rearrange(double[] v)
v
- double[] to rearrangeprotected abstract double[] dearrange(double[] v)
v
- double[] to undo the rearrangementCopyright © 2019 ELKI Development Team. License information.