Class OctTransform
Class OctTransform
java.lang.Object
|
+----PersistentObject
|
+----OctObject
|
+----OctTransform
- public class OctTransform
- extends OctObject
Declaration for OctTransform object
Static Variables
// values that transformType can/should take
public static final int NO_TRANSFORM = 0;
public static final int MIRROR_X = 1;
public static final int MIRROR_Y = 2;
public static final int ROT90 = 3;
public static final int ROT180 = 4;
public static final int ROT270 = 5;
public static final int MX_ROT90 = 6;
public static final int MY_ROT90 = 7;
public static final int FULL_TRANSFORM = 8;
Other Variables
-
className
-
-
generalTransform
- 2D array indicating transformation
-
octFields
-
-
transformType
- TransformType
-
translation
- Point of Translation
-
OctTransform(OctCell)
-
Constructor of an OctTransform (for loading from data back-end server)
-
OctTransform(OctCell, OctPoint, int, double[][])
-
Constructor of an OctTransform (for dynamic creation)
-
GetObjFields()
- Filled if any of the fields are objects
-
Load(int)
-
Loads the fields of an OctBag from data back-end
-
Load(String)
- Should not be called
-
SetObjFields()
-
Performs the neccessary overhead to allow this object to be
manipulated over the network
className
public final static String className
octFields
public final static int octFields
translation
public OctPoint translation
- Point of Translation
transformType
public int transformType
- TransformType
generalTransform
public double generalTransform[][]
- 2D array indicating transformation
OctTransform
public OctTransform(OctCell octCell,
OctPoint translation,
int transformType,
double generalTransform[][])
- Constructor of an OctTransform (for dynamic creation)
- Parameters:
- octCell - The OctCell that the object resides in
- translation - Point of translation
- transformType - Takes on values of octTransformType
- generalTransform - 2d array indicating transformation
OctTransform
public OctTransform(OctCell octCell)
- Constructor of an OctTransform (for loading from data back-end server)
- Parameters:
- octCell - The OctCell that the object resides in
SetObjFields
protected void SetObjFields()
- Performs the neccessary overhead to allow this object to be
manipulated over the network
- Overrides:
- SetObjFields in class PersistentObject
Load
public boolean Load(int intId)
- Loads the fields of an OctBag from data back-end
- Parameters:
- intId - The integer (unique) Id for the object
- Overrides:
- Load in class PersistentObject
Load
public boolean Load(String strId)
- Should not be called
- Overrides:
- Load in class PersistentObject
GetObjFields
protected int GetObjFields()
- Filled if any of the fields are objects
- Overrides:
- GetObjFields in class PersistentObject