|
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
public abstract class HAnimObject
Common object functionality for all objects that implement the H-Anim spec.
Field Summary | |
---|---|
protected ErrorReporter |
errorReporter
Local reporter to put errors in |
protected java.lang.String |
name
The name of the object |
Constructor Summary | |
---|---|
protected |
HAnimObject()
Initialize a new instance of the HAnimObject. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the currently set name associated with this object. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the object so that any errors generated by the object can be reported in a nice, pretty fashion. |
void |
setName(java.lang.String n)
Set the new name to associate with this object. |
protected static void |
updateMatrix(float[] center,
float[] rotation,
float[] scale,
float[] scaleOrientation,
float[] translation,
javax.vecmath.Matrix4f output)
Calculate transforms needed to handle VRML semantics and place the results in the matrix variable of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected ErrorReporter errorReporter
Constructor Detail |
---|
protected HAnimObject()
Method Detail |
---|
public void setErrorReporter(ErrorReporter reporter)
reporter
- The instance to use or nullpublic void setName(java.lang.String n)
n
- The new name value to setpublic java.lang.String getName()
protected static void updateMatrix(float[] center, float[] rotation, float[] scale, float[] scaleOrientation, float[] translation, javax.vecmath.Matrix4f output)
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |