|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult de.lmu.ifi.dbs.elki.visualization.projections.AbstractProjection
public abstract class AbstractProjection
Abstract base projection class.
Field Summary | |
---|---|
protected LinearScale[] |
scales
Scales in data set |
Fields inherited from interface de.lmu.ifi.dbs.elki.visualization.projections.Projection |
---|
SCALE |
Constructor Summary | |
---|---|
AbstractProjection(LinearScale[] scales)
Constructor. |
Method Summary | ||
---|---|---|
int |
getInputDimensionality()
Get the input dimensionality of the projection. |
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. |
|
LinearScale |
getScale(int d)
Get the scales used, for rendering scales mostly. |
|
String |
getShortName()
A short name for the result, useful for file names. |
|
Vector |
projectDataToRenderSpace(NumberVector<?,?> data)
Project a data vector from data space to rendering space. |
|
Vector |
projectDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space. |
|
Vector |
projectDataToScaledSpace(NumberVector<?,?> data)
Project a data vector from data space to scaled space. |
|
Vector |
projectDataToScaledSpace(Vector data)
Project a data vector from data space to scaled space. |
|
Vector |
projectRelativeDataToRenderSpace(NumberVector<?,?> data)
Project a relative data vector from data space to rendering space. |
|
Vector |
projectRelativeDataToRenderSpace(Vector data)
Project a relative data vector from data space to rendering space. |
|
Vector |
projectRelativeDataToScaledSpace(NumberVector<?,?> data)
Project a relative data vector from data space to scaled space. |
|
Vector |
projectRelativeDataToScaledSpace(Vector data)
Project a relative data vector from data space to scaled space. |
|
|
projectRelativeRenderToDataSpace(Vector v,
NV prototype)
Project a relative vector from rendering space to data space. |
|
|
projectRelativeScaledToDataSpace(Vector v,
NV prototype)
Project a relative vector from scaled space to data space. |
|
|
projectRenderToDataSpace(Vector v,
NV prototype)
Project a vector from rendering space to data space. |
|
|
projectScaledToDataSpace(Vector v,
NV factory)
Project a vector from scaled space to data space. |
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult |
---|
addChildResult, getHierarchy, setHierarchy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.visualization.projections.Projection |
---|
projectRelativeRenderToScaled, projectRelativeScaledToRender, projectRenderToScaled, projectScaledToRender |
Methods inherited from interface de.lmu.ifi.dbs.elki.result.HierarchicalResult |
---|
getHierarchy, setHierarchy |
Field Detail |
---|
protected final LinearScale[] scales
Constructor Detail |
---|
public AbstractProjection(LinearScale[] scales)
scales
- Scales to useMethod Detail |
---|
public int getInputDimensionality()
Projection
getInputDimensionality
in interface Projection
public LinearScale getScale(int d)
getScale
in interface Projection
d
- Dimension
public Vector projectDataToScaledSpace(NumberVector<?,?> data)
projectDataToScaledSpace
in interface Projection
data
- vector in data space
public Vector projectDataToScaledSpace(Vector data)
projectDataToScaledSpace
in interface Projection
data
- vector in data space
public Vector projectRelativeDataToScaledSpace(NumberVector<?,?> data)
projectRelativeDataToScaledSpace
in interface Projection
data
- relative vector in data space
public Vector projectRelativeDataToScaledSpace(Vector data)
projectRelativeDataToScaledSpace
in interface Projection
data
- relative vector in data space
public Vector projectDataToRenderSpace(NumberVector<?,?> data)
projectDataToRenderSpace
in interface Projection
data
- vector in data space
public Vector projectDataToRenderSpace(Vector data)
projectDataToRenderSpace
in interface Projection
data
- vector in data space
public Vector projectRelativeDataToRenderSpace(NumberVector<?,?> data)
projectRelativeDataToRenderSpace
in interface Projection
data
- relative vector in data space
public Vector projectRelativeDataToRenderSpace(Vector data)
projectRelativeDataToRenderSpace
in interface Projection
data
- relative vector in data space
public <NV extends NumberVector<NV,?>> NV projectScaledToDataSpace(Vector v, NV factory)
projectScaledToDataSpace
in interface Projection
NV
- Vector typev
- vector in scaled spacefactory
- Object factory
public <NV extends NumberVector<NV,?>> NV projectRenderToDataSpace(Vector v, NV prototype)
projectRenderToDataSpace
in interface Projection
NV
- Vector typev
- vector in rendering spaceprototype
- Object factory
public <NV extends NumberVector<NV,?>> NV projectRelativeScaledToDataSpace(Vector v, NV prototype)
projectRelativeScaledToDataSpace
in interface Projection
NV
- Vector typev
- relative vector in scaled spaceprototype
- Object factory
public <NV extends NumberVector<NV,?>> NV projectRelativeRenderToDataSpace(Vector v, NV prototype)
projectRelativeRenderToDataSpace
in interface Projection
NV
- Vector typev
- relative vector in rendering spaceprototype
- Object factory
public String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |