public abstract class AbstractSimpleProjection extends AbstractProjection
scales
SCALE
Constructor and Description |
---|
AbstractSimpleProjection(LinearScale[] scales)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Vector |
dearrange(Vector v)
Undo the rearrangement of components
|
protected Vector |
flipSecondEquals(Vector v)
Flip the y axis.
|
Vector |
projectRelativeRenderToScaled(Vector v)
Project a relative vector from rendering space to scaled space.
|
Vector |
projectRelativeScaledToRender(Vector v)
Project a relative vector from scaled space to rendering space.
|
Vector |
projectRenderToScaled(Vector v)
Project a vector from rendering space to scaled space.
|
Vector |
projectScaledToRender(Vector v)
Project a vector from scaled space to rendering space.
|
protected abstract Vector |
rearrange(Vector v)
Method to rearrange components
|
getInputDimensionality, getLongName, getScale, getShortName, projectDataToRenderSpace, projectDataToRenderSpace, projectDataToScaledSpace, projectDataToScaledSpace, projectRelativeDataToRenderSpace, projectRelativeDataToRenderSpace, projectRelativeDataToScaledSpace, projectRelativeDataToScaledSpace, projectRelativeRenderToDataSpace, projectRelativeScaledToDataSpace, projectRenderToDataSpace, projectScaledToDataSpace
addChildResult, getHierarchy, setHierarchy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHierarchy, setHierarchy
public AbstractSimpleProjection(LinearScale[] scales)
scales
- Scales to usepublic Vector projectScaledToRender(Vector v)
Projection
v
- vector in scaled spacepublic Vector projectRenderToScaled(Vector v)
Projection
v
- vector in rendering spacepublic Vector projectRelativeScaledToRender(Vector v)
Projection
v
- relative vector in scaled spacepublic Vector projectRelativeRenderToScaled(Vector v)
Projection
v
- relative vector in rendering spaceprotected Vector flipSecondEquals(Vector v)
v
- Vectorprotected abstract Vector rearrange(Vector v)
v
- Vector to rearrange