|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for matching coordinate systems between different vobscenes.
Method Summary | |
int |
add(int into,
int cs,
java.lang.Object key)
|
int |
add(int cs,
java.lang.Object key)
Add key to a cs, and return the cs. |
int |
getCS(int parent,
java.lang.Object key)
Return the index of the coordinate system that was added into the given parent with the given key. |
int |
getCS(java.lang.Object key)
Return the index of the coordinate system that was added with the given key. |
java.lang.Object |
getKey(int cs)
|
int |
getParent(int cs)
Get the matcher parent of the given coordinate system. |
int[] |
interpList(VobMatcher other,
boolean towardsOther)
Return, for each coordinate system of this matcher, an integer giving the coordinate system of the other matcher that system should move to. |
boolean |
isAncestor(int cs,
int ancestor)
Whether calling getParent(cs) recursively (at least one time!) would eventually return parent. |
Method Detail |
public int add(int cs, java.lang.Object key)
cs = vs.matcher.add(vs.coords.affineCoordsys(...), "Foo")
public int add(int into, int cs, java.lang.Object key)
public int getCS(java.lang.Object key)
public int getCS(int parent, java.lang.Object key)
public int getParent(int cs)
public boolean isAncestor(int cs, int ancestor)
public java.lang.Object getKey(int cs)
public int[] interpList(VobMatcher other, boolean towardsOther)
other
- The other vobmatcher; the interp list is constructed
between this and the other matcher.towardsOther
- Whether we are interpolating towards or away from the
`other` parameter. This has effect when key mappings are used,
but currently no official API is provided for setting them;DefaultVobMap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |