de.lmu.ifi.dbs.elki.visualization.projections
Interface Projection

All Superinterfaces:
HierarchicalResult, Result
All Known Subinterfaces:
Projection1D, Projection2D
All Known Implementing Classes:
AbstractProjection, AbstractSimpleProjection, AffineProjection, Simple1D, Simple2D

public interface Projection
extends HierarchicalResult

Base interface used for projections in the ELKI visualizers. There are specialized interfaces for 1D and 2D that only compute the projections in the required dimensions!


Field Summary
static double SCALE
          Scaling constant.
 
Method Summary
 int getInputDimensionality()
          Get the input dimensionality of the projection.
 LinearScale getScale(int d)
          Get the scale class for a particular dimension.
 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.
<NV extends NumberVector<NV,?>>
NV
projectRelativeRenderToDataSpace(Vector v, NV prototype)
          Project a relative vector from rendering space to data space.
 Vector projectRelativeRenderToScaled(Vector v)
          Project a relative vector from rendering space to scaled space.
<NV extends NumberVector<NV,?>>
NV
projectRelativeScaledToDataSpace(Vector v, NV prototype)
          Project a relative vector from scaled space to data space.
 Vector projectRelativeScaledToRender(Vector v)
          Project a relative vector from scaled space to rendering space.
<NV extends NumberVector<NV,?>>
NV
projectRenderToDataSpace(Vector v, NV prototype)
          Project a vector from rendering space to data space.
 Vector projectRenderToScaled(Vector v)
          Project a vector from rendering space to scaled space.
<NV extends NumberVector<NV,?>>
NV
projectScaledToDataSpace(Vector v, NV factory)
          Project a vector from scaled space to data space.
 Vector projectScaledToRender(Vector v)
          Project a vector from scaled space to rendering space.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.HierarchicalResult
getHierarchy, setHierarchy
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.Result
getLongName, getShortName
 

Field Detail

SCALE

static final double SCALE
Scaling constant. Keep in sync with StyleLibrary.SCALE.

See Also:
Constant Field Values
Method Detail

getInputDimensionality

int getInputDimensionality()
Get the input dimensionality of the projection.

Returns:
Input dimensionality

getScale

LinearScale getScale(int d)
Get the scale class for a particular dimension.

Parameters:
d - Dimension
Returns:
Scale class

projectScaledToRender

Vector projectScaledToRender(Vector v)
Project a vector from scaled space to rendering space.

Parameters:
v - vector in scaled space
Returns:
vector in rendering space

projectRenderToScaled

Vector projectRenderToScaled(Vector v)
Project a vector from rendering space to scaled space.

Parameters:
v - vector in rendering space
Returns:
vector in scaled space

projectRelativeScaledToRender

Vector projectRelativeScaledToRender(Vector v)
Project a relative vector from scaled space to rendering space.

Parameters:
v - relative vector in scaled space
Returns:
relative vector in rendering space

projectRelativeRenderToScaled

Vector projectRelativeRenderToScaled(Vector v)
Project a relative vector from rendering space to scaled space.

Parameters:
v - relative vector in rendering space
Returns:
relative vector in scaled space

projectDataToScaledSpace

Vector projectDataToScaledSpace(NumberVector<?,?> data)
Project a data vector from data space to scaled space.

Parameters:
data - vector in data space
Returns:
vector in scaled space

projectDataToScaledSpace

Vector projectDataToScaledSpace(Vector data)
Project a data vector from data space to scaled space.

Parameters:
data - vector in data space
Returns:
vector in scaled space

projectRelativeDataToScaledSpace

Vector projectRelativeDataToScaledSpace(NumberVector<?,?> data)
Project a relative data vector from data space to scaled space.

Parameters:
data - relative vector in data space
Returns:
relative vector in scaled space

projectRelativeDataToScaledSpace

Vector projectRelativeDataToScaledSpace(Vector data)
Project a relative data vector from data space to scaled space.

Parameters:
data - relative vector in data space
Returns:
relative vector in scaled space

projectDataToRenderSpace

Vector projectDataToRenderSpace(NumberVector<?,?> data)
Project a data vector from data space to rendering space.

Parameters:
data - vector in data space
Returns:
vector in rendering space

projectDataToRenderSpace

Vector projectDataToRenderSpace(Vector data)
Project a data vector from data space to rendering space.

Parameters:
data - vector in data space
Returns:
vector in rendering space

projectScaledToDataSpace

<NV extends NumberVector<NV,?>> NV projectScaledToDataSpace(Vector v,
                                                            NV factory)
Project a vector from scaled space to data space.

Type Parameters:
NV - Vector type
Parameters:
v - vector in scaled space
factory - Object factory
Returns:
vector in data space

projectRenderToDataSpace

<NV extends NumberVector<NV,?>> NV projectRenderToDataSpace(Vector v,
                                                            NV prototype)
Project a vector from rendering space to data space.

Type Parameters:
NV - Vector type
Parameters:
v - vector in rendering space
prototype - Object factory
Returns:
vector in data space

projectRelativeDataToRenderSpace

Vector projectRelativeDataToRenderSpace(NumberVector<?,?> data)
Project a relative data vector from data space to rendering space.

Parameters:
data - relative vector in data space
Returns:
relative vector in rendering space

projectRelativeDataToRenderSpace

Vector projectRelativeDataToRenderSpace(Vector data)
Project a relative data vector from data space to rendering space.

Parameters:
data - relative vector in data space
Returns:
relative vector in rendering space

projectRelativeScaledToDataSpace

<NV extends NumberVector<NV,?>> NV projectRelativeScaledToDataSpace(Vector v,
                                                                    NV prototype)
Project a relative vector from scaled space to data space.

Type Parameters:
NV - Vector type
Parameters:
v - relative vector in scaled space
prototype - Object factory
Returns:
relative vector in data space

projectRelativeRenderToDataSpace

<NV extends NumberVector<NV,?>> NV projectRelativeRenderToDataSpace(Vector v,
                                                                    NV prototype)
Project a relative vector from rendering space to data space.

Type Parameters:
NV - Vector type
Parameters:
v - relative vector in rendering space
prototype - Object factory
Returns:
relative vector in data space

Release 0.4.0 (2011-09-20_1324)