|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.geom.hanim.HAnimObject org.j3d.geom.hanim.HAnimDisplacer
public class HAnimDisplacer
Representation of a H-Anim Displacer object.
The joint object is defined by 6.5 Displacer.
Internationalisation Resource Names
Field Summary |
---|
Fields inherited from class org.j3d.geom.hanim.HAnimObject |
---|
errorReporter, name |
Constructor Summary | |
---|---|
HAnimDisplacer()
Construct a default instance of the displacer. |
Method Summary | |
---|---|
void |
getCoordIndex(float[] val)
Get the current value of the skinCoordIndex. |
void |
getDisplacements(float[] val)
Get the current value of the skinDisplacements. |
float |
getWeight()
Get the current value of the weight to be applied to the displacements. |
int |
numCoordIndex()
Get the number of elements in the skinCoordIndex field, and by association skinCoordWeight (if any weights have been set). |
int |
numDisplacements()
Get the number of elements in the skinDisplacements field, and by association skinCoordWeight (if any weights have been set). |
void |
setCoordIndex(int[] val,
int numValid)
Set a new value for the skinCoordIndex of this joint. |
void |
setDisplacements(float[] val,
int numValid)
Set a new value for the skinDisplacements of this joint. |
void |
setWeight(float val)
Set a new value for the weight for the displacements. |
Methods inherited from class org.j3d.geom.hanim.HAnimObject |
---|
getName, setErrorReporter, setName, updateMatrix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HAnimDisplacer()
Method Detail |
---|
public float getWeight()
public void setWeight(float val)
val
- The new weight value to usepublic int numDisplacements()
public void getDisplacements(float[] val)
val
- An array of at least length of numCoord() to copy
the values topublic void setDisplacements(float[] val, int numValid)
val
- The new skinDisplacements value to usenumValid
- The number of valid values to read from the index list
java.lang.IllegalArgumentException
- The array is null or not long enough.public int numCoordIndex()
public void getCoordIndex(float[] val)
val
- An array of at least length of numCoord() to copy
the values topublic void setCoordIndex(int[] val, int numValid)
val
- The new skinCoordIndex value to usenumValid
- The number of valid values to read from the index list
java.lang.IllegalArgumentException
- The array is null or not long enough.
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |