public class JAnimgen
extends java.lang.Object
animgen
, depends on the underlying
jaglib
JNI interface to animgen
.
2009-10 The old non-streamed mode is no longer supported.
2007-08 A new streamed variant with a thread supported by a StreamedSiGMLSupplierForAnimationGen which it calls repeatedly to obtain each sign to be animated and to give notice when the animation frames have been generated for each sign.
Modifier and Type | Class and Description |
---|---|
static class |
JAnimgen.JAGException
JAnimgen exception class.
|
Modifier and Type | Field and Description |
---|---|
static int |
AG_OK_STATUS
animgen status value: NO ERRORS
|
static int |
AG_SIGML_WARNING
animgen status value: SIGML WARNING(S)
|
static int |
AGS_FINAL_FAIL
Animgen completion status value: failure on completion.
|
static int |
AGS_INIT_FAIL
Animgen completion status value: failure at initialization.
|
static int |
AGS_OK
Animgen completion status value: OK.
|
static int |
AGS_SIGML_QUERY
Animgen completion status value: OK, but SiGML warnings.
|
static int |
AGS_STATUS_FAIL
Animgen completion status value: failure at initialization.
|
static int |
AGS_TBD
Animgen completion status value: Yet to be determined.
|
static int |
FBIX_BONE_COUNT
Frame data-buffer index: bone count.
|
static int |
FBIX_DATA
Frame data-buffer index: bone/morph data start.
|
static int |
FBIX_DURATION
Frame data-buffer index: frame duration.
|
static int |
FBIX_MORPH_COUNT
Frame data-buffer index: morph count.
|
static int |
JAG_DONE
JAG object state value for the "done" state.
|
static int |
JAG_GENERATING
JAG object state value for the "generating" state.
|
static int |
JAG_PRIMORDIAL
JAG object state value for the "primordial" state.
|
static int |
JAG_READY
JAG object state value for the "ready" state.
|
static int |
JAG_SETTING_UP
JAG object state value for the "setting-up" state.
|
static int |
JAG_TERMINATED
JAG object state value for the "terminated" state.
|
static int |
MAX_JAG_INSTANCES
Upper limit on the permitted number of concurrent JAnimgen instances.
|
static int |
TRSET_SIZE
TR-set data array size (translation + rotation).
|
Constructor and Description |
---|
JAnimgen(JAOptions JA_OPTS,
JAnimgenConfigData CFG_DATA,
StreamedSiGMLSupplierForAnimationGen SIGML_SUPPLIER) |
JAnimgen(JAOptions JA_OPTS,
JAnimgenConfigData CFG_DATA,
StreamedSiGMLSupplierForAnimationGen SIGML_SUPPLIER,
boolean MULTI_SIGN)
Constructs a new streamed Java animgen wrapper with the given
configuration data, and runs an animgen thread using the given
signs stream supplier as its input source.
|
Modifier and Type | Method and Description |
---|---|
static void |
init()
Initialises
JAnimgen : the sole purpose of this is to force
execution of the static intialiser, which loads the native
jaglib . |
public static final int AG_OK_STATUS
public static final int AG_SIGML_WARNING
public static final int JAG_PRIMORDIAL
public static final int JAG_SETTING_UP
public static final int JAG_READY
public static final int JAG_GENERATING
public static final int JAG_DONE
public static final int JAG_TERMINATED
public static final int AGS_TBD
public static final int AGS_OK
public static final int AGS_SIGML_QUERY
public static final int AGS_INIT_FAIL
public static final int AGS_STATUS_FAIL
public static final int AGS_FINAL_FAIL
public static final int FBIX_DURATION
public static final int FBIX_BONE_COUNT
public static final int FBIX_MORPH_COUNT
public static final int FBIX_DATA
public static final int TRSET_SIZE
public static final int MAX_JAG_INSTANCES
public JAnimgen(JAOptions JA_OPTS, JAnimgenConfigData CFG_DATA, StreamedSiGMLSupplierForAnimationGen SIGML_SUPPLIER)
public JAnimgen(JAOptions JA_OPTS, JAnimgenConfigData CFG_DATA, StreamedSiGMLSupplierForAnimationGen SIGML_SUPPLIER, boolean MULTI_SIGN)