|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectMorphSpecGlblRect
public class MorphSpecGlblRect
Implementat ion of interface for specifying per-agent information neccessary to perform formation morphing to morph to a rectangle with a "comb" topology. Rect width is specified at construction time. This specification is designed for the "move in global frame" algorithm.
| Constructor Summary | |
|---|---|
MorphSpecGlblRect()
defaults for the first demo |
|
MorphSpecGlblRect(int nRectWidth,
double lfSpacing)
|
|
| Method Summary | |
|---|---|
void |
dump(java.io.Writer writeTo)
Make this more then a stub later |
double[] |
getFinalUv(int nAgentId)
|
int |
getMaxDepth()
* Gets the maximum depth over all agents |
int |
getNumChildren(int nAgentId)
|
int |
getTopoDepth(int nAgentId)
|
int |
getTopoFirstVisit(int nAgentId)
|
int |
getTopoLastVisit(int nAgentId)
|
void |
load(java.io.Reader readFrom)
Make this more then a stub later |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MorphSpecGlblRect()
public MorphSpecGlblRect(int nRectWidth,
double lfSpacing)
| Method Detail |
|---|
public double[] getFinalUv(int nAgentId)
getFinalUv in interface IMorphSpecpublic int getNumChildren(int nAgentId)
getNumChildren in interface IMorphSpecpublic int getTopoLastVisit(int nAgentId)
getTopoLastVisit in interface IMorphSpecpublic int getTopoFirstVisit(int nAgentId)
getTopoFirstVisit in interface IMorphSpecpublic int getTopoDepth(int nAgentId)
getTopoDepth in interface IMorphSpecpublic int getMaxDepth()
IMorphSpec
getMaxDepth in interface IMorphSpecpublic void dump(java.io.Writer writeTo)
dump in interface IMorphSpecpublic void load(java.io.Reader readFrom)
load in interface IMorphSpec
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||