2 |
26 Feb 07 |
jari |
1 |
/* |
2 |
26 Feb 07 |
jari |
Copyright @ 1999-2003, The Institute for Genomic Research (TIGR). |
2 |
26 Feb 07 |
jari |
All rights reserved. |
2 |
26 Feb 07 |
jari |
4 |
*/ |
2 |
26 Feb 07 |
jari |
5 |
/* |
2 |
26 Feb 07 |
jari |
* $RCSfile: InterfaceToObjects.java,v $ |
2 |
26 Feb 07 |
jari |
* $Revision: 1.4 $ |
2 |
26 Feb 07 |
jari |
* $Date: 2006/02/23 20:59:46 $ |
2 |
26 Feb 07 |
jari |
* $Author: caliente $ |
2 |
26 Feb 07 |
jari |
* $State: Exp $ |
2 |
26 Feb 07 |
jari |
11 |
*/ |
2 |
26 Feb 07 |
jari |
12 |
package org.tigr.microarray.mev.cluster.algorithm.impl.terrain; |
2 |
26 Feb 07 |
jari |
13 |
|
2 |
26 Feb 07 |
jari |
14 |
import javax.vecmath.Vector2f; |
2 |
26 Feb 07 |
jari |
15 |
|
2 |
26 Feb 07 |
jari |
16 |
import org.tigr.microarray.mev.cluster.algorithm.impl.util.FloatArray; |
2 |
26 Feb 07 |
jari |
17 |
import org.tigr.microarray.mev.cluster.algorithm.impl.util.IntArray; |
2 |
26 Feb 07 |
jari |
18 |
|
2 |
26 Feb 07 |
jari |
// pure virtual interface to work with real objects in subject area |
2 |
26 Feb 07 |
jari |
// it is not nescessary for this interface to work fast because all |
2 |
26 Feb 07 |
jari |
// data should be cached in appropriate place |
2 |
26 Feb 07 |
jari |
22 |
public interface InterfaceToObjects { |
2 |
26 Feb 07 |
jari |
// Data retrieval methods used for caching the objects in FDGLA |
2 |
26 Feb 07 |
jari |
24 |
|
2 |
26 Feb 07 |
jari |
// returns the array of Object Identificators(ID) |
2 |
26 Feb 07 |
jari |
26 |
int[] GetAllObjectsIds(); |
2 |
26 Feb 07 |
jari |
// returns the metrix(x and y coords) for every object with iObjID identity |
2 |
26 Feb 07 |
jari |
28 |
void GetObjectGeom(int iObjID, Vector2f rRet); |
2 |
26 Feb 07 |
jari |
29 |
int GetAdjCountFor(int iObjId); |
2 |
26 Feb 07 |
jari |
30 |
void GetAdjInfoFor(int iObjId, IntArray rArrAdjIds, FloatArray rArrAdjVals); |
2 |
26 Feb 07 |
jari |
// Uses to return data back to the 'storage' |
2 |
26 Feb 07 |
jari |
32 |
void SetObjectGeom(Vector2f[] rRet); |
2 |
26 Feb 07 |
jari |
33 |
} |