public abstract class AbstractSimpleProjection extends AbstractFullProjection
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
|
projectDataToRenderSpace, projectDataToRenderSpace, projectDataToScaledSpace, projectDataToScaledSpace, projectRelativeDataToRenderSpace, projectRelativeDataToRenderSpace, projectRelativeDataToScaledSpace, projectRelativeDataToScaledSpace, projectRelativeRenderToDataSpace, projectRelativeScaledToDataSpace, projectRenderToDataSpace, projectScaledToDataSpace
getInputDimensionality, getLongName, getScale, getShortName
addChildResult, getHierarchy, setHierarchy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputDimensionality, getScale
getHierarchy, setHierarchy
getLongName, getShortName
public AbstractSimpleProjection(LinearScale[] scales)
scales
- Scales to usepublic Vector projectScaledToRender(Vector v)
FullProjection
v
- vector in scaled spacepublic Vector projectRenderToScaled(Vector v)
FullProjection
v
- vector in rendering spacepublic Vector projectRelativeScaledToRender(Vector v)
FullProjection
v
- relative vector in scaled spacepublic Vector projectRelativeRenderToScaled(Vector v)
FullProjection
v
- relative vector in rendering spaceprotected Vector flipSecondEquals(Vector v)
v
- Vectorprotected abstract Vector rearrange(Vector v)
v
- Vector to rearrange