igeo
Class ISurfaceDensityMap
java.lang.Object
igeo.IMap
igeo.ISurfaceDensityMap
public class ISurfaceDensityMap
- extends IMap
A subclass of IMap defined by accumulated curvature of a surface
- Author:
- Satoru Sugihara
Methods inherited from class igeo.IMap |
createImage, flipU, flipV, get, get, initDensityMapU, initDensityMapV, initDensityMapV, matchUDensityWithMap, matchUDensityWithMap, matchVDensityWithMap, matchVDensityWithMap, scaleDensityMapU, scaleDensityMapV |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
surface
public ISurfaceI surface
orig
public IVec orig
uvec
public IVec uvec
vvec
public IVec vvec
ISurfaceDensityMap
public ISurfaceDensityMap(ISurfaceI surf)
- Parameters:
surf
- surface should be rectangle
initMap
public void initMap()
initDensityMapU
public void initDensityMapU(int width,
int height)
- Overrides:
initDensityMapU
in class IMap
projectU
public double projectU(double u,
double v)
- Overrides:
projectU
in class IMap
- Parameters:
u
- range 0-1v
- range 0-1
projectV
public double projectV(double u,
double v)
- Overrides:
projectV
in class IMap
- Parameters:
u
- range 0-1v
- range 0-1
project
public IVec2 project(double u,
double v)
- Overrides:
project
in class IMap
- Parameters:
u
- range 0-1v
- range 0-1